Prev Previous Post   Next Post Next
  #1  
Old 21st October 2008, 02: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
 

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
postfix problems with smtp linkdeb Server Operation 13 15th March 2014 18:58
sending e-mail using mail() function linuxuser1 HOWTO-Related Questions 38 21st April 2009 13:20
Virtual users... Ubuntu 8.04 spaceuser HOWTO-Related Questions 12 19th June 2008 09:04
Problem Installing Tomcat ART_MEX Installation/Configuration 3 13th April 2006 00:02
Apache and Tomcat problem! Urgent maroonworks Server Operation 3 24th February 2006 16:14


All times are GMT +2. The time now is 18:41.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.