Multiple Instances for Tomcat
843833Apr 21 2004 — edited Sep 19 2007Hi everybody, I hope not to be too much out of topic.
My problem is to run two different environments for my J2EE application in the same machine. I mean a production env. and a dev. env.
The application is contained into Jakarta Tomcat 4.X.
I know that setting CATALINA_BASE as environment variable and putting conf, webapps, logs, work folders under CATALINA_BASE, the server is configured to run multiple instances.
I also modified the server.xml file in order to listen to port YYYY for the production env. and ZZZZ for the dev. env.
When I startup the server, I can log into the two different environments. But my goal is to start the two indipendently in order to shut down one without effect on the second.
Any tip??
Many thanks for all the valuable help you may give!
MarcoC