Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

2 questions on multiple tomcat instances

 
Ranch Hand
Posts: 430
Android VI Editor Debian
  • 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
 
JavaMonitor Support
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 VI Editor Debian
  • 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
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 VI Editor Debian
  • 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
 
and POOF! You're gone! But look, this tiny ad is still here:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic