• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Cannot Run Apache-tomcat 6 on Centos 5.4

 
Ahmad 'Izzuddin
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

Please help me, i dont know what to do..this is what i get from /logs/catalina.out

Could not find the main class: org.apache.catalina.startup.Bootstrap. Program will exit.
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.

Please help me.

Thanks
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18100
51
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My Beta test server is using exactly that setup and has been for some time with no problems.

My suspicion is that you may not have installed the Sun JDK. Don't attempt to run Tomcat using the vendor-supplied java implementation and don't set JAVA_HOME to a JRE. It must point to a JDK installation.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic