users@glassfish.java.net

Re: Glassfish 2.1 session replication not working!

From: Jon Faldmo <jfaldmo_at_gmail.com>
Date: Tue, 24 Feb 2009 08:59:24 -0700

Sorry, I inadvertantly sent out the previous message while I was looking at
some settings in my DAS.

Maybe you already did these things but since you didn't mention them let me
give a few additional settings I had to setup.

When you deploy an application there is an option that says "Availability"
with a check box and "Enabled" next to it. That needs to be checked at
deploy time. If you didn't check that then you can enable it by navigating
the application and on the General Tab the option is there as well. Save the
change after enabling it.

In the DAS go to Configurations -> <clustername>-config->Availability
Service.The first two tabl (Availabiltiy Service, and Web Container
Availabiltiy) should have "Availability Service" enabled. (It was also
enable on my EJB Container Availability tab but not me JMS Availabilty
tab.) Also pick your "Persistence Type" under the Web Containiner
Availabilty . Memory worked for me. After that restart your cluster your
cluster and see if it works.

Hope that helps.
Jon


On Tue, Feb 24, 2009 at 8:46 AM, Jon Faldmo <jfaldmo_at_gmail.com> wrote:

> Have you enabled the High Availability?
> When you deploy clusterjsp there is
>
> On Tue, Feb 24, 2009 at 5:36 AM, <glassfish_at_javadesktop.org> wrote:
>
>> Please help
>> I have setup 1 cluster name "cluster1"
>>
>> 2 PCs, PC1(DAS) and PC2
>>
>> Node agent 1 = PC2 with instance BO1
>> Node agent 2 = PC1 with instance BO2
>>
>> After deploying clusterjsp ,
>>
>> I browse http://pc1:38080/clusterjsp
>>
>> i added a few session value and then i go to
>>
>> http://pc2:38080/clusterjsp
>>
>> there were no session values in it ,
>>
>> What i discover is the session id was different from both node-agent.
>>
>> So is my testing method correct or glassfish session replication is not
>> working ?
>> [Message sent by forum member 'adisonz' (adisonz)]
>>
>> http://forums.java.net/jive/thread.jspa?messageID=333526
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>>
>>
>