We normally implement a direct action - let's call it "checkSystemStatus" - that performs a fetch to ensure the database operates the way we want it. If this fetch succeeds, we just return the string "OK". Otherwise we return the exception message and the stack trace.
On a second system, we run a bunch of crontab controlled shell scripts (every 10 min) that perform a "wget" on that direct action, e.g. "http://YOURSERVER/cgi-bin/WebObjects/YOURAPP.woa/YOURINSTANCE/wa/checkSystemStatus". If that wget returns something different from "OK", we send an email with the result. Very simple, but it works for us. C.U.CW -- Christoph Wick Director Software Development STAR Healthcare Management GmbH, Pierstr. 8, 50997 Cologne, Germany Fon:+49 2236 33665-50 Fax:+49 2236 33665-90 www.starhealthcare.info ------------------------------------------------------------------- Sitz der Gesellschaft: Köln, Amtsgericht Köln, Reg.Nr.: HRB 55306 On 25.01.2010, at 07:40, Lachlan Deck wrote: > Hi all, > > just polling for ideas / techniques people use in detecting dead instances. > Naturally when there's lots of instances running in deployment it can be hard > to know if a particular instance has locked up for some reason (and this can > sometimes have a flow on affect with the adaptor). > > Thanks. > > with regards, > -- > > Lachlan Deck > > > > _______________________________________________ > Do not post admin requests to the list. They will be ignored. > Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) > Help/Unsubscribe/Update your Subscription: > http://lists.apple.com/mailman/options/webobjects-dev/c.wick%40academy.de > > This email sent to c.w...@academy.de _______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com