jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From PatrickConti <patrick.me...@continentale.de>
Subject Re: NoSuchItemStateException after EJBTransactionRolledbackException
Date Tue, 24 Aug 2010 11:51:36 GMT


The problem seems to be that ItemStates that are stored in
InternalXAVersionmanager are not rollbacked until the boolean vmgrLocked is

see Line 624 of InternalXAVersionManager last changed by mreutegg in
Revision 637865

This variable can only be true after an prepare Call to the XASession (First
Call in 2 Phase Commit) . But our "rollback trigger" occurs before the call
of XASession.prepare.
see Line 654 of InternalXAVersionManager

The changeset
checks logging before commit. I think checking vmgrLocked in rollback case
is wrong.

Does it have any other side-effect if we remove the check of vmgrLocked in
rollback case?
Revision 637865 was for fixing JCR-1480 
View this message in context: http://jackrabbit.510166.n4.nabble.com/NoSuchItemStateException-after-EJBTransactionRolledbackException-tp2303542p2336527.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.

View raw message