if you are using tomcat as a service what java_home is does not matter, as jvm path is "hardcoded" in the registry..

open regedit and find

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\%name of your tomcat service%\Parameters

%name of your tomcat service% will be something like apache tomcat 4.0 or whatever the name of the service (i tend to change mine, thus don't know what default is...) and one of the parameters is JVM library.. that's what determines the JDK (I am pretty sure..) try to change that to the one you want to use..



At 03:13 PM 3/31/2003, you wrote:
no. i changed JAVA_HOME from jdk1.4 to jdk1.3:

the tomcat manager application still shows tomcat as using jvm version 1.4,
whereas in a command window, java -version returns 1.3.

what is going on here?



-----Original Message-----
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Monday, March 31, 2003 3:07 PM
To: Tomcat Users List
Subject: RE: jdk switching



Howdy,
Boy, windows can be evil huh? ;)

Changing JAVA_HOME and restarting the server should be sufficient.  Is
it not?

Yoav Shapira
Millennium ChemInformatics


>-----Original Message----- >From: KIESEL,JEFF (HP-NewJersey,ex2) [mailto:[EMAIL PROTECTED] >Sent: Monday, March 31, 2003 2:50 PM >To: '[EMAIL PROTECTED]' >Subject: jdk switching > >hi all, > >whats is the easiest way to get tomcat to switch jdks? > >i'm running windows 2000 professional. > >i need to port a webapp built on 1.4 to 1.3. i know, it does suck. >anyway, >the only way i've been able to get tomcat to use a different jdk, is to >change JAVA_HOME, and then uninstall and reinstall tomcat. > >there has to be an easier way, i just haven't had the time to spend on >finding it. > >has anyone else figured this out? > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you.


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

________________ Vladimer Shioshvili

QRC Division of Macro International Inc.
7315 Wisconsin Avenue, Suite 400W
Bethesda, MD 20814

Phone: (301) 657 3077 ext. 155


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to