• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

2 questions on multiple tomcat instances

 
O. Ziggy
Ranch Hand
Posts: 430
Android Debian VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I need to set up tomcat to have multiple instances. I have read quite a few articles about it so i think i know how to set it up. There are a few things that i am still not clear how i would resolve.

1. If i have a tomcat with multiple instances, how does the shutdown work. If i shutdown one of the instances, would i still be able to use one of the other instances or is the shutdown are global shutdown?

2. How will i be able to install the Admin and Manager applications? As these are installed on the main installation, would i be able to set up the admin and manager applications so that they only manage a specific tomcat instance?

Thanks
 
Bauke Scholtz
Ranch Hand
Posts: 2458
 
Kees Jan Koster
JavaMonitor Support
Rancher
Posts: 251
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear O. Ziggy,

Stopping is per-tomcat instance. It is probably best if you write some custom start- and stopscripts for use in /etc/rc.d (or whereever your distro stores start-on-boot scripts).

As for the manager app, you'd better remove it. It is a vector for viruses and it does nothing that you cannot do better from the command line.

 
O. Ziggy
Ranch Hand
Posts: 430
Android Debian VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Kees Jan Koster wrote:Dear O. Ziggy,

Stopping is per-tomcat instance. It is probably best if you write some custom start- and stopscripts for use in /etc/rc.d (or whereever your distro stores start-on-boot scripts).

As for the manager app, you'd better remove it. It is a vector for viruses and it does nothing that you cannot do better from the command line.



Thanks for your response. I will be looking into producing the init.d scripts for starting/stopping the instances.

With regards to the manager/admin apps, we dont use these on the live environment. We only use them on Development and Integration environment. We are also on a private network behind a firewall. As i am only using them for development, i dont think they are accessible outside of our network. Can they be used for multiple instances of Tomcat?

Thanks
 
Kees Jan Koster
JavaMonitor Support
Rancher
Posts: 251
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear O. Ziggy,

I never use these apps for anything, so I do not know. Sorry.
 
O. Ziggy
Ranch Hand
Posts: 430
Android Debian VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Kees Jan Koster wrote:Dear O. Ziggy,

I never use these apps for anything, so I do not know. Sorry.


Ok no worries mate. Thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic