• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

Setting multiple instances of Tomcat

 
Ranch Hand
Posts: 122
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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)
 
Sheriff
Posts: 67754
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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)
 
reply
    Bookmark Topic Watch Topic
  • New Topic