Hi, A colleague has wrote a little application called WOAlive : http://www.univ-lr.fr/apps/support/woalive/index.html (sorry all is in french)
In some cases WebObjects applications are blocked without the associated java process ends and the application (in this state) still continues to send WOLifeBeat to WOTaskd, which therefore can not detect the crash. Also the application continues to accept TCP connections but can not respond to an HTTP request. WOAlive contacts WOTaskd to get (in XML) the list of all instances of applications that must be running on the server. Then it access each instances on their respective port with an HTTP connection. If after a while (wait time is configurable), the instances does not respond, the 'ForceQuit' is sent to WOTaskd which will restart the faulty instance. As it is not a daemon you have to put it in cron to launch it every X minutes on the server the command line for using it: |java -jar WOAlive.jar ||-mailAdmin| /emailAddress/ |-smtpHost| /hostname/ |-password| /cryptedMonitorPassword/ [|-connTimeout| /milliseconds/] [|-port| /wotaskdPort/] [|-verbose|] source : http://svn.cru.fr/cocktail/OUTILS/WOAlive/trunk/ binary for java 1.4 : http://www.univ-lr.fr/actes/ged/courrier/commun/0504171825.0/WOAlive.jar (you may need extra jar for running it http://svn.cru.fr/cocktail/OUTILS/WOAlive/trunk/lib/) I hope it could help Aurelien _______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]
