• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 438
  • Last Modified:

Creating a Second Instance of Apache Tomcat - Windows Server 2008

I have a development box with Apache Tomcat installed on a Windows  2008 R2 server.  It has SSL configured, a couple of web applications  and has an Apache Tomcat service.  

We are hoping to be able to install a second instance of Apache Tomcat on the same server and use it for our QA environment.

What would be the best way to do this.  I've read some posts in Google searches and I'm not sure what is the best method as there seems to be various ways to do this.  I need to have a totally separate QA and DEV instance.  Ideally it would be nice to have separate Apache Tomcat services as well so I can start and stop just the dev instance without affecting the QA environment.

We need to have the ability to do updates for the dev web apps first before applying the changes to the QA environment.

I'd really appreciate any advice on the best method of accomplishing this.  I'm very new to Apache Tomcat.  Our other web servers use IIS.

Thanks.
0
COV-Webmaster
Asked:
COV-Webmaster
  • 2
1 Solution
 
David Johnson, CD, MVPOwnerCommented:
install into another directory and in the http.config change the listen ports and you should be good to go.
0
 
COV-WebmasterCity Of VancouverAuthor Commented:
Thank you.  I'll give that a try.

Would I just edit the listen ports in server.xml?  My current installation listens on port 80 so could I just change the server.xml in the new installation to listen on port 8080 and change the other ports such as shutdown, etc. to differerent values?

Will the new installation create a new service that is independant of the first install since I will install into another directory?
0
 
David Johnson, CD, MVPOwnerCommented:
all of the above is that is correct. you will have to change the services startup to give it another name other than the default tomcat7
0

Featured Post

Restore individual SQL databases with ease

Veeam Explorer for Microsoft SQL Server delivers an easy-to-use, wizard-driven interface for restoring your databases from a backup. No expert SQL background required. Web interface provides a complete view of all available SQL databases to simplify the recovery of lost database

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now