On Jan 1, 2009, at 1:49 PM, Miguel Arroz wrote:

Hi!

I'm trying to improve the support for rolling updates. This is what I want to happen when I deploy:

1) The new app is build with the SVN revision automatically appended to it's name. 2) SiteConfig.xml is updated by the build script to reflect the new name. 3) Manually use WOMonitor to launch new instances and set the old ones to die when no more sessions exist.

 Step 1 is done.

My problem is with step 2. If I try to change that file manually, WOMonitor will reset it to the old values, and not reflect the changes.

What if you don't have it open in a browser window? Are you writing a syntax error into the file?


What's the best way to solve this? Is there any way I can force monitor to reload the settings? Does killing and relauching monitor does the trick? Is that safe for the deployed environment?


JavaMonitor is (mostly) an editor for that file. It should not make any difference if you stop and restart it. Or don't run it at all.

Anjo added some things to the JavaMonitor in Wonder that may be of use to you.


Chuck

--
Chuck Hill             Senior Consultant / VP Development

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects






_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-deploy mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-deploy/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to