Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Creating a Second Instance of Apache Tomcat - Windows Server 2008

Posted on 2012-03-15
3
Medium Priority
?
434 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 83

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 83

Accepted Solution

by:
David Johnson, CD, MVP earned 1500 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

Optimum High-Definition Video Viewing and Control

The ATEN VM0404HA 4x4 4K HDMI Matrix Switch supports 4K resolutions of UHD (3840 x 2160) and DCI (4096 x 2160) with refresh rates of 30 Hz (4:4:4) and 60 Hz (4:2:0). It is ideal for applications where the routing of 4K digital signals is required.

Question has a verified solution.

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

If you are running a LAMP infrastructure, this little code snippet is very helpful if you are serving lots of HTML, JavaScript and CSS-related information. The mod_deflate module, which is part of the Apache 2.2 application, provides the DEFLATE…
When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Suggested Courses

721 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