wood burning stoves 2.0*
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 Murach's Java Servlets and JSP this week in the Servlets 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: 12756
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: 60739


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