On 02/23/2011 01:52 AM, Paul Hoadley wrote:
> Hi Simon,
> 
> On 23/02/2011, at 10:36 AM, Simon wrote:
> 
>> we deploy on amazon ec2, so we just boot an brand shiny new ec2
>> instance and build it up with the new version of our apps, then whack
>> it behind the apps elastic load balancer. the new ec2 instances start
>> to pick up sessions whilst the old ones wind down.
> 
> How do you prevent the "old" instances from picking up new 
> sessions—presumably using JavaMonitor and specifically setting "refuse new 
> sessions" on them?  (That is, there's nothing special you're doing with 
> AWS/ELB here, is there?)
In order to have the "refuse new sessions" button working with WebObjects >= 
5.3 you need to start your instance with
-WODirectConnectEnabled NO

Aurélien

 _______________________________________________
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