Changing the JVM that Tomcat uses

Sessoms, Mack zac9 at cdc.gov
Wed May 26 14:53:34 UTC 2004


is your tomcat 4.1.27 build from fedora distro or binary from apache?

Jan-Pieter van den Heuvel wrote:

>Yes, I've done that.
>The weird thing is: before i created the JAVA_HOME environment variable,
>there was no such variable. According to the Tomcat documentation this
>variable must exist for Tomcat to work, but in my case it also worked
>without this variable. I've looked in the /etc/sysconfig/tomcat file and in
>the tomcat startup script, but i don't see a reference to the JAVA_HOME
>variable.
>
>Greets,
>
>Jan-Pieter
>
>----- Original Message ----- 
>From: Sessoms, Mack
>To: For users of Fedora Core releases
>Sent: Wednesday, May 26, 2004 3:55 PM
>Subject: Re: Changing the JVM that Tomcat uses
>
>
>have you tried restarting your shell?
>
>Jan-Pieter van den Heuvel wrote:
>Hi,
>
>I'm having a problem changing the JVM that Tomcat uses from the one from the
>Free Software Foundation to the one from Sun. I've installed the
>J2SDK1.4.2_04 from Sun and have added the JAVA_HOME environment variable ( =
>/usr/java/j2sdk1.4.2_04) to /etc/profile. But after restarting Tomcat, it
>still uses the JVM from the Free Software Foundation. How can I change this?
>When i use the command 'env' i can see that the JAVA_HOME environment
>variable is present and pointing to the correct location.
>
>Thanks in advance,
>
>Jan-Pieter van den Heuvel
>
>My system: Fedora Core 1, Tomcat 4.1.27.
>
>
>
>  
>





More information about the fedora-list mailing list