This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Tomcat and the fly likes Running Two Tomcats Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Running Two Tomcats" Watch "Running Two Tomcats" New topic

Running Two Tomcats

Prabhakar Rao
Ranch Hand

Joined: Aug 23, 2006
Posts: 40
Hi all,
Please explain how to run two Tomcat Instances on a single machine.
I am using windowsXP and Tomcat 5.5.
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 12761
You can run two tomcats but they will have to be configured so that they don't interfere. You can have them listen on different ports or you can have them configured to only respond to specific IP addresses. See

Configuring server.xml options.

Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 60785


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
subject: Running Two Tomcats
Similar Threads
Common Libraries for two tomcat instance
is tomcat 6.0 comaptible with IIS?
Web Server for Servlets
Several Tomcat instances on one machine??
forward in jsdk 2.0