Got it! I had to increase the timetolive value and also did not start my subscriber. I 
could see that it is working.   

I am just testing to see how the jdbc persistence is working. I stopped my MDB from 
the console and did see that the message are not reached to the MDB but they are in my 
JMS_MESSAGES table.  Now, when i tried to restart my MDB i get the following exception 
- 

WARN JMSContainerInvoker Create Recovery Thread 
org.jboss.ejb.plugins.jms.JMSContainerInvoker - JMS provider failure detected: 
javax.jms.IllegalStateException: The durable subscription is already in use. 
DurableSubscription[clientId=DurableSubscriberExample name=RedialMessageEJB 
selector=null]

So, now i tried the create operation on the MDB, i could see this in my logs - 
DEBUG http-0.0.0.0-8080-Processor24 org.jboss.system.ServiceController - Creating 
service 
jboss.j2ee:binding=message-driven-bean,jndiName=local/RedialMessageEJB,plugin=invoker,service=EJB
DEBUG http-0.0.0.0-8080-Processor24 org.jboss.system.ServiceController - Ignoring 
create request for service: 
jboss.j2ee:binding=message-driven-bean,jndiName=local/RedialMessageEJB,plugin=invoker,service=EJB
INFO Thread-17 STDOUT - Returning Instance

Now, what should i do so that my MDB receives messages again.  Restart jboss is the 
only workaround? Or am I doing something wrong?

Thanks!




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

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


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to