An error occurred. Please contact the administrator of the application.org.ametys.plugins.repository.AmetysRepositoryException: Unable to set property
at org.ametys.plugins.repository.metadata.jcr.JCRCompositeMetadata.setMetadata(JCRCompositeMetadata.java:828)
at org.ametys.odf.orgunit.OrgUnit.setUAICode(OrgUnit.java:291)
at org.ametys.odf.Init.init(Init.java:138)
at org.ametys.plugins.odfsync.Init.init(Init.java:55)
at org.ametys.runtime.servlet.RuntimeServlet._initPlugins(RuntimeServlet.java:210)
at org.ametys.runtime.servlet.RuntimeServlet.init(RuntimeServlet.java:173)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1206)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1026)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4421)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4734)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:675)
at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:601)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
at org.apache.catalina.core.StandardService.start(StandardService.java:525)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
Caused by: javax.jcr.lock.LockException: Cannot add lock token: lock already held by other session. (lock held by node /ametys:root/ametys:odf/ametys:contents/55/83/orgunit-root-orgunit)
at org.apache.jackrabbit.core.lock.LockInfo.throwLockException(LockInfo.java:269)
at org.apache.jackrabbit.core.lock.LockManagerImpl.addLockToken(LockManagerImpl.java:805)
at org.apache.jackrabbit.core.lock.XALockManager.addLockToken(XALockManager.java:218)
at org.apache.jackrabbit.core.lock.SessionLockManager.addLockToken(SessionLockManager.java:95)
at org.ametys.plugins.repository.metadata.jcr.JCRCompositeMetadata._checkLock(JCRCompositeMetadata.java:1242)
at org.ametys.plugins.repository.metadata.jcr.JCRCompositeMetadata.setMetadata(JCRCompositeMetadata.java:823)
... 31 more