jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dominique Pfister (JIRA)" <j...@apache.org>
Subject [jira] Created: (JCR-1109) Resource association not compliant to JTA spec
Date Tue, 04 Sep 2007 09:30:57 GMT
Resource association not compliant to JTA spec

                 Key: JCR-1109
                 URL: https://issues.apache.org/jira/browse/JCR-1109
             Project: Jackrabbit
          Issue Type: Bug
          Components: jca
    Affects Versions: 1.3.1
            Reporter: Dominique Pfister
            Assignee: Dominique Pfister

According to JTA specifcation, section 3.4.4 (Transaction Association), a resource's association
may be ended (state T0 in the spec's table) in the suspended state (T2), i.e. without having
been resumed (T1) again. The code in XASessionImpl.end(), however, assumes that the resource
must be associated in order to end its association. This causes an exception in JBoss 4.0.5.GA:

09:37:15,525 WARN  [TransactionImpl] XAException: tx=TransactionImpl:XidImpl[FormatId=257,
GlobalId=kneipix.dev.day.com/14, BranchQual=, localId=14] errorCode=XAER_PROTO
        at org.apache.jackrabbit.core.XASessionImpl.end(XASessionImpl.java:279)
        at org.apache.jackrabbit.jca.TransactionBoundXAResource.end(TransactionBoundXAResource.java:46)
        at org.jboss.tm.TransactionImpl$Resource.endResource(TransactionImpl.java:2143)
        at org.jboss.tm.TransactionImpl$Resource.endResource(TransactionImpl.java:2118)
        at org.jboss.tm.TransactionImpl.endResources(TransactionImpl.java:1462)
        at org.jboss.tm.TransactionImpl.beforePrepare(TransactionImpl.java:1116)
        at org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:324)
        at org.jboss.tm.TxManager.commit(TxManager.java:240)
        at org.jboss.aspects.tx.TxPolicy.endTransaction(TxPolicy.java:175)

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message