Question

I am going to create an application for monitoring tomcat . Is there is any way to get all applications deployed in a tomcat ( any web service provided tomcat for getting that or is there is any other way to find it).
For example: Input is http://ip:port which points to a tomcat server. i need to get the all applications deployed on corresponding url (tomcat). How its possible? But here my application installed on a different server

Was it helpful?

Solution 2

if you are able to use JMX, then that is the way !, JMX is the integrated technology to Java standard edition that allows any application provide management and monitoring to its users , and of course Tomcat includes that.

you would do a query like

JMXQuery=Catalina:j2eeType=WebModule,*

check this site

OTHER TIPS

You can read and parse http://hostname:port/manager/html page. It contains a list of deployed applications

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top