wood burning stoves 2.0*
The moose likes Tomcat and the fly likes Multiple Tomcat instances 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 "Multiple Tomcat instances" Watch "Multiple Tomcat instances" New topic
Author

Multiple Tomcat instances

raghu nagabandi
Ranch Hand

Joined: Aug 14, 2007
Posts: 35
How to create multiple instances for tomcat?

[ UD: added a meaningful subject line ]
[ August 28, 2007: Message edited by: Ulf Dittmer ]
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41148
    
  45
There's nothing stopping you from running multiple Tomcat instances, provided they have separate installation directories, and use different ports. What would be the advantage of this setup over having a single instance serving multiple web applications? Or to use multiple hosts within a Tomcat instance?


Ping & DNS - my free Android networking tools app
Manon Baratt
Ranch Hand

Joined: Jan 30, 2006
Posts: 58
Is it possible to have one instance of Tomcat with multiple ports to serve web apps?
Manon Baratt
Ranch Hand

Joined: Jan 30, 2006
Posts: 58
Is it possible to have one instance of Tomcat with multiple ports to serve web apps?
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14074
    
  16

Manon, you should be able to configure multiple HTTP Connectors in your Tomcat server.xml file that listen on different ports. Refer to the Tomcat documentation for details on how to setup your server configuration to do this.


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
Manon Baratt
Ranch Hand

Joined: Jan 30, 2006
Posts: 58
Thanks. It worked.

Manon
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Multiple Tomcat instances
 
Similar Threads
Common Libraries for two tomcat instance
Configure Multiple Tomcat Instances
Multiple Tomcat Instances on the same box
Setting multiple instances of Tomcat
Servlet instances