Le 2010-11-15 à 11:11, Greg Lappen a écrit : > Hi all, > > We just had an issue with our WebObjects application becoming unresponsive on > our new production server (a Mac Mini of course!). The java process was > running, but not even our login page would show up - we got the "No instance > available" message from mod_webobjects. > > What I'd like to do is setup something (probably monit) to monitor and test > the app periodically and restart the java process when necessary. I've used > monit in the past with Ruby on Rails and Java app servers, but not with > WebObjects. I'm wondering if anyone else has setup something similar, and > how you did it. Is there a way to invoke WOMonitor to start/stop the > application from the command line, so I can call it from monit, or am I > better off replacing WOMonitir with monit altogether and just maintaining the > startup options in my monit configuration?
I don't think you need to replace JavaMonitor with monit, you just have to use monit to monitor your apps. I use Nagios to monitor our apps, but I don't see why it wouldn't work with Monitor. Check the wiki for direct actions and REST calls you can call to monitor and restart your apps : http://wiki.objectstyle.org/confluence/display/WO/Project+Wonder+additions+to+wotaskd+and+JavaMonitor -- Pascal Robert prob...@macti.ca AIM/iChat : MacTICanada LinkedIn : http://www.linkedin.com/in/macti Twitter : pascal_robert _______________________________________________ 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