Meaningless Drivel is fun!*
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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Manage all tomcat instances" Watch "Manage all tomcat instances" New topic
Author

Manage all tomcat instances

Gaurav Ram
Ranch Hand

Joined: Feb 23, 2008
Posts: 32
Hi,

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
Marshal

Joined: Mar 22, 2005
Posts: 39547
    
  27
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?


Ping & DNS - updated with new look and Ping home screen widget
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
Rancher

Joined: Mar 22, 2000
Posts: 12675
    
    5
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.

Bill


Java Resources at www.wbrogden.com
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Manage all tomcat instances
 
Similar Threads
where is the lb worker located?
Apache and Tomcat questions
How set java path for a perticular apache server ?
Where can I see my System.out.println in Apache Tomcat 5.5.9 Server
Tomcat/httpd connection with mod_jk ... Apache connecting to wrong Tomcat instance?