Re: Installing new application
"Cheong Hee (Datasonic)" <[email protected]> Wed, 17 Oct 2007 11:19:29 +0800
| Newsgroups | gmane.comp.web.webobjects.admin |
|---|---|
| Message-ID | <005a01c8106c$874b98d0$1800a8c0@CHNGXP> |
Sometimes I found out that without restarting web server, application instances somehow will not get the latest components from new application. On safe site, I always restart the websever and app instance after new application is applied. ----- Original Message ----- From: "Owen McKerrow" <[email protected]> To: "Webobjects Developer" <[email protected]> Cc: <[email protected]> Sent: Monday, October 15, 2007 3:00 PM Subject: Re: Installing new application > Hi THere, > > Hmmm I would say that that is complete overkill. You should only need to > stop the app under Monitor, replace the app, update the database and then > start it back up again. My initial guess would be that under Java Monitor > you have your app set to auto restart. So your steps should be something > like this..... > > - Using monitor, turn off scheduling for the instance(s). > > - Using monitor, turn off Auto Restart for the instance(s). > > - Using monitor, stop my instance(s) from running. > > - Now replace the application and update databases. > > And repeat in reverse to turn them all back on. > > Owen McKerrow > WebMaster, emlab > Ph : +61 02 4221 5517 > http://emlab.uow.edu.au > > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - > - - - - - - - > > People who prefer typing to pointing then seem to prefer acronyms to save > typing :-) > -Denis Stanton, On people using Command Line Interfaces > > > On 15/10/2007, at 4:11 PM, Webobjects Developer wrote: > >> If I have a running server, what is the suggested way of updating an >> application on the server? >> Here is my current technique (below). I run one instance at once and >> this >> technique works consistently for me, but requires me to shut down the >> web >> server. >> >> It seems like if I skip any of the steps, webobjects keeps using some >> cached >> version of the old application. The sequence of steps (below) works, but >> it >> is tedious and has more downtime than I'd prefer. >> >> Is there an easier way to do this? >> >> >> Installing new webobjects application. >> >> - Using monitor, stop my instance(s) from running. >> >> - Using server admin, turn off monitor, save. >> >> - Using server admin, stop webobjects. >> >> - Using server admin, stop web. >> >> - Now replace the application and update databases. >> >> - Using server admin, start web. >> >> - Using server admin, start webobjects. >> >> - Using server admin, turn on monitor, save. >> >> - Using monitor, start my instance(s). >> _______________________________________________ >> WebObjects-admin mailing list >> [email protected] >> http://www.omnigroup.com/mailman/listinfo/webobjects-admin > > _______________________________________________ > WebObjects-admin mailing list > [email protected] > http://www.omnigroup.com/mailman/listinfo/webobjects-admin >