Re: HotDeploy
Re: HotDeploy
- Subject: Re: HotDeploy
- From: Anjo Krank <email@hidden>
- Date: Thu, 05 May 2011 13:02:39 +0200
> is that what bounce does?
No.
What bounce does is look at the # of instances, start a number of instances on each server, then set all other minus the number of instances started to refuse and schedule, so that they shutdown after a while and restart. The net effect is that you have the same number of instances on each server as before.
You need to configure spare instances for that to work, though.
I have so far never seen a problem when overwriting class files, there are bugs in the WOApp._componentReference() methods that will "sometimes" lead to the re-reading of the new files even though WOIsCachingEnabled is on. This in turn will lead to errors in KVC handling when you reference items that don't exist in the old classes. If that happens in your page wrapper, you might imagine it won't end nice...
So basically, it's good for small changes which are mostly in code.
Cheers, Anjo
Am 04.05.2011 um 22:17 schrieb Jesse Tayler:
> oh!
>
> is that what bounce does?
>
> well then!
>
> so,
>
> 1 press bounce
>
> 2 deploy new files
>
> 3 wait for new instances to come up
>
> so, new instances have the new files and existing instance sessions reliably run on old files?
>
>
>
> On May 4, 2011, at 4:08 PM, Pascal Robert wrote:
>
>>
>> Le 2011-05-04 à 16:00, Daniel Mejia a écrit :
>>
>>> Hi,
>>>
>>> I have a question regarding the deploy. Is it possible to redeploy an application when the application is running, or I need to shutdown every instance, deploy the application and restart every instance?
>>
>> You will have classpath issues when doing that. It's better to use the "Bounce" feature of Monitor, which put the "old" app in "refuse new sessions" mode and start new instances with the new code. _______________________________________________
>> 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
_______________________________________________
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