Hi.

I find at
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3807209
a similar problem with the next scenario, but is not identical.

I have the following problem:
into a MessageListener class is implemented:

try {
      call one session bean method that have Required transaction attribute
      (SessionBean1: methodA)

      call other session bean method that have Required
      (SessionBean2: methodB) with some parameter values
} catch(Exception ) {
      call (SessionBean2: methodB) with other parameter values
} finally {
       call SessionBean3:methodC with requiresNew transactional type
}

All I want is that the finally block is executed always, and that whatever 
SessionBean3 is doing in his methodC is committed even when the MessageListener 
that is calling SessionBean3 is rolling back his transaction because of a 
failure. However, what I can see from my unit testing is that the transaction 
of SessionBean3 is NOT committed at all."



Thank you for support.



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

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


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to