[opencms-dev] error message when publishing

Emmanuel Bernard bernard.manu59 at yahoo.fr
Mon Apr 29 22:11:37 CEST 2019


When I try to delete and publish a folder, I have this error message
Does someone know how I can lock the resource to be able to delete it ?

Error undeleting resource "/public/magasin/mt/commerce_esp/Escaparates/Decorados_de_escaparate/a_jeter_a_garder.html".
Cause: La ressource "/public/magasin/mt/commerce_esp/Escaparates/Decorados_de_escaparate/a_jeter_a_garder.html" nest pas verrouillée par lutilisateur courant "bernard".

org.opencms.lock.CmsLockException: Error undeleting resource "/public/magasin/mt/commerce_esp/Escaparates/Decorados_de_escaparate/a_jeter_a_garder.html".
	at org.opencms.lock.CmsLockException.createException(CmsLockException.java:70)
	at org.opencms.db.CmsDbContext.throwException(CmsDbContext.java:334)
	at org.opencms.db.CmsDbContext.report(CmsDbContext.java:286)
	at org.opencms.db.CmsSecurityManager.undelete(CmsSecurityManager.java:5735)
	at org.opencms.file.types.A_CmsResourceType.undelete(A_CmsResourceType.java:872)
	at org.opencms.file.types.A_CmsResourceTypeFolderBase.undelete(A_CmsResourceTypeFolderBase.java:351)
	at org.opencms.file.types.A_CmsResourceTypeFolderBase.undelete(A_CmsResourceTypeFolderBase.java:351)
	at org.opencms.file.types.A_CmsResourceTypeFolderBase.undelete(A_CmsResourceTypeFolderBase.java:351)
	at org.opencms.file.CmsObject.undeleteResource(CmsObject.java:3505)
	at org.opencms.workplace.commons.CmsUndelete.performDialogOperation(CmsUndelete.java:177)
	at org.opencms.workplace.commons.CmsUndelete.actionUndelete(CmsUndelete.java:94)
	at org.apache.jsp.WEB_002dINF.jsp.offline.system.workplace.commons.undelete_jsp._jspService(undelete_jsp.java:91)
	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)
	at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:605)
	at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:544)
	at org.opencms.flex.CmsFlexRequestDispatcher.includeExternal(CmsFlexRequestDispatcher.java:188)
	at org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:163)
	at org.opencms.loader.CmsJspLoader.service(CmsJspLoader.java:617)
	at org.opencms.flex.CmsFlexRequestDispatcher.includeInternalWithCache(CmsFlexRequestDispatcher.java:417)
	at org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:167)
	at org.opencms.loader.CmsJspLoader.dispatchJsp(CmsJspLoader.java:902)
	at org.opencms.loader.CmsJspLoader.load(CmsJspLoader.java:522)
	at org.opencms.loader.CmsResourceManager.loadResource(CmsResourceManager.java:1062)
	at org.opencms.main.OpenCmsCore.showResource(OpenCmsCore.java:1598)
	at org.opencms.main.OpenCmsServlet.doGet(OpenCmsServlet.java:153)
	at org.opencms.main.OpenCmsServlet.doPost(OpenCmsServlet.java:166)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
Caused by: org.opencms.lock.CmsLockException: La ressource "/public/magasin/mt/commerce_esp/Escaparates/Decorados_de_escaparate/a_jeter_a_garder.html" nest pas verrouillée par lutilisateur courant "bernard".
	at org.opencms.db.CmsSecurityManager.checkPermissions(CmsSecurityManager.java:6535)
	at org.opencms.db.CmsSecurityManager.checkPermissions(CmsSecurityManager.java:6499)
	at org.opencms.db.CmsSecurityManager.undelete(CmsSecurityManager.java:5730)
	... 48 more
Best regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20190429/f0511c2f/attachment.htm>


More information about the opencms-dev mailing list