You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Katsuyuki Michishita <km...@imobile.co.jp> on 2001/12/11 11:06:18 UTC

Run more than two tomcat in one server

I am using Tomcat-3.2.3 on Windows 2000. For the testing pourpose, I 'd like
to run 2 or more Tomcat servers on one machine.
I have tested on the machine, but it's failed.  Because it tries to use the
directory where I specified in TOMCAT_HOME
(C:\Tomcat in my case) when one of "startup.bat" is executed.

Is there anyway to run more than one tomcat service on the machine?
please let me know.

Thx

-kats




--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>


RE: Run more than two tomcat in one server

Posted by Ikke List <li...@ikke.net>.
Yes there is. Make sure you create two sets of configuration files. Make
sure they do not want to share resources that cannot be shared like the
HTTP/HTTPS port Tomcat claims (use port 8080 and port 8081 for example)

Then start tomcat and pass as an argument to the start scripts where the
configuration files are located. (just look at the content of the 'bat'
files and you will find the argument)

And not the quick and dirty sollution

Make two copies of tomcat and hardcode the setting of TOMCAT_HOME in the
startup script.

Wouter

-----Original Message-----
From: Katsuyuki Michishita [mailto:kmichishita@imobile.co.jp]
Sent: Tuesday, 11 December, 2001 11:06
To: Tomcat Users List
Subject: Run more than two tomcat in one server


I am using Tomcat-3.2.3 on Windows 2000. For the testing pourpose, I 'd like
to run 2 or more Tomcat servers on one machine.
I have tested on the machine, but it's failed.  Because it tries to use the
directory where I specified in TOMCAT_HOME
(C:\Tomcat in my case) when one of "startup.bat" is executed.

Is there anyway to run more than one tomcat service on the machine?
please let me know.

Thx

-kats




--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>




--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>