[jboss-cvs] JBossAS SVN: r60400 - branches/Branch_4_2/server/src/main/org/jboss/ejb/plugins.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Wed Feb 7 15:14:32 EST 2007


Author: weston.price at jboss.com
Date: 2007-02-07 15:14:32 -0500 (Wed, 07 Feb 2007)
New Revision: 60400

Modified:
   branches/Branch_4_2/server/src/main/org/jboss/ejb/plugins/TxInterceptorCMT.java
Log:
[JBAS-3611] Handle IllegalStateException when thrown from JBossTS on 
receiving an XAException during 2PC protocol. 

Modified: branches/Branch_4_2/server/src/main/org/jboss/ejb/plugins/TxInterceptorCMT.java
===================================================================
--- branches/Branch_4_2/server/src/main/org/jboss/ejb/plugins/TxInterceptorCMT.java	2007-02-07 19:27:50 UTC (rev 60399)
+++ branches/Branch_4_2/server/src/main/org/jboss/ejb/plugins/TxInterceptorCMT.java	2007-02-07 20:14:32 UTC (rev 60400)
@@ -516,7 +516,12 @@
       catch (SystemException e)
       {
          throwJBossException(e, invocation.getType());
-      }
+      
+      }catch(IllegalStateException e)
+      {
+         throwJBossException(e, invocation.getType());
+         
+      }      
       finally
       {
          // reassociate the oldTransaction with the Invocation (even null)




More information about the jboss-cvs-commits mailing list