Bug 35894 - Tomcat does not start with security enabled
Tomcat does not start with security enabled
Status: RESOLVED FIXED
Product: Tomcat 5
Classification: Unclassified
Component: Catalina
5.0.10
Other Linux
: P2 blocker (vote)
: ---
Assigned To: Tomcat Developers Mailing List
:
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2005-07-27 14:12 UTC by Thorsten Kamann
Modified: 2005-08-04 00:08 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thorsten Kamann 2005-07-27 14:12:55 UTC
I've downloaded the current release 5.5.10 alpha and extracts the archive. Now
I've tried to start with security enabled:
 ./catalina.sh run -security

Now I'm getting the following messages:

Using CATALINA_BASE:   /opt/dev-tools/tomcat/5.5.10/jakarta-tomcat-5.5.10
Using CATALINA_HOME:   /opt/dev-tools/tomcat/5.5.10/jakarta-tomcat-5.5.10
Using CATALINA_TMPDIR: /opt/dev-tools/tomcat/5.5.10/jakarta-tomcat-5.5.10/temp
Using JRE_HOME:       /usr/lib/jvm/java/jre
Using Security Manager
java.lang.ClassNotFoundException: org.apache.jk.server.JkCoyoteHandler$1
        at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
        at
org.apache.catalina.security.SecurityClassLoad.loadJkPackage(SecurityClassLoad.java:204)
        at
org.apache.catalina.security.SecurityClassLoad.securityClassLoad(SecurityClassLoad.java:46)
        at org.apache.catalina.startup.Bootstrap.init(Bootstrap.java:193)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:386)

Without security all works fine.

Thorsten
Comment 1 william.barker 2005-08-04 08:08:36 UTC
This is fixed now in the CVS and will appear in 5.5.11.