running multiple instances of tomcat as windows service - service won't start
hi all, we are using tomcat 5.0.28 on windows server. I have been trying to install multiple tomcat instances . Our goal is to run multiple instances on port 80 of virtual IPs. But for testing, i'm using differnt port numbers instead of ips.. Here r the steps i performed, (a) installed tomcat on c:\TC1 (b) copied conf,logs,shared,temp,webapps, work folders from c:\TC1 into c:\TC2 (c) changed port entries into TC2\conf\server.xml Server port=8006 , Connector port=8081 (d) on cmd prompt c:\TC1\bin set CATALINA_BASE=C:\TC2 c:\TC1\binservice.bat install TC2 This will install the TC2 windows service, but the service won't start . If i check the properites of the service, it's pointing to C:\TC1\bin\tomcat5.exe //RS//tc2 What is wrong?? I couldn't find any step by step guide to setup multiple instances of tomcat as windows service on Tomcat users list or any other web resource. Any pointers will be appreciated. Thanks, Jaynika - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Multiple Instances of Tomcat as a Service
I am running multiple JVMs of Tomcat using the CATALINA_BASE environment variables. Currently, the only way I know of to start these is with the start batch files. Does anyone know of a way to start multiple instancs of tomcat as services? Jason -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Multiple Instances of Tomcat as a Service
Not sure what you mean, but I have a start|stop script for each instance of Tomcat. The scripts aren't much, just a call to Tomcat's startup for start, and a call to Tomcat's shutdown along with a cleanout of the work directory for stop. Then I have a start|stop superscript that can call all of the individual scripts in sequence if needed. So, I either use an individual script, or if I need to take them all down (very rare) I use the superscript. John -Original Message- From: Jason Chambers [mailto:[EMAIL PROTECTED]] Sent: Friday, January 03, 2003 3:07 AM To: [EMAIL PROTECTED] Subject: Multiple Instances of Tomcat as a Service I am running multiple JVMs of Tomcat using the CATALINA_BASE environment variables. Currently, the only way I know of to start these is with the start batch files. Does anyone know of a way to start multiple instancs of tomcat as services? Jason -- 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.434 / Virus Database: 243 - Release Date: 12/25/2002 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.434 / Virus Database: 243 - Release Date: 12/25/2002 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Multiple Instances of Tomcat as a Service
I think he means something like an NT service. Just follow the instructions here: http://www.mattkelli.com/tech/tomcat/ntservice.htm However, add on thing: Dcatalina.base=[your custom CATALINA_BASE path here] Also, make sure to name the service differently than one you may already have installed. I haven't tested this, but I would think is should work. Jake At 04:26 AM 1/3/2003 -0500, you wrote: Not sure what you mean, but I have a start|stop script for each instance of Tomcat. The scripts aren't much, just a call to Tomcat's startup for start, and a call to Tomcat's shutdown along with a cleanout of the work directory for stop. Then I have a start|stop superscript that can call all of the individual scripts in sequence if needed. So, I either use an individual script, or if I need to take them all down (very rare) I use the superscript. John -Original Message- From: Jason Chambers [mailto:[EMAIL PROTECTED]] Sent: Friday, January 03, 2003 3:07 AM To: [EMAIL PROTECTED] Subject: Multiple Instances of Tomcat as a Service I am running multiple JVMs of Tomcat using the CATALINA_BASE environment variables. Currently, the only way I know of to start these is with the start batch files. Does anyone know of a way to start multiple instancs of tomcat as services? Jason -- 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.434 / Virus Database: 243 - Release Date: 12/25/2002 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.434 / Virus Database: 243 - Release Date: 12/25/2002 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]