[
https://issues.apache.org/jira/browse/JCR-2908?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13002572#comment-13002572
]
Jukka Zitting commented on JCR-2908:
------------------------------------
Can you check if this same problem occurs also without transactions?
Also, it would be great if the above steps could be turned into a JUnit test
case.
> 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: transactions, versioning
> 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