• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Application monitoring
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Application monitoring


  • Subject: Re: Application monitoring
  • From: Pascal Robert <email@hidden>
  • Date: Mon, 15 Nov 2010 11:38:51 -0500

Yes, the SiteConfig.xml is the same. Usually, I put the Wonder versions in /Library/WebObjects/JavaApplications (or /opt/Local/Library/WebObjects/JavaApplications if it's on Linux) and I change the startup scripts for wotaskd and JavaMonitor to use the Wonder versions. We are running the Wonder versions for months without any problems.

Interesting...that's sort of what I was looking for.  Is it pretty straightforward to migrate from the standard JavaMonitor and wotaskd to the Project Wonder versions?  We haven't been using them so far.  Thanks very much for the help!

On Mon, Nov 15, 2010 at 11:17 AM, Pascal Robert <email@hidden> wrote:

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
email@hidden

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      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Application monitoring
      • From: Valerio Luccio <email@hidden>
    • Re: Application monitoring
      • From: Valerio Luccio <email@hidden>
References: 
 >Application monitoring (From: Greg Lappen <email@hidden>)
 >Re: Application monitoring (From: Pascal Robert <email@hidden>)
 >Re: Application monitoring (From: Greg Lappen <email@hidden>)

  • Prev by Date: Re: Application monitoring
  • Next by Date: Which One Preferred
  • Previous by thread: Re: Application monitoring
  • Next by thread: Re: Application monitoring
  • Index(es):
    • Date
    • Thread