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
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.
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
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
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...
Thank you very much! I had exactly the same problem.
subscriver instead of subscription