|
|
JServ and JDK1.2 (Java Plattform 2) Configuration Issues |
|
If you want to deploy JServ running under jdk 1.2 (Java Platform 2) you might encounter some troubles with the fact that security is handled far different from the 1.1 versions. Without an edited java.policy file you might encounter major deadlocks on calling a servlet. This has obviously following reasons:
Here is a list of things you should consider in case you
want to run JServ on jdk1.2:
Following will guide you doing this:
grant codeBase "file:/path/to/ApacheJServ.jar" { //will grant this rights only to JServ
//FileRead Permissions to class files that should be loaded via
//the the JServ class loader.
//(e.g: anything you refered to in any zones repository property).
//Note:
//The $quot;/-" means that the permission is granted recursive
//for anything in the named directory.
permission java.io.FilePermission "/path/to/classes/or/jars/-", "read";
//FileRead Permissions to
If you add something similar to your systems or users java.policy file
the problems should be resolved (more or less secure).
A note on how to find the system policy file:
I hope that helps to get started, any further permission problems
should be resolvable with the help of the jdk1.2.* (Java Platform 2) guide.
wimpiAToehwwwDOTunileobenDOTacDOTat | |
| [Append to This Answer] |
| Previous: |
|
| Next: |
|
| ||||||||||