Reputation: 11
I need to know the status of a Tomcat server (http://localhost:8081) - whether or not it is started using Java code. How can I do this if it is possible?
Upvotes: 0
Views: 903
Reputation: 91
Add a Tomcat Manager application and use GET urls, then parse the returned text.
You may read:
http://tomcat.apache.org/tomcat-5.5-doc/manager-howto.html
Upvotes: 1