Hi There,

I want to run 2 instances for my application on 2 separate JVMs on the same
machine. I have installed Java 1.5 and using Tomcat 5.5.26. Now in 

JVM1
-----
(i) My Cataline_Home and Cataline_Base are =
E:\apps\thirdparty\apache5.5.26\JVM1
(ii) My JAVA_HOME = D:\JDk.....

JVM1
-----
(i) My Cataline_Home and Cataline_Base are =
E:\apps\thirdparty\apache5.5.26\JVM2
(ii) My JAVA_HOME = D:\JDk.....

I have changed all the ports in both the server.xml. I can use the
startup.bat on each of the bin directories to start tomcat and I can access
the 2 different instances of the application at different port numbers at
the same time.

Now I install one service through the command 'service install JVM1' from
one bin and another service through the command 'service install JVM2' from
the other bin. This creates 2 new services in the machine called 'Apache
Tomcat JVM1' and 'Apache Tomcat JVM2'. I can start these services one at the
time and can access the application. But when I try to start both the
services and make them run parallely, by going to windows services, I get an
error 'Error 1067: Process terminated unexpectedly'.

Why is it that I can run both the services parallely from DOS prompt and
cannot do the same from windows services? How can I achieve this?

Any help is much appreciated.

Regards,
Kareem
-- 
View this message in context: 
http://www.nabble.com/Using-Multiple-JVM-instances-tp23394165p23394165.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


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

Reply via email to