users@glassfish.java.net

Re: Glassfishv2ur2 two machine cluster and Singleton class

From: Alexis Moussine-Pouchkine <alexis.mp_at_sun.com>
Date: Tue, 23 Feb 2010 21:23:00 +0100

Where does the singleton implementation come from?
Does it explicitly support clustering (the semantics are not quite the same)?
-Alexis

PS: v2ur2 is a bit old. Can you upgrade to 2.1.1?

On 23 févr. 2010, at 16:09, glassfish_at_javadesktop.org wrote:

> I using glassfish v2ur2 version for my cluster. I have created cluster of two nodes running on two different machines. My enterprise application which has singleton class was runinng fine on single instance glassfish server. But when i try to deploy the same application on the newly created cluster of two machines, the apllication is behaving differenly, because the singleton class is getting created on both the galssfish node instances.
>
> Please give me some idea on how to overcome this problem.
> [Message sent by forum member 'mavula8743' (m_k_avula_at_yahoo.com)]
>
> http://forums.java.net/jive/thread.jspa?messageID=388235
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>