I essentially will be running the same web app installed multiple times.  Each 
web app will connect to its own unique database.  Since I don't want them 
sharing static variables in the jvm I need to keep them completely separate.  
This is a well developed application being ported from Jrun where this was 
possible.  To do this in Tomcat do I have no choice but to install multiple 
instances of Tomcat or is there another way?  In other words I need 5 web apps 
on my web server each running in its own jvm.

Joe

-----Original Message-----
From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com]
Sent: Tuesday, March 03, 2009 4:14 PM
To: Tomcat Users List
Subject: RE: Run multiple web applications in Tomcat each as an
independent windows service question


> From: Joe Wallace [mailto:j...@andar360.com]
> Subject: Re: Run multiple web applications in Tomcat each as
> an independent windows service question

> I have two applications in Tomcat and I want to run
> each as its own windows service.

Then you would have to run each webapp in its own instance of Tomcat.  A 
Windows service is just a program, and for this purpose that program is Tomcat, 
regardless of the number of webapps deployed.

> I want to be able to stop App1 without stopping App 2.

As Gregor pointed out, use Tomcat's built-in manager app, or run two separate 
Tomcats.

> I have been doing this with Jrun with multiple web apps
> each running as an independent windows service

Then you were actually running multiple copies of JRun.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.

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


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

Reply via email to