wood burning stoves*
The moose likes Tomcat and the fly likes Setting multiple instances of Tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Setting multiple instances of Tomcat" Watch "Setting multiple instances of Tomcat" New topic
Author

Setting multiple instances of Tomcat

Milan Sutaria
Ranch Hand

Joined: Jul 10, 2008
Posts: 118
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)


SCJP 6 83%
Working on SCWCD/OCPJWCD
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60822
    
  65

Why do you need multiple instances of Tomcat?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Milan Sutaria
Ranch Hand

Joined: Jul 10, 2008
Posts: 118
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
Marshal

Joined: Mar 22, 2005
Posts: 41185
    
  45
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.


Ping & DNS - my free Android networking tools app
Milan Sutaria
Ranch Hand

Joined: Jul 10, 2008
Posts: 118
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

Joined: Jul 10, 2008
Posts: 118
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)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Setting multiple instances of Tomcat
 
Similar Threads
Configure Multiple Tomcat Instances
2 questions on multiple tomcat instances
Unable to work with J2EE RI
Load Balancing in Tomcat 5.5
Unable to work with J2EE RI