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?
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?
Kees Jan Koster
posted 11 years ago
Dear O. Ziggy,
I never use these apps for anything, so I do not know. Sorry.