org.apache.jackrabbit.webdav.DavException: Precondition Failed

Atlassian JIRA | Mauro Fernandez Badii [Atlassian] | 2 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    On IE10 or IE11, "Edit in Office" opens the file in Office correctly the first time you click on the option. Then you save or close the Office document and back on Confluence, clicking again on "Edit in Office" nothing happens. In order to use the functionality again the IE window has to be closed and reopened. *Environment:* - Windows 7 - MS Office 2010 (no compatibility pack is installed) - Java, via *Programs and Features* versions are : -- Java 7 Update 71 (64bit) v7.0.710 -- Java SE Development Kit 7 Update 71 (64bit) v1.7.0.710 -- Java 6 Update 21 v6.0.210 -- Java 6 Update 39 (64bit) v6.0.390 - Browsers -- IE11 -- IE10 *Steps to Reproduce:* # Add Word 2010 document to a page. (a one sentence document would do) # Click on "Edit in Office" and after entering your Confluence credentials the file will be opened in Office Word 2010 # Save then Close the document in Word. # Click on "Edit in Office". *Expected Result:* The document is once again opened in Office Word 2010 *Actual Result:* Nothing happens. No errors displayed on screen. Confluence logs an error: (full confluence-log.txt attached) {noformat} 2015-06-19 11:38:01,787 ERROR [TP-Processor36] [extra.webdav.servlet.ConfluenceWebdavServlet] service Unexpected error -- url: /wiki/plugins/servlet/confluence/editinword/13139974/attachments/SimpleWordDocument.docx | userName: user-name org.apache.jackrabbit.webdav.DavException: Precondition Failed at org.apache.jackrabbit.webdav.lock.SerializableLockManager.releaseLock(SerializableLockManager.java:185) at com.atlassian.confluence.extra.webdav.resource.AbstractConfluenceResource.unlock(AbstractConfluenceResource.java:416) at org.apache.jackrabbit.webdav.server.AbstractWebdavServlet.doUnlock(AbstractWebdavServlet.java:709) {noformat} but the problem is when clicking the option a second time. The first time it opens correctly which proves that the [Office Connector Prerequisites|https://confluence.atlassian.com/display/ConfCloud/Office+Connector+Prerequisites] are met. IE Private Mode exhibits the exact same behaviour. *Workaround:* Close Internet Explorer and reopen it again to use the "Edit in Office" functionality again.

    Atlassian JIRA | 2 years ago | Mauro Fernandez Badii [Atlassian]
    org.apache.jackrabbit.webdav.DavException: Precondition Failed
  2. 0

    On IE10 or IE11, "Edit in Office" opens the file in Office correctly the first time you click on the option. Then you save or close the Office document and back on Confluence, clicking again on "Edit in Office" nothing happens. In order to use the functionality again the IE window has to be closed and reopened. *Environment:* - Windows 7 - MS Office 2010 (no compatibility pack is installed) - Java, via *Programs and Features* versions are : -- Java 7 Update 71 (64bit) v7.0.710 -- Java SE Development Kit 7 Update 71 (64bit) v1.7.0.710 -- Java 6 Update 21 v6.0.210 -- Java 6 Update 39 (64bit) v6.0.390 - Browsers -- IE11 -- IE10 *Steps to Reproduce:* # Add Word 2010 document to a page. (a one sentence document would do) # Click on "Edit in Office" and after entering your Confluence credentials the file will be opened in Office Word 2010 # Save then Close the document in Word. # Click on "Edit in Office". *Expected Result:* The document is once again opened in Office Word 2010 *Actual Result:* Nothing happens. No errors displayed on screen. Confluence logs an error: (full confluence-log.txt attached) {noformat} 2015-06-19 11:38:01,787 ERROR [TP-Processor36] [extra.webdav.servlet.ConfluenceWebdavServlet] service Unexpected error -- url: /wiki/plugins/servlet/confluence/editinword/13139974/attachments/SimpleWordDocument.docx | userName: user-name org.apache.jackrabbit.webdav.DavException: Precondition Failed at org.apache.jackrabbit.webdav.lock.SerializableLockManager.releaseLock(SerializableLockManager.java:185) at com.atlassian.confluence.extra.webdav.resource.AbstractConfluenceResource.unlock(AbstractConfluenceResource.java:416) at org.apache.jackrabbit.webdav.server.AbstractWebdavServlet.doUnlock(AbstractWebdavServlet.java:709) {noformat} but the problem is when clicking the option a second time. The first time it opens correctly which proves that the [Office Connector Prerequisites|https://confluence.atlassian.com/display/ConfCloud/Office+Connector+Prerequisites] are met. IE Private Mode exhibits the exact same behaviour. *Workaround:* Close Internet Explorer and reopen it again to use the "Edit in Office" functionality again.

    Atlassian JIRA | 2 years ago | Mauro Fernandez Badii [Atlassian]
    org.apache.jackrabbit.webdav.DavException: Precondition Failed
  3. 0

    Recently migrated from 32 to 64 bit Confluence systems, and now webdav transfers are showing an exception in the logs. Webdav plugin version is 2.4, and all the webdav modules are enabled in the plugin manager. Here is a sample of one of the exception messages, and attached is the full text of the exception. Please contact me if you'd like any other logs, thanks 2012-06-04 11:26:30,457 ERROR [http-8080-7] [extra.webdav.servlet.ConfluenceWebdavServlet] service Unexpected error -- url: /confluence/plugins/servlet/confluence/default/Global/PSN/Home/Projects%20and%20Activities/Hydrogen%20Release%207.0.0/Release_Schedule_-_7-0-v1.xls | userName: jack.weimer@pearson.com org.apache.jackrabbit.webdav.DavException: Precondition Failed at org.apache.jackrabbit.webdav.lock.SerializableLockManager.releaseLock(SerializableLockManager.java:182) at com.atlassian.confluence.extra.webdav.resource.AbstractConfluenceResource.unlock(AbstractConfluenceResource.java:413) at org.apache.jackrabbit.webdav.server.AbstractWebdavServlet.doUnlock(AbstractWebdavServlet.java:709) at org.apache.jackrabbit.webdav.server.AbstractWebdavServlet.execute(AbstractWebdavServlet.java:261) at com.atlassian.confluence.extra.webdav.servlet.ConfluenceWebdavServlet.service(ConfluenceWebdavServlet.java:97) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at com.atlassian.plugin.servlet.DelegatingPluginServlet.service(DelegatingPluginServlet.java:42) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at com.atlassian.plugin.servlet.ServletModuleContainerServlet.service(ServletModuleContainerServlet.java:52) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46) at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:66) at com.atlassian.confluence.extra.webdav.servlet.filter.ReverseProxyCopyAndMoveDestinationFix.doFilter(ReverseProxyCopyAndMoveDestinationFix.java:59)

    Atlassian JIRA | 5 years ago | Jeremy Boles
    org.apache.jackrabbit.webdav.DavException: Precondition Failed
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Recently migrated from 32 to 64 bit Confluence systems, and now webdav transfers are showing an exception in the logs. Webdav plugin version is 2.4, and all the webdav modules are enabled in the plugin manager. Here is a sample of one of the exception messages, and attached is the full text of the exception. Please contact me if you'd like any other logs, thanks 2012-06-04 11:26:30,457 ERROR [http-8080-7] [extra.webdav.servlet.ConfluenceWebdavServlet] service Unexpected error -- url: /confluence/plugins/servlet/confluence/default/Global/PSN/Home/Projects%20and%20Activities/Hydrogen%20Release%207.0.0/Release_Schedule_-_7-0-v1.xls | userName: jack.weimer@pearson.com org.apache.jackrabbit.webdav.DavException: Precondition Failed at org.apache.jackrabbit.webdav.lock.SerializableLockManager.releaseLock(SerializableLockManager.java:182) at com.atlassian.confluence.extra.webdav.resource.AbstractConfluenceResource.unlock(AbstractConfluenceResource.java:413) at org.apache.jackrabbit.webdav.server.AbstractWebdavServlet.doUnlock(AbstractWebdavServlet.java:709) at org.apache.jackrabbit.webdav.server.AbstractWebdavServlet.execute(AbstractWebdavServlet.java:261) at com.atlassian.confluence.extra.webdav.servlet.ConfluenceWebdavServlet.service(ConfluenceWebdavServlet.java:97) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at com.atlassian.plugin.servlet.DelegatingPluginServlet.service(DelegatingPluginServlet.java:42) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at com.atlassian.plugin.servlet.ServletModuleContainerServlet.service(ServletModuleContainerServlet.java:52) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46) at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:66) at com.atlassian.confluence.extra.webdav.servlet.filter.ReverseProxyCopyAndMoveDestinationFix.doFilter(ReverseProxyCopyAndMoveDestinationFix.java:59)

    Atlassian JIRA | 5 years ago | Jeremy Boles
    org.apache.jackrabbit.webdav.DavException: Precondition Failed

    Root Cause Analysis

    1. org.apache.jackrabbit.webdav.DavException

      Precondition Failed

      at org.apache.jackrabbit.webdav.lock.SerializableLockManager.releaseLock()
    2. Jackrabbit WebDAV Library
      SerializableLockManager.releaseLock
      1. org.apache.jackrabbit.webdav.lock.SerializableLockManager.releaseLock(SerializableLockManager.java:185)
      1 frame
    3. com.atlassian.confluence
      AbstractConfluenceResource.unlock
      1. com.atlassian.confluence.extra.webdav.resource.AbstractConfluenceResource.unlock(AbstractConfluenceResource.java:416)
      1 frame
    4. Jackrabbit WebDAV Library
      AbstractWebdavServlet.doUnlock
      1. org.apache.jackrabbit.webdav.server.AbstractWebdavServlet.doUnlock(AbstractWebdavServlet.java:709)
      1 frame