jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Zitting (JIRA)" <j...@apache.org>
Subject [jira] Updated: (JCR-1109) Resource association not compliant to JTA spec
Date Thu, 20 Sep 2007 18:54:31 GMT

     [ https://issues.apache.org/jira/browse/JCR-1109?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jukka Zitting updated JCR-1109:
-------------------------------

    Affects Version/s: 1.1
                       1.1.1
                       1.2.1
                       1.2.2
                       1.2.3
                       1.3
        Fix Version/s: 1.3.2

Merged to the 1.3 branch in revision 577871.

> 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.1, 1.1.1, 1.2.1, 1.2.2, 1.2.3, 1.3, 1.3.1
>            Reporter: Dominique Pfister
>            Assignee: Dominique Pfister
>             Fix For: 1.3.2
>
>
> 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
> javax.transaction.xa.XAException
>         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.


Mime
View raw message