[jboss-user] [EJB/JBoss] - Discrepancy in transaction between jboss-3.2.6 and jboss4.0.
sivaganesh
do-not-reply at jboss.com
Tue Sep 4 08:33:47 EDT 2007
Scenario:
Methods Transaction Attribute
Method-1 ----> NotSupported
Method-2 ----> RequiresNew
Method-3 ----> RequiresNew
Method-4 ----> RequiresNew
In Method-1, method-2, method-3 and method-4 are called in sequence. When ever an application exception is thrown from method-3,
i am getting
java.lang.IllegalStateException: setRollbackOnly() not allowed without a transaction.
exception in jboss4.0.5-GA version.
But this is working correctly in jboss-3.2.6 . We are not getting java.lang.IllegalStateException and are able to catch the application exception.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4080856#4080856
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4080856
More information about the jboss-user
mailing list