[jboss-user] [JCA/JBoss] - stopDelivery on an EJB3 MDB causing an exception when messag

philipdodds do-not-reply at jboss.com
Mon Jul 20 12:06:58 EDT 2009


Hi

I have been working on a problem that started to appear when we used the stopDelivery method on the MessageContainerWrapper MBean in EJB3.  I have posted a couple of forum posts regarding the problem - see:

http://www.jboss.org/index.html?module=bb&op=viewtopic&t=155887

http://www.jboss.org/index.html?module=bb&op=viewtopic&t=155777

I wasn't sure if it was the EJB3 container or the JBM messaging bus that caused the problem and now as I dig deeper it looks like the problem might be in the teardown operation in the JCA connector during endpointdeactivation.

In order to show the problem I doctored the EJB3 MDB example code,  basically adding in a sleep on the MDB's (to make the transaction hold out so it is running when you call stopDelivery) and also introducing more messages so you have the system under load when you try and stopDelivery.

You can grab a copy of these changes here - http://www.fiveclouds.com/stuff/stopdelivery-mdb.zip

I didn't want to open a JIRA simply because I'm not sure in which component the problem lies - obviously if you prefer I open one please say and I can get it done.

I appreciate any help and thanks in advance

P

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

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



More information about the jboss-user mailing list