• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Setting multiple instances of Tomcat

 
Milan Sutaria
Ranch Hand
Posts: 122
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

This one is simple. I tried searching online but not could not find an answer.

I know I can have just 1 set of binary folder and then copy a set of folders and configuration files to another location and use run 2 instances of tomcat. I dont know which folders need to be copied and where should the TOMCAT_HOME and TOMCAT_BASE point to.

Thanks for your time in advance.

(Although, I am good in Java but I am new to the web world)
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65217
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why do you need multiple instances of Tomcat?
 
Milan Sutaria
Ranch Hand
Posts: 122
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Bear Bibeault wrote:Why do you need multiple instances of Tomcat?


There can be multiple reasons. I want to run web applications on separate tomcats, so I don't have to restart all the web applications
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you aware that you can restart web apps independently of one another? Admittedly, for a production system I wouldn't do that; it generally causes problems.
 
Milan Sutaria
Ranch Hand
Posts: 122
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No, I am not aware of that and would like to know pointers(if possible)
But still I am looking for answer to my question
 
Milan Sutaria
Ranch Hand
Posts: 122
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Solved myself. referRunning multiple Tomcat instances on Windows (A note instead of creating the webapps folder, as suggested by the blog, copy it from original tomcat installation)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic