wood burning stoves 2.0*
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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat won Watch "Tomcat won New topic
Author

Tomcat won't start up!

Rick Warren
Greenhorn

Joined: Jun 07, 2003
Posts: 4
Hi,
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:
C:\>%CATALINA_HOME%\bin\startup.bat
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 loss...it 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
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
Caused by: java.lang.ClassFormatError: Unknown constant tag in .class file
at sun.security.util.DerValue.toByteArray(DerValue.java:767)
Mike Curwen
Ranch Hand

Joined: Feb 20, 2001
Posts: 3695

This line:
Caused by: java.lang.ClassFormatError: Unknown constant tag in .class file
at sun.security.util.DerValue.toByteArray(DerValue.java:767)

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 ?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tomcat won't start up!
 
Similar Threads
mysql connection on net with tomcat
no starting up server
Cannot start Tomcat as a service
jsp and mysql on the net
Tomcat not starting on Windows 2000