View previous topic :: View next topic |
Author |
Message |
oslinux Tux's lil' helper
Joined: 13 Dec 2006 Posts: 97
|
Posted: Thu Apr 21, 2011 12:40 pm Post subject: Tomcat failing to start |
|
|
Hi,
Recently i updated a server (Gentoo Hardened profile) and I recompiled world just to be sure. Now when i try to start tomcat it returns this in catalina.out:
Code: | 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:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
Could not find the main class: org.apache.catalina.startup.Bootstrap. Program will exit. |
I tried reinstalling tomcat and changing the system-vm but nothing works.
Could you help me?
Thank you,
Luca
EDIT: I'm now using OpenRC |
|
Back to top |
|
|
oslinux Tux's lil' helper
Joined: 13 Dec 2006 Posts: 97
|
Posted: Thu Apr 21, 2011 3:08 pm Post subject: |
|
|
Manually running tomcat using /usr/share/tomcat-6/bin/startup.sh works, so i think that there is a problem with openrc... |
|
Back to top |
|
|
|