dev@glassfish.java.net

Re: HA/in-memory replication

From: Jan Luehe <Jan.Luehe_at_Sun.COM>
Date: Fri, 06 Apr 2007 10:46:19 -0700

Sreeram Duvur wrote On 04/06/07 09:25 AM,:

> Ashish Sahni wrote:
>
>> Hi Folks,
>>
>> Is there a way to test in-memory replication between two instance of
>> a cluster
>> on a single machine without setting up the sun-webserver +
>> load-balancer ?
>
> Don't believe that would work. Because the new request is going to a
> different URL, sessionId does not travel to the new target.


I should work as long as the domain (host) name remains the same, and
only the
port info changes.

The browser decides which cookies to append to a request based on the
request URL's
domain (host) name and context root, ignoring any port info.

Jan

>
> All data in session must be serializable..
>
>> Can another glassfish instance be configured to act as the load
>> balancer ?
>
> No
>
> We wrote a tutorial on this topic for 8.1, for it should apply here
> mostly.
> http://developers.sun.com/appserver/reference/techart/load-balancing.html
>
>>
>> Thanks
>> Ashish
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>
>