Solved

How to create two instance of tomcat in same machine

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

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Microsoft Visual studio 2012 packaging 7 594
run application without providing application name in apache+tomcat 12 291
Replication from new to current server 5 137
wmware 10 329
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…
Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…

911 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