Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Manage all tomcat instances

 
Gaurav Ram
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13061
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic