This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft 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 Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Running Two Tomcats" Watch "Running Two Tomcats" New topic
Author

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.
Regards
Prabhakar
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12683
    
    5
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.

Bill


Java Resources at www.wbrogden.com
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60082
    
  65

Why?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Running Two Tomcats
 
Similar Threads
Web Server for Servlets
Several Tomcat instances on one machine??
is tomcat 6.0 comaptible with IIS?
Common Libraries for two tomcat instance
forward in jsdk 2.0