jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "codeparser (JIRA)" <j...@apache.org>
Subject [jira] Created: (JCR-2908) deadbeef-face-babe-cafe-babecafebabe has been modified externally
Date Thu, 03 Mar 2011 05:00:36 GMT
deadbeef-face-babe-cafe-babecafebabe has been modified externally
-----------------------------------------------------------------

                 Key: JCR-2908
                 URL: https://issues.apache.org/jira/browse/JCR-2908
             Project: Jackrabbit Content Repository
          Issue Type: Bug
          Components: jackrabbit-core
    Affects Versions: 2.2.0
         Environment: JDK1.6
WIN XP
            Reporter: codeparser


The use case is as follows:

1. create two node named "folder1" and "folder2"
2. create one thread which create twenty versionable nodes under folder1 within a transaction.
3. create another thread which create twenty versionable nodes under folder2 within a transaction.
4. repeat step 2 and step3 and then it will throw below Exception:

Caused by: org.apache.jackrabbit.core.state.StaleItemStateException: deadbeef-face-babe-cafe-babecafebabe
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)
	... 11 more

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message