com.atlassian.confluence.extra.webdav.servlet.ConfluenceWebdavServlet "Unexpected error" org.apache.jackrabbit.webdav.DavException: Precondition Failed

We have been getting a lot of these exceptions lately. I looked at our source code, and it seems to be related to the amount of locks returned by the servlet, although very inexplicit.

Have you seen these from other customers, and do you know the cause? We use office-connector v.1.18

ERROR 31 Oct 2012 08:44:16,080 tomcat-5 com.atlassian.confluence.extra.webdav.servlet.ConfluenceWebdavServlet Unexpected error

Oct 31 08:44:16 10.126.15.221 org.apache.jackrabbit.webdav.DavException: Precondition Failed

Oct 31 08:44:16 10.126.15.221 at org.apache.jackrabbit.webdav.server.AbstractWebdavServlet.doLock(AbstractWebdavServlet.java:682)

Oct 31 08:44:16 10.126.15.221 at org.apache.jackrabbit.webdav.server.AbstractWebdavServlet.execute(AbstractWebdavServlet.java:258)

Oct 31 08:44:16 10.126.15.221 at com.atlassian.confluence.extra.webdav.servlet.ConfluenceWebdavServlet.service(ConfluenceWebdavServlet.java:104)

Oct 31 08:44:16 10.126.15.221 at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

Oct 31 08:44:16 10.126.15.221 at com.atlassian.plugin.servlet.DelegatingPluginServlet.service(DelegatingPluginServlet.java:42)

Oct 31 08:44:16 10.126.15.221 at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

Oct 31 08:44:16 10.126.15.221 at com.atlassian.plugin.servlet.ServletModuleContainerServlet.service(ServletModuleContainerServlet.java:52)

Oct 31 08:44:16 10.126.15.221 at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

Oct 31 08:44:16 10.126.15.221 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)

Oct 31 08:44:16 10.126.15.221 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

Oct 31 08:44:16 10.126.15.221 at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46)

Oct 31 08:44:16 10.126.15.221 at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:66)

Oct 31 08:44:16 10.126.15.221 at com.atlassian.confluence.extra.webdav.servlet.filter.ReverseProxyCopyAndMoveDestinationFix.doFilter(ReverseProxyCopyAndMoveDestinationFix.java:59)

Oct 31 08:44:16 10.126.15.221 at com.atlassian.confluence.extra.webdav.servlet.filter.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:34)

Oct 31 08:44:16 10.126.15.221 at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:74)

Oct 31 08:44:16 10.126.15.221 at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:42)

Oct 31 08:44:16 10.126.15.221 at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:66)

Oct 31 08:44:16 10.126.15.221 at com.atlassian.confluence.extra.webdav.servlet.filter.MicrosoftMiniRedirectorAuthenticationHeaderFix.doFilter(MicrosoftMiniRedirectorAuthenticationHeaderFix.java:72)

Oct 31 08:44:16 10.126.15.221 at com.atlassian.confluence.extra.webdav.servlet.filter.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:34)

Oct 31 08:44:16 10.126.15.221 at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:74)

Oct 31 08:44:16 10.126.15.221 at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:42)

Oct 31 08:44:16 10.126.15.221 at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:66)

Oct 31 08:44:16 10.126.15.221 at com.atlassian.confluence.extra.webdav.servlet.filter.ClientWriteDenyFilter.doFilter(ClientWriteDenyFilter.java:43)

Oct 31 08:44:16 10.126.15.221 at com.atlassian.confluence.extra.webdav.servlet.filter.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:34)

Oct 31 08:44:16 10.126.15.221 at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:74)

Oct 31 08:44:16 10.126.15.221 at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:42)

Oct 31 08:44:16 10.126.15.221 at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:66)

Oct 31 08:44:16 10.126.15.221 at com.bloomberg.confluence.plugin.OrgchartFilter.doFilter(OrgchartFilter.java:55)

Oct 31 08:44:16 10.126.15.221 at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:74)

Oct 31 08:44:16 10.126.15.221 at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:42)

Oct 31 08:44:16 10.126.15.221 at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:77)

Oct 31 08:44:16 10.126.15.221 at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:63)

Oct 31 08:44:16 10.126.15.221 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

Oct 31 08:44:16 10.126.15.221 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

4 answers

We also get a lot of these issues. We had them in Confluence 3.5.13 and also in latest 4.3.3. I do not exactly know what causes this issue but I think it may also be related to some files. To me it seems that not all files are affected but some. The issue we get is:

{code}

2012-11-25 15:17:35,430 ERROR [TP-Processor18] [extra.webdav.servlet.ConfluenceWebdavServlet] service Unexpected error
-- url: /confluence/plugins/servlet/confluence/editinword/63569922/attachments/xxx.xlsx | userName: xxx
org.apache.jackrabbit.webdav.DavException: Precondition Failed
at org.apache.jackrabbit.webdav.server.AbstractWebdavServlet.doLock(AbstractWebdavServlet.java:682)
at org.apache.jackrabbit.webdav.server.AbstractWebdavServlet.execute(AbstractWebdavServlet.java:258)
at com.atlassian.confluence.extra.webdav.servlet.ConfluenceWebdavServlet.service(ConfluenceWebdavServlet.java:124)
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)
.java:42)
at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:66)
at com.atlassian.confluence.extra.webdav.servlet.filter.AbstractHttpFilter.doFilter

...

{code}

Anybody an idea?

Same issue here - it even crashes our cofluence/tomcat..

I get these since upgrading to Confluence 5.4.3. The users say they are not getting errors in the UI, but it's making the log totally unreadable.

same here, we started to get these after the upgrade to 5.4.3

Same here. We are running Confluence 6.1.0

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published yesterday in Marketplace Apps

Tips on how to choose the best estimation method for your planning

Planning and grooming sessions all come with their own sets of rules. Team members meet to estimate stories or other work items, all according to an agreed-upon process. And with every session comes ...

29 views 0 10
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you