users@glassfish.java.net

Re: Glassfish 2.1 session replication not working!

From: vivekanandh sedhumadhavan <Vivekanandh.Sedhumadhavan_at_Sun.COM>
Date: Tue, 24 Feb 2009 08:37:45 -0800

Hi
You have to access these two nodes with a load balancer.pls see the
following page for setting up lb plugin with sun webserver.
https://glassfish.dev.java.net/javaee5/build/GlassFish_LB_Cluster.html.

You can still test without lb by adding one more instance to pc1 .
http://pc1:38080/clusterjsp
http://pc1:38081/clusterjsp


thanks
-vivek
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
>
>