This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Availability to check whether the Tomcat server is up and running all the time. Please let me know how to know the server availability: listening to Tomcat server port periodically (configured in crontab) and send out notification when there is no response on the port.
I was picturing using wget (tool for pulling web content from the command line) to hit a servlet or JSP running under tomcat, capturing stderr, and piping it into the mail command.... or something like that.
This would tell you, not only if there is a java process but that Tomcat is running properly and that the app in question is running.... at least well enough to respond.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: check whether the Tomcat server is up and running