Hi!

I am using jboss-4.0.2 finalRelease.
I am calling a stateless session bean from a message-driven-bean (I tried the 
method in the stateless session bean with Required and RequiresNew as 
transaction type). The purpose of the stateless session bean is mainly putting 
data into the database.

When I try to shutdown the server while the stateless session bean is 
transferring data into the database, the session bean still tries to commit the 
data to the database but not the whole data is committed into the DB and no 
rollback is performed. The message driven bean seems to to think that it has 
finished because it does not restart after the restart of the server.

If I am calling the stateless session bean directly from an Struts-Action-Class 
and I perform the shutdown during the transaction the transaction is properly 
rolled back.

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

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


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to