Re: Application monitoring
Re: Application monitoring
- Subject: Re: Application monitoring
- From: Michael Gargano <email@hidden>
- Date: Tue, 16 Nov 2010 08:11:25 -0800
- Acceptlanguage: en-US
- Thread-topic: Application monitoring
This actually brings me to a question I've been "wonder"-ing about....
Do I need to use WOInstaller.jar to install the base frameworks or do I just need a script to create the directory structure and embed all the frameworks into my apps?
If so, which directories need to be created?
Also...
Do wotaskd and JavaMonitor from Apple have the frameworks embedded or must I use the Wonder versions?
Thanks.
-Mike
On Nov 15, 2010, at 1:47 PM, Pascal Robert wrote:
>
> Le 2010-11-15 à 13:39, Valerio Luccio a écrit :
>
>> Pascal Robert wrote:
>>> 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.
>> Pascal,
>> a couple of questions about this. I wanted to replace the JavaMonitor and wotaskd on my OS X Server with the project Wonder version to take advantage of the added features (mainly command line interaction).
>> • Is there a bundle with just these two programs or do I have to download and run the whole WOInstaller.jar from mdimension, and if I do will it interfere with the Apple installed WebObjects ?
>> • Where will the project wonder look for the SiteConfig.xml file ? The Apple version is in /Library/WebObjects/Configuration (on my box, anyway).
>
> No need to install WO. You can get a download of wotaskd and JavaMonitor from Hudson that have the required frameworks in it.
>
> http://webobjects.mdimension.com/hudson/job/Wonder54/lastSuccessfulBuild/artifact/dist/wotaskd.woa.tar.gz
> http://webobjects.mdimension.com/hudson/job/Wonder54/lastSuccessfulBuild/artifact/dist/JavaMonitor.woa.tar.gz
>
> About SiteConfig.xml, it will find the one in /Library/WebObjects/Configuration automatically. So the steps are :
>
> - Download the two archives from Hudson
> - Decompress/unarchive them and put them in /Library/WebObjects/JavaApplications
> - Change the owner and group of the files to be appserver/appserveradm (chown -R appserver:appserveradm /Library/WebObjects/JavaApplications)
> - Change the paths in the launchd scripts (they are probably in /Library/LaunchDaemons) so that the path start with /Library/WebObjects/JavaApplications instead of /System (in a word, just remove /System from the path)
> - Stop your WO apps
> - Stop (with launchctl) the current version of JavaMonitor and wotaskd
> - Start them (again, with launchctl)
>
> That's it. Beside the launchd files, you have nothing else to modify.
>
>
> --
> 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
>
_______________________________________________
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