Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Tomcat won't start up!

 
Rick Warren
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3695
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic