users@glassfish.java.net

Re: jpetstore sample - session not available in clustered environment

From: Alexis Moussine-Pouchkine <alexis.mp_at_sun.com>
Date: Tue, 23 Dec 2008 18:41:38 +0100

You're most likely missing a <distributable/> tag in web.xml (the
sample app doesn't have it).
-Alexis

On Dec 22, 2008, at 15:21, glassfish_at_javadesktop.org wrote:

> Hi All,
>
> I have configured a single machine clustered environment and I was
> able to test the clusterjsp application that comes with GlassFish.
>
> Then I tried to deploy the jpetstore application that come with
> Spring distribution. I followed the instructions to create the war
> and deployed to the cluster. I accessed it though one of the
> instance and added some items, when I switched to other instance I
> could not see the items added. Then I switched back to the previous
> instance to see that there are no items in the cart.
>
> What's wrong?
>
> Thanks,
> Sanat
> [Message sent by forum member 'sanatpadhy' (sanatpadhy)]
>
> http://forums.java.net/jive/thread.jspa?messageID=322942
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>