The moose likes Tomcat and the fly likes Manage all tomcat instances Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Manage all tomcat instances" Watch "Manage all tomcat instances" New topic

Manage all tomcat instances

Gaurav Ram
Ranch Hand

Joined: Feb 23, 2008
Posts: 32

Can you please guide me on my problem. Actually i want to make one web application through which i can manage all the instances of Apache Tomcat running on my system.
Does Apache come up with such API?
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42965
By "my system" do you mean a single server or multiple servers? If it's just a single server, the next question would be, do you really need multiple instances on the same machine, or would a single instance configured to listen on multiple ports do as well?

Also, what do you mean by "manage"? What would you want to do that Tomcat's Manager and Admin web apps can't do?
Gaurav Ram
Ranch Hand

Joined: Feb 23, 2008
Posts: 32
Thanks for your reply... Basically its a single server but listening on many ports and all are running as service. So i just want to make one single web page through which i can see the status of each service and also can start/stop/restart from my webpage only.
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 13037
If I understand you correctly, that is exactly what the existing tomcat management application does.

It is typically not part of the standard Tomcat installation due to security concerns so it is a separate download. The "running on multiple ports" thing may prevent you from having one single controlling web page.

I use it all the time to stop/start/monitor,etc web applications on my server but only one virtual host per page.

I agree. Here's the link:
subject: Manage all tomcat instances
It's not a secret anymore!