Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

How do I run my applications in 2 different processes

Moran Ben-David

2004-04-25

Replies:

Hi.



I'd like to seek some advice in using Tomcat for my purpose:



1.  I want to run 2 application in separate java processes so as to be
existing in two separate JVM's.
2.  I'd like to run Tomcat on Windows 2000 as a Service so as to start
up when the computer starts up without requiring a user login.



(Reason I need 1 is that I have a singleton that I'd that all my application
objects reference.. having a different JVM per application allows me to
maitain the singleton design and have different configuraitons for app.)



From what I've read myself, it seems that I need to run another Tomcat
instance to create this second JVM process. Is this true?



If so, then do I have to create my own custom Tomcat Windows 2000 Service or
is there a way to install another sevice to be availeble regardless of user
login.



Any help is highly appreciated..

Moran Ben-David

©2008 junlu.com - Jax Systems, LLC, U.S.A.