• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Running 2 separate instances of tomcat in server - HOW TO

 
e_poncedeleon
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 64618
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
why not just deploy them as two contexts that you can start and stop independently?
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64618
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Oh and please check your private messages for an important administrative matter.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34071
331
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic