Solved

How to create two instance of tomcat in same machine

Posted on 2004-10-17
1
164 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
[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
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

Create the perfect environment for any meeting

You might have a modern environment with all sorts of high-tech equipment, but what makes it worthwhile is how you seamlessly bring together the presentation with audio, video and lighting. The ATEN Control System provides integrated control and system automation.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
jython or bash script to call and execute/open a URL 15 503
Sharepoint application home page 4 161
MQ websphere create mq failing AMQ6239 7 354
glassfish admin console 1 23
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.
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

730 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