Hello Ranchers, I am writing a System Status tool and need to verify that the weblogic 8.1 server is up and running. Is there a built in weblogic utility to check for a heartbeat or a url? If not what is the best way to verify that the server is up and running? Please post examples if you have them.
Thanks in advance!
Joined: Jan 29, 2003
I'd make the monitor something outside the container, off the box if possible. That's the only way it can detect and report catastrophic failures. It's pretty easy to write something using URL or HTTPConnection to retrieve a page periodically and report if it's too slow or has missing data or goes unavailable. You could adapt a stress testing or web testing tool to the job, too. There are plenty of decent free ones around. Any of that sound useful?
A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
Joined: Aug 17, 2004
The tool does reside on a different server. This tool is basically for monitoring that all of the third party applications we are using are up and functioning properly. I used the HttpsURLConnection and return a different message good or bad depending on the server code I get back. I was hoping there was something built into weblogic that offered a little more detail but have not been able to find anything as of yet.