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
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to