Tomcat Install problem on hardy server runnning Xubuntu

Bug #261290 reported by Stephen Taylor
2
Affects Status Importance Assigned to Milestone
tomcat5.5 (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

I am running Hardy server, with xfc4 wm. I installed java-6-sun, apache2, and tomcat5.5 using synaptic.
Used firestarted to allow traffic on 8180; everything worked fine with java-6-sun...06, then I upgraded to 07 and everything fell apart.

The installed system runs apache fine, but trying to get to tomcat (localhost:8180) gives:

Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/catalina/startup/Bootstrap
Caused by: java.lang.ClassNotFoundException: org.apache.catalina.startup.Bootstrap
 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 sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
 at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)

in catalina.log.

CATALINA_HOME and JAVA_HOME look good and are exported in both my bashrc and profile:

export CATALINA_HOME="/usr/share/tomcat5.5"
export JAVA_HOME="/usr/lib/jvm/java-6-sun"

I noticed that the install instructions for Tomcast on the home site ask you to extract jsvc from the tomcat/bin directory. However, jsvc seems to be installed already through synaptic but the tar.gz is not located in the tomcat bin directory. I also noticed that the demon startup file looks good... uses "Bootstrap" and not BootstrapService as in 4.1.

I tried shutting down and restarting tomcat, installing/reinstalling apache and tomcat, following the directions in several online bug reports.

I'm out of ideas... anyone who can help?

Revision history for this message
Stephen Taylor (stephen-taylor-comcast) wrote :

This got fixed.

I removed apache from the system, updated to the latest version of both tomcat and java. Then the problem dissapeared.

Revision history for this message
Thierry Carrez (ttx) wrote :

Closing the bug, then. Thanks !

Changed in tomcat5.5:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.