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 ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Scott Selikoff
Bartenders:
  • 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
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.InternalError: internal error: SHA-1 not available.
at sun.security.provider.SecureRandom.init(SecureRandom.java:86)
at sun.security.provider.SecureRandom.<init>(SecureRandom.java:65)
at java.security.SecureRandom.<init>(SecureRandom.java:131)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:
39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorIm
pl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
at java.lang.Class.newInstance0(Class.java:296)
at java.lang.Class.newInstance(Class.java:249)
at org.apache.catalina.session.ManagerBase.getRandom(ManagerBase.java:477)
at org.apache.catalina.session.ManagerBase.generateSessionId(ManagerBase.java:675)
at org.apache.catalina.session.StandardManager.start(StandardManager.java:620)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3570)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:738)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347)
at org.apache.catalina.core.StandardService.start(StandardService.java:497)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:2189)
at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
... 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???

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