File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes Tomcat won't start up! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat won Watch "Tomcat won New topic

Tomcat won't start up!

Rick Warren

Joined: Jun 07, 2003
Posts: 4
I just installed tomcat-4.1.24 and have set CATALINA_HOME and JAVA_HOME...but tomcat won't start up. I am not behind a proxy and port 8080 is free...but when I run startup.bat it starts with the output:
Using CATALINA_BASE: C:\jakarta-tomcat-4.1.24
Using CATALINA_HOME: C:\jakarta-tomcat-4.1.24
Using CATALINA_TMPDIR: C:\jakarta-tomcat-4.1.24\temp
Using JAVA_HOME: C:\j2sdk1.4.1_03
then it opens a new DOS window saying it is starting tomcat-standalone and then it hits an exception saying 'target invocation exception' and closes the window!
I am at a total has been a few months since I have worked with tomcat and I am sure this is an easy fix!
Thanks in advance

ps-here is the stack trace:
Jun 7, 2003 7:59:17 AM org.apache.commons.modeler.Registry loadRegistry
INFO: Loading registry information
Jun 7, 2003 7:59:17 AM org.apache.commons.modeler.Registry getRegistry
INFO: Creating new Registry instance
Jun 7, 2003 7:59:18 AM org.apache.commons.modeler.Registry getServer
INFO: Creating MBeanServer
Jun 7, 2003 7:59:19 AM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on port 8080
Starting service Tomcat-Standalone
Apache Tomcat/4.1.24
Exception during startup processing
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
at java.lang.reflect.Method.invoke(
at org.apache.catalina.startup.Bootstrap.main(
Caused by: java.lang.ClassFormatError: Unknown constant tag in .class file
Mike Curwen
Ranch Hand

Joined: Feb 20, 2001
Posts: 3695

This line:
Caused by: java.lang.ClassFormatError: Unknown constant tag in .class file

Makes me think there's possible corruption in a jdk class file. As much as it might be a pain, have you tried re-downloading and installing both jdk and tomcat ?
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: Tomcat won't start up!
It's not a secret anymore!