Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Multiple Instances for Tomcat

843833Apr 21 2004 — edited Sep 19 2007
Hi 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
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 17 2007
Added on Apr 21 2004
10 comments
825 views