users@glassfish.java.net

Creating single instance of MDB in glassfish cluster

From: <glassfish_at_javadesktop.org>
Date: Fri, 12 Mar 2010 02:27:59 PST

Hi,

Please help me on the foloowing:-

Multiple instances of the MDBs are getting created in parallel (1 on each instance) even though the max-pool-size is set to 1. Due to this, the messages from a queue are getting consumed in parallel - over the 2 instances of the server.How do i create a single instance of the MDB on glassfish cluster?
Note : We are using EJB3.0 and glassfish 2.1 which does not support @Singleton annotation.
[Message sent by forum member 'seemahemant' (seemaa_verma_at_yahoo.com)]

http://forums.java.net/jive/thread.jspa?messageID=391451