File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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: 13036
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: 63844


[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: Running Two Tomcats
It's not a secret anymore!