Last week, we had the author of TDD for a Shopping Website LiveProject. Friday at 11am Ranch time, Steven Solomon will be hosting a live TDD session just for us. See for the agenda and registration link
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

Tomcat won't start up!

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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)
 
Ranch Hand
Posts: 3695
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ?
 
My previous laptop never exploded like that. Read this tiny ad while I sweep up the shards.
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic