Win a copy of Practice Tests for OCP Java 17 Certification Exam (1Z0-829) this week in the OCPJP forum!
  • 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 ...
  • Tim Cooke
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
  • Rob Spoor
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Scott Selikoff
  • Piet Souris
  • Jj Roberts
  • fred rosenberger

Tomcat not starting on Windows 2000

Ranch Hand
Posts: 2596
Android Firefox Browser Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am trying to start Tomcat 4.1 on Windows 2000 for last few hours, but it failed immediately after startup, and though I started startup.bat from dos prompt, the pop-up window vanished immediately before I could read the exception. Finally after reading the this post, I made few anges to run tomcat on the same console (using run instead of start) and got this error -

D:\Tomcat 4.1\bin>startup
Using CATALINA_BASE: D:\Tomcat 4.1
Using CATALINA_HOME: D:\Tomcat 4.1
Using CATALINA_TMPDIR: D:\Tomcat 4.1\temp
Using JAVA_HOME: C:\j2sdk1.4.0_01
Oct 12, 2004 2:34:15 PM org.apache.commons.modeler.Registry loadRegistry
INFO: Loading registry information
Oct 12, 2004 2:34:15 PM org.apache.commons.modeler.Registry getRegistry
INFO: Creating new Registry instance
Oct 12, 2004 2:34:17 PM org.apache.commons.modeler.Registry getServer
INFO: Creating MBeanServer
Oct 12, 2004 2:34:22 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on port 8080
Starting service Tomcat-Standalone
Apache Tomcat/4.1.18
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.InternalError: internal error: SHA-1 not available.
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorIm
at java.lang.reflect.Constructor.newInstance(
at java.lang.Class.newInstance0(
at java.lang.Class.newInstance(
at org.apache.catalina.session.ManagerBase.getRandom(
at org.apache.catalina.session.ManagerBase.generateSessionId(
at org.apache.catalina.session.StandardManager.start(
at org.apache.catalina.core.StandardContext.start(
at org.apache.catalina.core.ContainerBase.start(
at org.apache.catalina.core.StandardHost.start(
at org.apache.catalina.core.ContainerBase.start(
at org.apache.catalina.core.StandardEngine.start(
at org.apache.catalina.core.StandardService.start(
at org.apache.catalina.core.StandardServer.start(
at org.apache.catalina.startup.Catalina.start(
at org.apache.catalina.startup.Catalina.execute(
at org.apache.catalina.startup.Catalina.process(
... 5 more
D:\Tomcat 4.1\bin>

How do I fix this? I believe the Java home is correct, however I do have few more JVMs (1.3 and 1.2) on mt machine and I do need them all. What do I do now???

- Manish
Don't get me started about those stupid light bulbs.
    Bookmark Topic Watch Topic
  • New Topic