-
1. Re: Durable MDB
adiraju Jul 9, 2002 6:47 AM (in response to navneet)Similar Problem here. I cant get Durable MDB working.
I get the following exception when i change NonDurable to Durable in ejb-jar.xml.
15:28:04,656 WARN [JMSContainerInvoker] JMS provider failure detected:
org.jboss.mq.SpyJMSException: Cannot subscribe to this Destination: null
at org.jboss.mq.Connection.addConsumer(Connection.java:974)
at org.jboss.mq.SpyConnectionConsumer.(SpyConnectionConsumer.java:73)
at org.jboss.mq.SpyConnection.createDurableConnectionConsumer(SpyConnection.java:102)
at org.jboss.ejb.plugins.jms.JMSContainerInvoker.innerCreate(JMSContainerInvoker.java:548)
There was an earlier thread on this topic which ran dry.
Can somebody put together a small summary/tutorial for MDB/JMS config on JBoss 3.0.0. There is a lot of confusion going through current open documentation. Many different xml's have changed. -
2. Re: Durable MDB
joelvogt Jul 9, 2002 8:24 PM (in response to navneet)Durable mdb's do work, but the problem you may have is that mdbs can only subscribe durably to one destination. (If I remember correctly ;)) As such, might not fix the first problem.
As for getting it to work, probably easiest thing to do is put a brief post of your xml config so we can have a look for you -
3. Re: Durable MDB
giorgio42 Jul 12, 2002 1:03 PM (in response to navneet)
I do not have enough time to put together a tutorial,
but I ran into the same problem, and it was a typo
in my jboss.xml file (wrote "mdb-subscriber-id" instead
of "mdb-subscription-id").
Make sure you have the DTD declared correctly at the top
of the jboss.xml file, so that the XML parser can catch this.
May be it is of help to you...
Georg -
4. Re: Durable MDB
amitshetty Aug 21, 2002 7:42 PM (in response to navneet)Thank you very much! I had exactly the same problem.
subscriver instead of subscription