This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Tomcat and the fly likes Running 2 separate instances of tomcat in server - HOW TO Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Running 2 separate instances of tomcat in server - HOW TO" Watch "Running 2 separate instances of tomcat in server - HOW TO" New topic
Author

Running 2 separate instances of tomcat in server - HOW TO

e_poncedeleon
Greenhorn

Joined: Jun 12, 2008
Posts: 3
I know this question has been asked a lot but I've read different solutions depending on the needs of the problem. I need to have 2 instances of tomcat for the same application. One would be for production and the other for development (which can be start and stopped whenever without affecting the production one).
From my understanding i need to have each instance on different ports and modifying some other files but what I am missing is the technical things. Can any one please guide me on the correct direction so that i don't mess up anything! I've never worked with Tomcat that is why i have no idea on how to do it.
Thanks in advance
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60774
    
  65

why not just deploy them as two contexts that you can start and stop independently?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60774
    
  65

Oh and please check your private messages for an important administrative matter.
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30085
    
149

"e_poncedeleon",
This is not a valid display name either. Please recheck the naming policy Bear sent you and note the part about having both a first and last name (no underscores) and not one that is obviously fictitious.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
jQuery in Action, 2nd edition
 
subject: Running 2 separate instances of tomcat in server - HOW TO
 
Similar Threads
Deployment Options
2 questions on multiple tomcat instances
How much memory this forum takes run time
Tomcat Cluster / Load Balancing
Tomcat Server Instances