Re: Replacing JavaMonitor and wotaskd with Wonder's ones
Re: Replacing JavaMonitor and wotaskd with Wonder's ones
- Subject: Re: Replacing JavaMonitor and wotaskd with Wonder's ones
- From: Simon <email@hidden>
- Date: Sun, 17 Oct 2010 11:43:18 +0100
this is completely untested....
# Presuming you're deploying on standard mac os layout
# Move the apple ones out of the way
cd /System/Library/WebObjects/JavaApplications
mv JavaMonitor.woa JavaMonitor.woa.apple.version
mv wotaskd.woa wotaskd.woa.apple.version
# Get the WOnder versions and unpack tem
wget http://webobjects.mdimension.com/hudson/job/Wonder54/lastSuccessfulBuild/artifact/dist/JavaMonitor.woa.tar.gz
-O /System/Library/WebObjects/JavaApplications/JavaMonitor.woa.tar.gz
tar -zxf /System/Library/WebObjects/JavaApplications/JavaMonitor.woa.tar.gz
-C /System/Library/WebObjects/JavaApplications/WODeployment/
rm /System/Library/WebObjects/JavaApplications/WODeployment/JavaMonitor.woa.tar.gz
wget http://webobjects.mdimension.com/hudson/job/Wonder54/lastSuccessfulBuild/artifact/dist/wotaskd.woa.tar.gz
-O /System/Library/WebObjects/JavaApplications/wotaskd.woa.tar.gz
tar -zxf /System/Library/WebObjects/JavaApplications/WODeployment/wotaskd.woa.tar.gz
-C /System/Library/WebObjects/JavaApplications/WODeployment/
rm /System/Library/WebObjects/JavaApplications/WODeployment/wotaskd.woa.tar.gz
# Permissions
sudo chown -R appserver:appserveradm /System/Library/WebObjects/JavaApplications
sudo chmod -R 755 /System/Library/WebObjects/JavaApplications
# if you've done anything funky with your JavaMonitor / wotaskd
properties you will need copy that funkiness into the new
JavaMonitor/wotaskd properties
# Presuming you have launchd scripts
sudo launchctl restart com.apple.webobjects.wotaskd
... and it should pick up where you left off.
simon
On 17 October 2010 10:42, Farrukh Ijaz
<email@hidden> wrote:
> Dear Super Gurus!
>
> I want to use Wonder version of JavaMonitor and wotaskd. What is the recipe with minimum downtime to replace the existing JavaMonitor and wotaskd.
>
> Note: Keeping in mind there are dozens of applications already running on the servers and the JavaMonitor is also secured with the password.
>
> Thanks in advance,
>
> Farrukh _______________________________________________
> 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