Solved

Creating a Second Instance of Apache Tomcat - Windows Server 2008

Posted on 2012-03-15
3
423 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 81

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 81

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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Periodically we have to update or add SSL certificates for customers. Depending upon your hosting plan you may be responsible for the installation and/or key generation. In the wake of Heartbleed many sites were forced to re-key. We will concen…
Introduction This article explores the design of a cache system that can improve the performance of a web site or web application.  The assumption is that the web site has many more “read” operations than “write” operations (this is commonly the ca…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

710 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