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
<farrukh.i...@fuegodigitalmedia.com> 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      (Webobjects-dev@lists.apple.com)
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/webobjects-dev/simon%40potwells.co.uk
>
> This email sent to si...@potwells.co.uk
>
 _______________________________________________
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

Reply via email to