Solved

Creating a Second Instance of Apache Tomcat - Windows Server 2008

Posted on 2012-03-15
3
409 Views
Last Modified: 2012-07-23
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
Comment
Question by:COV-Webmaster
  • 2
3 Comments
 
LVL 79

Expert Comment

by:David Johnson, CD, MVP
ID: 37728712
install into another directory and in the http.config change the listen ports and you should be good to go.
0
 

Author Comment

by:COV-Webmaster
ID: 37730341
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
 
LVL 79

Accepted Solution

by:
David Johnson, CD, MVP earned 500 total points
ID: 37731374
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

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Hi, in this article I'm going to teach you how to run your own site, and how to let people in (without IP). I'll talk about and explain each step... :) By the way, everything in this Tutorial is completely free and legal. This article is for …
Most ColdFusion developers get confused between the CFSet, Duplicate, and Structcopy methods of copying a Structure, especially which one to use when. This Article will explain the differences in the approaches with examples; therefore, after readin…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question