To use multiple instances of Tomcat, you don't need to install it in a different directory.
You use CATALINA_HOME to represent Tomcat's main installation (like /usr/local/tomcat) and then you use CATALINA_BASE to represent the "Catalina home" for each of your Tomcat instances. There are others on the list that know more about JVM memory settings, but I wanted to point out that you don't need a completely separate install of Tomcat to run multiple instances. One of my servers has about 15 Tomcat instances running, but Tomcat is only installed once. John -----Original Message----- From: Mohbe, Sameer [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 10, 2002 6:19 PM To: '[EMAIL PROTECTED]' Subject: Two instances of Tomcat Hi Folks , Need some urgent help regarding setting up two instances of Tomcat .Here goes the details .We used to have Apache 1.3.23 + Tomcat 4.0.2 configuration running on Red hat 7.0.We were running two web apps under Single instance of tomcat. To make them independent we are moving towards Two instances of tomcat .So we installed second instance residing in /opt/tomcat2 directory ,first being in the directory called /opt/tomcat.Changes on server.xml were made for two different port nos.Now Everything works ok till the point when we try to generate a report in second web application it gives a Java.lang Out of Memory error.This Final report feature uses the Formula 1 Software which is a e-spreadsheet.Can any one please tell me what all settings are required for the TWO instances of tomcat.do we need TWO copies of Worker.properties files (Coz we have only one ) and if yes then what changes need to be done .Is the Java error related to JVM memory settings .We have set TOMCAT_OPTS in /etc/profile for -Xms64 and -Xmx512. Regards Sameer -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.419 / Virus Database: 235 - Release Date: 11/13/2002 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.419 / Virus Database: 235 - Release Date: 11/13/2002 -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>