I have a message-driven EJB which is listening to a queue which can only have a single 
listener (the queue can only be dequeued by one listener) so when I have one node 
running in a cluster a second node can't start due to this restriction (at least this 
is what appears to be going on).  I am running both nodes using an Oracle AQ JMS 
Provider patch, and I have the Message-Driven EJB using a singleton configuration 
(this setup works fine in a non-clustered setting).

Below is the start of the exception messages I get on the second node after running 
the first node on another machine (with no errors):


17:27:47,983 ERROR [DLQHandler] Initialization failed DLQHandler
javax.jms.JMSException: Error creating the dlq connection: DLQ not bound
        at org.jboss.ejb.plugins.jms.DLQHandler.createService(DLQHandler.java:171)
        at 
org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:237)
        at org.jboss.system.ServiceMBeanSupport.create(ServiceMBeanSupport.java:164)



The nodes can see each other, as seen by the following messages:


17:27:38,499 INFO  [DefaultPartition] Number of cluster members: 2
17:27:38,499 INFO  [DefaultPartition] Other members: 1
17:27:38,499 INFO  [DefaultPartition] Fetching state (will wait for 60000 
milliseconds):
17:27:39,210 INFO  [HANamingService] Listening on /0.0.0.0:1100
17:27:39,220 INFO  [DetachedHANamingService$AutomaticDiscovery] Listening on 
/0.0.0.0:1102
, group=230.0.0.4, HA-JNDI address=10.10.10.78:1100



What can I do to make it so that the MDB is only started once, so that only the first 
node's MDB listens to the queue ?

My systems are running Windows XP and JBoss 3.2.5, the JMS Provider is an Oracle 
Advanced Queue (using the patch provided for the JBoss/OAQ JMS Provider from 
sourceforge.net).

Thanks in advance for any suggestions.


-James

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843030#3843030

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843030


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to