How to run setup multiple instances of Tomcat 4 on Windows 2000 since tomcat
runs as a service?

Thanks,
Jack Li

-----Original Message-----
From: Turner, John [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 14, 2002 8:58 AM
To: 'Tomcat Users List'
Subject: RE: Multiple Tomcats on one server



You can run multiple instances of tomcat on one server, no problem.  I have
a production server that has 8 instances of tomcat (3.x) running at the
moment, I'm sure other people have done it with more.  

"instance" is not equal to "installation".  Tomcat is only installed once,
but on startup, using different server.xml (like server-one.xml,
server-two.xml, etc) you can run many instances, each on it's own port.  In
each server.xml, make appropriate changes to things like the Context
container, and then for each instance you want a startup script or in your
case a .bat file that changes CLASSPATH appropriately and calls tomcat with
a pointer to the appropriate server.xml file.

I don't use tomcat on Windows, so I can't help you with specifics, but on a
UN*X it's definitely something that can be done.

HTH

John Turner
[EMAIL PROTECTED]
http://www.aas.com


-----Original Message-----
From: Nathan Smith [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 13, 2002 10:00 PM
To: Tomcat Users List
Subject: Multiple Tomcats on one server


    Does anybody know if more than one tomcat can be installed on the same
server at any one time, specifically Tomcat 3.3.1.

Does it require just changing the environment variable for the dos window
tomcat is started in and changing the port numbers that tomcat will listen
for requests and sutdown signals on or is it more than that.

Any suggestions will be appreciated.


Nathan.

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to