Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

HOW TO install/setup 2 instances of tomcat on same server

Status
Not open for further replies.

edponce

Programmer
Aug 20, 2008
1
MX
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
 
I do not recommend using a production server to run testing server at the same time. Tomcat server may hang if there is bug
in your program under testing.
Production server is not supposed to be out of server except during the short maintenance time.

You may follow the link below(that link and to configure 2 tomcat server instances on the same machine. The people use the version of tomcat that do not need installation. Extract the zipped file into a directory. Type startup.bat in MS Windows or type startup.sh in linux.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top