Re: Upgraded JDK/JVM not being picked up by tomcat
- From: Roland de Ruiter <roland.de.ruiter@xxxxxxxxxxxxxxx>
- Date: Thu, 27 Apr 2006 20:42:39 +0200
dottydomino@xxxxxxxxxxx wrote:
I recently upgraded to jdk 1.4.2_10-b03 from 1.4.1_04-b01Do you run Tomcat as a Windows service?
I have changed the JAVA_HOME variable to point to the new java
directory. Typing "java -version" and "echo %JAVA_HOME%" shows
everything to be hunkydory
But on the Tomcat management info page the JVM version is still showing
1.4.1_04-b01
This is the output from localhost:8080/manager/serverinfo:
Tomcat Version: Apache Tomcat/4.1.31
OS Name: Windows XP
OS Version: 5.1
OS Architecture: x86
JVM Version: 1.4.1_04-b01
JVM Vendor: Sun Microsystems Inc.
I found this page
http://mail-archives.apache.org/mod_mbox/tomcat-dev/200409.mbox/%3C20040924164050.38786.qmail@xxxxxxxxxxxxxxxxxxx%3E
which suggests that the jvm version is picked up as a
System.getProperty but I cant find how this property is set. I've been
through the bat files in Tomcat/bin but still cant work it out.
All the FAQs i've read suggest that updating the JAVA_HOME variable
should be sufficient. what am i doing wrong?
This isnt that important but it's driving me nuts!
If so, check the JVM settings in the Apache Tomcat Monitor.
Don't know if the Tomcat Monitor is available for Tomcat v4; but it is for Tomcat v5 and appears as a tray icon next to Windows' clock. Otherwise you may check the Windows registry for Tomcat entries. For Tomcat v5.5 the JVM registry settings can be found in HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Procrun 2.0\Tomcat5\Parameters\Java
--
Regards,
Roland
.
- References:
- Upgraded JDK/JVM not being picked up by tomcat
- From: dottydomino
- Upgraded JDK/JVM not being picked up by tomcat
- Prev by Date: Re: CoderWiki.com - A free online reference manual
- Next by Date: Re: Jbuilder vs. Eclipse
- Previous by thread: Upgraded JDK/JVM not being picked up by tomcat
- Index(es):
Relevant Pages
|