[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Experimental Tomcat 4.0.2 package



Stefan Gybas wrote:

I'm just trying to figure out why Tomcat does not work with a security manager on JDK 1.3 but works fine on JDK 1.4. Has anyone experience with
> this?

I found the problem: It seems that JDK 1.3 does follow symlinks while
JDK 1.4 does not. The JARs are all in /usr/share/java/ with symlinks from
/usr/share/tomcat4/{server,common}/lib/ (in the class path). You have to add
this to catalina.policy so the XML parser (from /usr/share/java/xerces.jar)
can read server.xml on JDK 1.3:

grant codeBase "file:/usr/share/java/-" {
         permission java.security.AllPermission;
};

--
Stefan Gybas



Reply to: