[
https://issues.apache.org/jira/browse/OAK-432?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13493168#comment-13493168
]
angela commented on OAK-432:
----------------------------
sorry for that... i always run the complete build including integrationtest but
never restart ;)
hope it's fixed with revision 1407069, please reopen if that's not the case
> Repository does not restart with PrivilegeInitializer
> -----------------------------------------------------
>
> Key: OAK-432
> URL: https://issues.apache.org/jira/browse/OAK-432
> Project: Jackrabbit Oak
> Issue Type: Bug
> Reporter: Marcel Reutegger
> Assignee: angela
> Priority: Blocker
>
> PrivilegeInitializer tries to register built-in privileges on every startup
> and fails on a second start with:
> javax.jcr.RepositoryException: Privilege definition with name 'rep:readNodes'
> already exists.
> at
> org.apache.jackrabbit.oak.security.privilege.PrivilegeDefinitionWriter.writePrivilegeNode(PrivilegeDefinitionWriter.java:75)
> at
> org.apache.jackrabbit.oak.security.privilege.PrivilegeDefinitionWriter.writeDefinitions(PrivilegeDefinitionWriter.java:56)
> at
> org.apache.jackrabbit.oak.security.privilege.PrivilegeInitializer.initialize(PrivilegeInitializer.java:82)
> ... 34 more
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira