[jboss-jira] [JBoss JIRA] (WFLY-4511) CMTTxInterceptor.invokeInOurTx contains stale code handling ApplicationDeadlockException

Chao Wang (JIRA) issues at jboss.org
Tue Apr 14 01:48:18 EDT 2015


Chao Wang created WFLY-4511:
-------------------------------

             Summary: CMTTxInterceptor.invokeInOurTx contains stale code handling ApplicationDeadlockException
                 Key: WFLY-4511
                 URL: https://issues.jboss.org/browse/WFLY-4511
             Project: WildFly
          Issue Type: Bug
          Components: EJB
    Affects Versions: 9.0.0.Beta2
            Reporter: Chao Wang
            Assignee: Chao Wang
            Priority: Minor


Description of problem:
* git://git.app.eng.bos.redhat.com/jbossas/jboss-as.git
* ejb3/src/main/java/org/jboss/as/ejb3/tx/CMTTxInterceptor.java

There is stale code catching ApplicationDeadlockException and attempting to retry the transaction. This results in a failure if the exception is raised and retry does not occur.

Version-Release number of selected component (if applicable):


How reproducible:
Consistently

Steps to Reproduce:
* Visual Inspection
OR
* Register a transaction Synchronization object which raises the exception during beforeCompletion()

Note that EAP no longer raises this exception. The catch block code handling ApplicationDeadlockException seems to be an artifact of EAP 4 and should simply be removed.

Actual results:
Retry does not occur

Expected results:
Retry should not be attempted by this code



--
This message was sent by Atlassian JIRA
(v6.3.11#6341)


More information about the jboss-jira mailing list