-
1. Re: Check if server is running correctly
juhalindfors May 23, 2003 12:17 PM (in response to julia)you could always write a simple piece of code that attempts to ping a well known service running on your JBoss instance (such as a servlet on 8080). This however only determines that the specific service is running (no exceptions) or that the entire JVM hasn't crashed. Trying to figure out if any of the services are throwing an exception is a bit trickier, I guess you could try and parse the server.log every now and then and see if there are any problems there.
-
2. Re: Check if server is running correctly
julia May 26, 2003 4:35 AM (in response to julia)Hallo!
The ping idea is okay but not the all in one approach i would prefer.
parsing the logfile is not what I wanted.
I thought about something like "java -jar somejar.jar someoption" that indicates wheter the server is running or not. somethings that comes along with the server itself.
is there anything?
Thanks, Julia. -
3. Re: Check if server is running correctly
juhalindfors May 28, 2003 7:09 AM (in response to julia)How would the server know what all services you've deployed and then how to determine all your individual services are actually running correctly?
I cannot see an obvious way to do this since each and every service you deploy works differently, so any detection needs to be service specific, not an all-in-one solution.
Maybe you have a more specific problem you'd like to solve?