• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

moving from Java 5 to Java 6

 
Ranch Hand
Posts: 230
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am trying to upgrade the JDK my Tomcat 5.5 is running on from Java 5 to Java 6. I used the Java tab in tomcat5w to change the JVM but I get the following error when I try to start the service:

[2007-10-04 10:01:42] [174 javajni.c] [error] The specified module could not be found.
[2007-10-04 10:01:42] [947 prunsrv.c] [error] Failed creating java C:\Program Files\Java\jdk1.6.0_01\jre\bin\server\jvm.dll
[2007-10-04 10:01:42] [1202 prunsrv.c] [error] ServiceStart returned 1

Are there any extra steps I need to take to get the change accomplished?

Thanks.

Eric
 
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
From:
http://tomcat.apache.org/tomcat-5.5-doc/setup.html


Java location: The installer will use the registry or the JAVA_HOME environment variable to determine the base path of a J2SE 5 JRE.



I don't see any mention of Tomcat 5x being supported with Java 6.
Do you see it somewhere else?
 
Java Cowboy
Posts: 16084
88
Android Scala IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Maybe the Tomcat documentation does not say explicitly that Tomcat 5.5 runs on Java 6, but I've been running it on Java 6 (on Windows Vista) and it works without problems, so it should work just fine on Java 6.
 
author and iconoclast
Posts: 24207
46
Mac OS X Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by John Eric Hamacher:

[2007-10-04 10:01:42] [174 javajni.c] [error] The specified module could not be found.
[2007-10-04 10:01:42] [947 prunsrv.c] [error] Failed creating java C:\Program Files\Java\jdk1.6.0_01\jre\bin\server\jvm.dll



So, is the named file there? If not, is the path correct up to that point? Maybe you have a different patchlevel installed, or it's installed somewhere else? Maybe your "jre" directory is missing? Maybe the file is there, but not accessible (Windows does have some kind of access control, doesn't it?)
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic