Uploaded image for project: 'Jahia Community'
  1. Jahia Community
  2. JAHIA-3175 SP4: File Manager: Mutliple delete of file with one file published in a file field -> exception raised
  3. JAHIA-3180

SP4: deleting a directoy with files used in live mode thought a web folder raise some exceptions + delete the locked files

    XMLWordPrintable

Details

    • Sub-task
    • Resolution: Done
    • Major
    • xCM 5.0 SP4
    • xCM 5.0 SP4
    • None
    • Sp4 21030

    Description

      I have some test directories under /shared (here a directory called "aaaaa") with some images which certain are used in published big text or file fields.

      With a web folder I tried to delete the "aaaaaa" directory. This raises a web folder error telling me that there was a problem and that the operation did not succeed. However all my files + directory effeectively disapear in my web interface leading to some broken images in my live mode.

      2008-06-10 14:56:18,109: INFO [org.apache.slide.webdav.JahiaWebdavServlet] - Webdav request [DELETE /site/test/shared/aaaa] user=[root]
      2008-06-10 14:56:28,734: FATAL [file-content-store] - Thread Thread[http-8080-Processor15,5,main] failed to prepare transaction branch http-8080-Processor15-1213102578171-303
      org.apache.commons.transaction.file.ResourceManagerException: http-8080-Processor15-1213102578171-303: Could not upgrade to commit lock for resource at '/2008-06-10/14-49/jahiaServer1/28_1.0' (ERR_NO_LOCK)
      at org.apache.commons.transaction.file.FileResourceManager$TransactionContext.upgradeLockToCommit(FileResourceManager.java:1481)
      at org.apache.commons.transaction.file.FileResourceManager.prepareTransaction(FileResourceManager.java:597)
      at org.apache.slide.store.txfile.AbstractTxFileStoreService.prepare(AbstractTxFileStoreService.java:211)
      at org.jahia.services.webdav.stores.JahiaDescriptorsStore.prepare(JahiaDescriptorsStore.java:1749)
      at org.apache.slide.transaction.SlideTransaction.commit(SlideTransaction.java:251)
      at org.apache.slide.transaction.SlideTransactionManager.commit(SlideTransactionManager.java:186)
      at org.apache.slide.common.NamespaceAccessTokenImpl.commit(NamespaceAccessTokenImpl.java:390)
      at org.apache.slide.webdav.method.AbstractWebdavMethod.run(AbstractWebdavMethod.java:436)
      at org.apache.slide.webdav.JahiaWebdavServlet.service(JahiaWebdavServlet.java:203)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      at org.jahia.bin.filters.esi.ESIFilter.doFilter(ESIFilter.java:110)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
      at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
      at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
      at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
      at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
      at java.lang.Thread.run(Thread.java:619)
      2008-06-10 14:56:28,734: WARN [org.apache.slide.transaction.SlideTransaction] - Prepare failure: Resource manager org.jahia.services.webdav.stores.JahiaDescriptorsStore@7a1904 Error code UNKNOWN in Transaction 303 xid [B@1b025fd-[B@18e2ef1 in thread http-8080-Processor15
      javax.transaction.xa.XAException: org.apache.commons.transaction.file.ResourceManagerException: http-8080-Processor15-1213102578171-303: Could not upgrade to commit lock for resource at '/2008-06-10/14-49/jahiaServer1/28_1.0' (ERR_NO_LOCK)
      at org.apache.slide.store.txfile.AbstractTxFileStoreService.createXAException(AbstractTxFileStoreService.java:460)
      at org.apache.slide.store.txfile.AbstractTxFileStoreService.prepare(AbstractTxFileStoreService.java:226)
      at org.jahia.services.webdav.stores.JahiaDescriptorsStore.prepare(JahiaDescriptorsStore.java:1749)
      at org.apache.slide.transaction.SlideTransaction.commit(SlideTransaction.java:251)
      at org.apache.slide.transaction.SlideTransactionManager.commit(SlideTransactionManager.java:186)
      at org.apache.slide.common.NamespaceAccessTokenImpl.commit(NamespaceAccessTokenImpl.java:390)
      at org.apache.slide.webdav.method.AbstractWebdavMethod.run(AbstractWebdavMethod.java:436)
      at org.apache.slide.webdav.JahiaWebdavServlet.service(JahiaWebdavServlet.java:203)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      at org.jahia.bin.filters.esi.ESIFilter.doFilter(ESIFilter.java:110)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
      at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
      at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
      at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
      at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
      at java.lang.Thread.run(Thread.java:619)
      2008-06-10 14:56:28,765: ERROR [org.apache.slide.webdav.method.AbstractWebdavMethod] - javax.transaction.RollbackException
      javax.transaction.RollbackException
      at org.apache.slide.transaction.SlideTransaction.commit(SlideTransaction.java:328)
      at org.apache.slide.transaction.SlideTransactionManager.commit(SlideTransactionManager.java:186)
      at org.apache.slide.common.NamespaceAccessTokenImpl.commit(NamespaceAccessTokenImpl.java:390)
      at org.apache.slide.webdav.method.AbstractWebdavMethod.run(AbstractWebdavMethod.java:436)
      at org.apache.slide.webdav.JahiaWebdavServlet.service(JahiaWebdavServlet.java:203)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      at org.jahia.bin.filters.esi.ESIFilter.doFilter(ESIFilter.java:110)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
      at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
      at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
      at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
      at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
      at java.lang.Thread.run(Thread.java:619)
      javax.transaction.RollbackException
      at org.apache.slide.transaction.SlideTransaction.commit(SlideTransaction.java:328)
      at org.apache.slide.transaction.SlideTransactionManager.commit(SlideTransactionManager.java:186)
      at org.apache.slide.common.NamespaceAccessTokenImpl.commit(NamespaceAccessTokenImpl.java:390)
      at org.apache.slide.webdav.method.AbstractWebdavMethod.run(AbstractWebdavMethod.java:436)
      at org.apache.slide.webdav.JahiaWebdavServlet.service(JahiaWebdavServlet.java:203)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      at org.jahia.bin.filters.esi.ESIFilter.doFilter(ESIFilter.java:110)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
      at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
      at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
      at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
      at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
      at java.lang.Thread.run(Thread.java:619)
      2008-06-10 14:56:28,765: ERROR [org.apache.slide.webdav.method.AbstractWebdavMethod] - java.lang.IllegalStateException
      java.lang.IllegalStateException
      at org.apache.slide.transaction.SlideTransactionManager.rollback(SlideTransactionManager.java:213)
      at org.apache.slide.common.NamespaceAccessTokenImpl.rollback(NamespaceAccessTokenImpl.java:410)
      at org.apache.slide.webdav.method.AbstractWebdavMethod.run(AbstractWebdavMethod.java:467)
      at org.apache.slide.webdav.JahiaWebdavServlet.service(JahiaWebdavServlet.java:203)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      at org.jahia.bin.filters.esi.ESIFilter.doFilter(ESIFilter.java:110)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
      at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
      at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
      at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
      at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
      at java.lang.Thread.run(Thread.java:619)
      2008-06-10 14:56:28,765: ERROR [org.apache.slide.webdav.JahiaWebdavServlet] - org.apache.slide.webdav.WebdavException: Internal Server Error
      org.apache.slide.webdav.WebdavException: Internal Server Error
      at org.apache.slide.webdav.method.AbstractWebdavMethod.run(AbstractWebdavMethod.java:460)
      at org.apache.slide.webdav.JahiaWebdavServlet.service(JahiaWebdavServlet.java:203)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      at org.jahia.bin.filters.esi.ESIFilter.doFilter(ESIFilter.java:110)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
      at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
      at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
      at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
      at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
      at java.lang.Thread.run(Thread.java:619)
      2008-06-10 14:56:28,781: INFO [org.apache.slide.webdav.JahiaWebdavServlet] - Processed [DELETE /site/test/shared/aaaa] in 10672ms

      TestRail: Results

        Attachments

          Activity

            People

              tdraier_old Thomas Draier (Inactive)
              scroisier Stephane Croisier (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                TestRail: Runs

                  TestRail: Cases

                    Packages

                      Version Package
                      xCM 5.0 SP4