File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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..
 
 
subject: Error installing Tomcat
 
Similar Threads
browser not responding even tomcat started and restarted
Debugging tomcat from Eclipse
error encountered in tomcat startup
Failing to start
tomcat error Exception in thread "main" java.lang.NoClassDefFoundError: Files\apache