Hello
I'm getting following error when trying to create a page in AEM 6.0...
admin.createpagewizard.page.POST$jsp Error occur creating a new page
javax.jcr.InvalidItemStateException: OakState0001: Unresolved conflicts in /content/bmi/news/other/anuj-test---internal-server-error/jcr:content
at org.apache.jackrabbit.oak.api.CommitFailedException.asRepositoryException(CommitFailedException.java:237)
at org.apache.jackrabbit.oak.api.CommitFailedException.asRepositoryException(CommitFailedException.java:212)
at org.apache.jackrabbit.oak.jcr.delegate.SessionDelegate.newRepositoryException(SessionDelegate.java:661)
Caused by: org.apache.jackrabbit.oak.api.CommitFailedException: OakState0001: Unresolved conflicts in /content/bmi/news/other/anuj-test---internal-server-error/jcr:content
at org.apache.jackrabbit.oak.plugins.commit.ConflictValidator.failOnMergeConflict(ConflictValidator.java:115)
at org.apache.jackrabbit.oak.plugins.commit.ConflictValidator.propertyAdded(ConflictValidator.java:84)
at org.apache.jackrabbit.oak.spi.commit.CompositeEditor.propertyAdded(CompositeEditor.java:83)
As per the following post,
The below error could be due to two reasons. But since we are using OOTB feature of AEM, we cannot implement session refresh?
https://cqdump.wordpress.com/2015/11/02/aem-anti-pattern-long-running-sessions/
Any pointers?
Thanks in advance.
-Anuj Varshney
Is this happening for all pages or only certain templates?
Views
Replies
Total Likes
Only one template.
-Anuj
Views
Replies
Total Likes
HI,
I don't think that a long-running session is involved here, but there's rather a conflict between 2 concurrent processes. Does this occur in an out-of-the-box installation or do you have custom code already installed?
Jörg
Views
Replies
Total Likes
We have custom code already installed. Even though we are getting an Error message, but page is getting created fine.
-Anuj
"Even though we are getting an Error message, but page is getting created fine."
So the page is created - only issue is you are getting error log when using the specific template?
Views
Replies
Total Likes