This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Error installing Tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Error installing Tomcat" Watch "Error installing Tomcat" New topic
Author

Error installing Tomcat

Manju Devarla
Ranch Hand

Joined: Dec 14, 2006
Posts: 85
Hi,

I am hetting the following error while starting up the server..
Can anyone resolve this..

D:\apache-tomcat-5.5.20-src\container\catalina\src\bin>startup
Using CATALINA_BASE: D:\apache-tomcat-5.5.20-src\container\catalina\src
Using CATALINA_HOME: D:\apache-tomcat-5.5.20-src\container\catalina\src
Using CATALINA_TMPDIR: D:\apache-tomcat-5.5.20-src\container\catalina\src\temp
Using JRE_HOME: C:\Program Files\Java\jdk1.5.0_05
D:\apache-tomcat-5.5.20-src\container\catalina\src\bin>startup > 1.txt
D:\apache-tomcat-5.5.20-src\container\catalina\src\bin>catalina run
Using CATALINA_BASE: D:\apache-tomcat-5.5.20-src\container\catalina\src
Using CATALINA_HOME: D:\apache-tomcat-5.5.20-src\container\catalina\src
Using CATALINA_TMPDIR: D:\apache-tomcat-5.5.20-src\container\catalina\src\temp
Using JRE_HOME: C:\Program Files\Java\jdk1.5.0_05

Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/catalina/s
tartup/Bootstrap

Thanks
Tha�s Manfrim Firmino
Ranch Hand

Joined: Apr 12, 2004
Posts: 48
You shoudn't have this kind of problem. It seems there are files missing in the installation directory. Check if you have the file <tomcatInstallation>/bin/bootstrap.jar, because it seems it's not there or is corrupted.
Another option is downloading tomcat again.


Tha�s M. K. M. Firmino
dennis du
Ranch Hand

Joined: Dec 31, 2004
Posts: 59
Your error show me that your installed version is source version.

It is not compiled yet. Maybe you should complile it at first.

Or otherwise, you should download a binary version to run it.

Hope it will work.
Thanks!


-------------------------------<br />OCP 9i <br />SCJP/SCJD/SCWCD(92%)/SCDJWS<br />XML(IBM Test 141)<br />Who is the next?SCBCD<br />SCBCD/CCNA/CCNP/PMP<br />not sure
Manju Devarla
Ranch Hand

Joined: Dec 14, 2006
Posts: 85
Thanks guys..

downloaded binary version.. working fine..
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Error installing Tomcat
 
Similar Threads
tomcat error Exception in thread "main" java.lang.NoClassDefFoundError: Files\apache
Debugging tomcat from Eclipse
error encountered in tomcat startup
browser not responding even tomcat started and restarted
Failing to start