Solved

Creating a Second Instance of Apache Tomcat - Windows Server 2008

Posted on 2012-03-15
3
429 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 82

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 82

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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

If you've heard about htaccess and it sounds like it does what you want, but you're not sure how it works... well, you're in the right place. Read on. Some Basics #1. It's a file and its filename is .htaccess (yes, with a dot in the front). #…
When it comes to security, close monitoring is a must. According to WhiteHat Security annual report, a substantial number of all web applications are vulnerable always. Monitis offers a new product - fully-featured Website security monitoring and pr…
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…

632 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