Re: Changing the JVM that Tomcat uses

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



can all of the rpm's for java and tomcat be removed from FC2?  If so, i'd like to know which ones.  I'm having major problems getting tomcat 5.x to run consistently under FC2.  I didn't have the problems until FC2T3 (T2 was fine).  I can't get tomcat 5.x, or any other java app.,  to run at all since fc2t2 using the ibm sdk 141.  I can get tomcat 5.x and other java apps to at least start when i use the sun sdk 1.4.1_04, but when i stress test tomcat 5.x with this sdk, tomcat falls over within 15 - 20 minutes with out of memory errors (http11Processor) reported in catalina.out

Gary Benson wrote:
Jan-Pieter van den Heuvel wrote:
  
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.
    

If you're using the gcj-built Tomcat from FC2 then you can't change
the JVM it uses.  I'll probably provide some way to run Fedora Tomcat
with a 'normal' JVM for FC3, but it's not recommended in FC2 because
some of the jarfiles contain bad bytecode.

Gary


  

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux