Hi everyone,

We are currently experiencing an issue when multi users (more than 4) are 
accessing the repository and are checkin many nodes (more than 100). These 
checkin are performed within a XATransaction.
The result is the failure of the checkin process for one or more users and the 
rollback of the transaction. The root cause is a StaleItemStateException when 
accessing one of the subnodes in the versionStorage node.
Does anyone experience this problem? Do you know if there is a related JCR log?
We found this : https://issues.apache.org/jira/browse/JCR-3422
But our problem is not really the same, as the StaleItemStateException appears 
when accessing a node managed by JackRabbit.

Here is the reported exception :

Caused by: org.apache.jackrabbit.core.TransactionException: Unable to prepare 
transaction.
        at 
org.apache.jackrabbit.core.state.XAItemStateManager.prepare(XAItemStateManager.java:169)
        at 
org.apache.jackrabbit.core.version.InternalXAVersionManager.prepare(InternalXAVersionManager.java:582)
        at 
org.apache.jackrabbit.core.TransactionContext.prepare(TransactionContext.java:157)
        ... 33 more
Caused by: org.apache.jackrabbit.core.state.StaleItemStateException: 
b103ac6b-7f40-49a5-b2d2-e8786862723d has been modified externally
        at 
org.apache.jackrabbit.core.state.SharedItemStateManager$Update.begin(SharedItemStateManager.java:663)
        at 
org.apache.jackrabbit.core.state.SharedItemStateManager.beginUpdate(SharedItemStateManager.java:1457)
        at 
org.apache.jackrabbit.core.state.XAItemStateManager.prepare(XAItemStateManager.java:163)
        ... 35 more

Thanks in advance,
Adrien



Information in this e-mail and any attachments is confidential, and may not be 
copied or used by anyone other than the addressee, nor disclosed to any third 
party without our permission. There is no intention to create any legally 
binding contract or other binding commitment through the use of this electronic 
communication unless it is issued in accordance with the Experian Limited 
standard terms and conditions of purchase or other express written agreement 
between Experian Limited and the recipient. Although Experian has taken 
reasonable steps to ensure that this communication and any attachments are free 
from computer virus, you are advised to take your own steps to ensure that they 
are actually virus free. 

Companies Act information: Registered name: Experian Limited. Registered 
office: Landmark House, Experian Way, NG2 Business Park, Nottingham, NG80 1ZZ, 
United Kingdom. Place of registration: England and Wales. Registered number: 
653331

Reply via email to