> -----Original Message----- > From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Sent: Tuesday, April 30, 2013 9:31 AM > To: Tomcat Users List > Subject: Re: Multiple tomcat containers or instance on same servers > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA256 > > Oke, > > On 4/30/13 8:28 AM, Oke Akinola swisstopo wrote: > > I would need help to configure different application in their > > respective tomcat container. > > > > Does having multiple containers is same as have multiple instances on > > the same server? I already have tomcat 6.0.26 installed through an > > installer on a Windows Server 2008 R2. How do I go about configuring > > multiple containers or instances? > > 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 ;) > > I probably wouldn't do this myself, but can Tomcat be "installed" > twice (or thrice, etc.) using the installer so I don't have to > configure the service(s) manually from the command-line? Yes, I'll get > multiple copies of Tomcat installed on my disk, but I probably don't > care about that if the installer can set up the service with a unique > name, etc
The Windows installer allows for this. In fact, after years of doing it the RUNNING.txt way, i.e. manually, I was really grateful when this became supported in the installer. It's the only way I do it now, and now have fewer headaches. These days, the disk space requirement of a full instance takes up is trivial compared to the minimal size of disk drives. It does make for a little more work monitoring log multiple log files, but you'd be doing that anyway.