Solved

How to create two instance of tomcat in same machine

Posted on 2004-10-17
1
159 Views
Last Modified: 2008-02-01
I have an application which is development under Tomcat server.

I would like to create a instance for Production and one for Testing in the same machine. One using port 8080 and the other using 8081.

Can I do that under one Tomcat server and how can I do that ? Or I need to setup two tomcat server?

Thanks
0
Comment
Question by:jabbaa
1 Comment
 
LVL 5

Accepted Solution

by:
mrielf earned 88 total points
ID: 12387585
You must create two service with separate connectors



<Service name="Production">
<Connector port="8080" ... />
<Engine ...
<Host name="localhost" appBase="/path/to/production" ... >
...
</Host>
</Engine>
</Service>

<Service name="Testing">
<Connector port="8081" ... />
<Engine ...
<Host name="localhost" appBase="/path/to/testing" ... >
...
</Host>
</Engine>
</Service>
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Convert websphere application server default chained Certificates from 1024 to 2048 keysize or higher size and also you can change signatureAlgorithm . Please make sure Websphere Application Server fixpack 7.0.0.23 or Above. The following steps a…
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

760 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now