• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Multiple Tomcat instances

 
raghu nagabandi
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How to create multiple instances for tomcat?

[ UD: added a meaningful subject line ]
[ August 28, 2007: Message edited by: Ulf Dittmer ]
 
Ulf Dittmer
Rancher
Pie
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Manon Baratt
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is it possible to have one instance of Tomcat with multiple ports to serve web apps?
 
Manon Baratt
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is it possible to have one instance of Tomcat with multiple ports to serve web apps?
 
Jesper de Jong
Java Cowboy
Saloon Keeper
Posts: 15205
36
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Manon Baratt
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks. It worked.

Manon
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic