This should ease your pain: Change JAVA Home base on your JRE
::Starting Tomcat as an NT Service echo off set PATH=%PATH%;%CATALINA_HOME% set SERVICENAME=mysecondtomcat set CATALINA_BASE=C:\Program Files\mydirectory set JAVACLASSPATH=%CLASSPATH% set JAVACLASSPATH=%JAVACLASSPATH%;%CATALINA_HOME%\bin\bootstrap.jar set JAVACLASSPATH=%JAVACLASSPATH%;%CATALINA_HOME%\common\lib\servlet.jar set JAVACLASSPATH=%JAVACLASSPATH%;%JAVA_HOME%\lib\rt.jar "%CATALINA_HOME%\bin\tomcat.exe" -install "%SERVICENAME%" "%JAVA_HOME%\jre\bin\classic\jvm.dll" -Djava.class.path="%JAVACLASSPATH%" -Dcatalina.home="%CATALINA_HOME%" -Dcatalina.base="%CATALINA_BASE%" -Xrs -Xmx200m -Xms100m -start org.apache.catalina.startup.Bootstrap -params start -stop org.apache.catalina.startup.Bootstrap -params stop -out "%CATALINA_BASE%\logs\stdout.log" -err "%CATALINA_BASE%\logs\stderr.log" -----Original Message----- From: Hertenstein Alain [mailto:[EMAIL PROTECTED] Sent: Thursday, May 13, 2004 11:01 AM To: Tomcat Users List Subject: RE : 2 Tomcat instances on the same server ? Thanks Matt and Ralph, Is there a documentation somewhere as to how to setup 2 (or more) Tomcat instances ? I've seen there were Workers on Tomcat 3.x, but cannot find more documentation for Tomcat 4.x (the Running.txt file doesn't explain much, I've created that CATALINA_BASE environment variable but cannot see any difference). Also my 1st tomcat instance is already running as an NT service, and I'd like to keep it that way. Another question : would these Tomcat instances be completely independent one from the other(s) ? I mean, could I completely restart one instance without affecting the others ? Thanks again, Alain -----Message d'origine----- De : Ralph Einfeldt [mailto:[EMAIL PROTECTED] Envoyé : jeudi, 13. mai 2004 14:55 À : Tomcat Users List Objet : RE: 2 Tomcat instances on the same server ? I would go for 2. As I'm not using IIS, I'm not shure if there are specific hurdles in this environment. Tomcat stand alone and tomcat behind apache are quite easy to setup with multiple instances. If all tomcate have the same versions, you just have to install tomcat once and setup two instances. > -----Original Message----- > From: Hertenstein Alain [mailto:[EMAIL PROTECTED] > Sent: Thursday, May 13, 2004 2:47 PM > To: [EMAIL PROTECTED] > Subject: 2 Tomcat instances on the same server ? > > > 2- install a 2nd Tomcat instance on the server and have that 2nd web > apps running on that 2nd instance, > 3- have a 2nd server installed with its own configuration. > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. Eri Bancaire SA ********************************************************************** --------------------------------------------------------------------- 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]