https://issues.apache.org/bugzilla/show_bug.cgi?id=49857
Summary: the bootstrap.jar's manifest.mf file need
tomcat-juli.jar item for command line start
Product: Tomcat 7
Version: unspecified
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: critical
Priority: P2
Component: Servlet & JSP API
AssignedTo: [email protected]
ReportedBy: [email protected]
there is no tomcat-juli.jar item in the class-path line of the manifest.mf file
of bootstrap.jar file. and i can not start the tomcat with command line
java -jar bootstrap.jar -cp ./tomcat-juli.jar
and has the error like below:
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/juli/loggi
ng/LogFactory
at org.apache.catalina.startup.Bootstrap.<clinit>(Bootstrap.java:55)
Caused by: java.lang.ClassNotFoundException: org.apache.juli.logging.LogFactory
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 1 more
Could not find the main class: org.apache.catalina.startup.Bootstrap. Program
wi
ll exit.
I report this error and want to know why cann't it start while I give the -cp
argument.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]