> Thanks for all your feedbacks.
>
> Is multiple versions supported or all instances have to be the same build.

You can have it any which way you wish, e.g. single tomcat in single
catalina_home with multiple instances each with own catalina_base, or
multiple versions of tomcat each in own catalina_home each with one or
more instance each with own catalina_base. You can setup a right mess
if you wish...

>> I thought sure that the Tomcat Windows Service page of the users' guide,
>> but it is /not/ there:
>> http://tomcat.apache.org/tomcat-7.0-doc/windows-service-howto.html
>>
>> I wonder if there are any heavy Microsoft Windows users that could
>> offer to write a section on Multiple Tomcat Instances specifically
>> with Microsoft Windows Services. The file RUNNING.txt only explains
>> how to set up Tomcat itself (CATALINA_HOME versus CATALINA_BASE) but
>> says nothing about how to configure Tomcat's service runner to point
>> to one (other than inferring that one ought to set CATALINA_HOME and
>> CATALINA_BASE appropriately).
>>
>> For instance, it's probably important to give the services distinct
>> names ;)

The only things that seem to be missing are

a) set CATALINA_HOME and CATALINA_BASE before running service.bat
b) when run service.bat, specific a unique service name
c) you need to copy some files around to allow the CATALINA_BASE to be
different from each other, e.g. port config

e.g.

set CATALINA_HOME=c:\tomcat
set CATALINA_BASE=c:\tomcat\instances\instance1
service install tomcat1

Then to install instance two, just run

set CATALINA_BASE=c:\tomcat\instances\instance2
service install tomcat2

If anyone else wants to chip in with any relevant additions, let me
know. I might be able to have a look at updating the documentation
page later, but being as I'm a developer my linguistic skills have
never really been approved off so not sure any changes will be
approved :-)

HTH

Chris

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to