[opencms-dev] Clone Module Isn't registering the new module in OpenCms 9

Alessandro Magnolo alessandro.magnolo at gmail.com
Wed Nov 13 14:19:02 CET 2013


sorry I didn't see that you fixed it already.
it works, thank you!

On Wed, Nov 13, 2013 at 2:12 PM, Alessandro Magnolo
<alessandro.magnolo at gmail.com> wrote:
> here you are:
>
>
> 13 Nov 2013 12:49:09,823 ERROR [e.tools.modules.CmsCloneModule: 352]
> Error unlocking resource
> "/system/modules/it.imteam.bootstrap.formatters/search/configuration.js"
> by current user "amagnolo" - Unable to unlock
> "/system/modules/it.imteam.bootstrap.formatters/search/configuration.js",
> the lock is inherited from a parent folder.
> org.opencms.lock.CmsLockException: Error unlocking resource
> "/system/modules/it.imteam.bootstrap.formatters/search/configuration.js"
> by current user "amagnolo" - Unable to unlock
> "/system/modules/it.imteam.bootstrap.formatters/search/configuration.js",
> the lock is inherited from a parent folder.
>     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.unlockResource(CmsSecurityManager.java:6096)
>     at org.opencms.file.types.A_CmsResourceType.unlockResource(A_CmsResourceType.java:892)
>     at org.opencms.file.CmsObject.unlockResource(CmsObject.java:3608)
>     at org.opencms.workplace.tools.modules.CmsCloneModule.replaceModuleName(CmsCloneModule.java:1183)
>     at org.opencms.workplace.tools.modules.CmsCloneModule.executeModuleClone(CmsCloneModule.java:296)
>     at org.apache.jsp.WEB_002dINF.jsp.offline.system.modules.com_alkacon_bootstrap_formatters.elements.module_002dclone_002daction_jsp._jspService(module_002dclone_002daction_jsp.java:89)
>     at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
>     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:722)
>     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:641)
>     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:926)
>     at org.opencms.loader.CmsJspLoader.load(CmsJspLoader.java:523)
>     at org.opencms.loader.CmsResourceManager.loadResource(CmsResourceManager.java:1183)
>     at org.opencms.main.OpenCmsCore.showResource(OpenCmsCore.java:1719)
>     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:641)
>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
>     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:168)
>     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
>     at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:929)
>     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:1002)
>     at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:585)
>     at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)
>     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
>     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
>     at java.lang.Thread.run(Thread.java:722)
> Caused by: org.opencms.lock.CmsLockException: Unable to unlock
> "/system/modules/it.imteam.bootstrap.formatters/search/configuration.js",
> the lock is inherited from a parent folder.
>     at org.opencms.lock.CmsLockManager.removeResource(CmsLockManager.java:569)
>     at org.opencms.db.CmsDriverManager.unlockResource(CmsDriverManager.java:8987)
>     at org.opencms.db.CmsSecurityManager.unlockResource(CmsSecurityManager.java:6094)
>     ... 45 more



More information about the opencms-dev mailing list