Thread: Tomcat problem
View Single Post
  #1  
Old 21st October 2008, 01:38
dexjul dexjul is offline
Member
 
Join Date: May 2007
Posts: 53
Thanks: 0
Thanked 3 Times in 2 Posts
Default Tomcat problem

Hi,

I installed apache-tomcat-6.0.14-src and jdk1.6.0_10.

I'll run tomcat

[root@dexter bin]# ./startup.sh
Using CATALINA_BASE: /usr/local/tomcat/apache-tomcat-6.0.14-src
Using CATALINA_HOME: /usr/local/tomcat/apache-tomcat-6.0.14-src
Using CATALINA_TMPDIR: /usr/local/tomcat/apache-tomcat-6.0.14-src/temp
Using JRE_HOME: /usr/java/jdk1.6.0_10/

And I go to my browser http://localhost:8080, error failed to connect.

And I stop tomcat and I get this messages.

[root@dexter bin]# ./shutdown.sh
Using CATALINA_BASE: /usr/local/tomcat/apache-tomcat-6.0.14-src
Using CATALINA_HOME: /usr/local/tomcat/apache-tomcat-6.0.14-src
Using CATALINA_TMPDIR: /usr/local/tomcat/apache-tomcat-6.0.14-src/temp
Using JRE_HOME: /usr/java/jdk1.6.0_10/
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.j ava:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:3 07)
at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:2 52)
at java.lang.ClassLoader.loadClassInternal(ClassLoade r.java:320)
Could not find the main class: org.apache.catalina.startup.Bootstrap. Program will exit.

Any Idea?

Thanks
Reply With Quote
Sponsored Links