cancel
Showing results for 
Search instead for 
Did you mean: 

WebDAV + Windows 7 Clients not working...

squaricdot
Champ in-the-making
Champ in-the-making
Dear all,

I've had this problem already with alfresco 3.2r2. I hoped it would have been fixed in 3.3. However:

The problem is that my Windows 7 WebDAV clients cannot connect to the alfresco WebDAV share.

Clean default alfresco installation.

URL: http:\\alfresco:8080\alfresco\webdav\

*   Windows XP Client, Mac OS X works:
13:02:50,727 DEBUG [org.alfresco.webdav.protocol] WebDAV request OPTIONS on path /alfresco/webdav
13:02:50,743 DEBUG [org.alfresco.webdav.protocol] OPTIONS took 16ms to execute

*   Doing the exact same operation on WIndows 7:
Doesn't work at all, not even DEBUG messages appear in the alfresco.log file.
Here a screenshot, it's Dutch, but it's just the standard Network error saying that it's an invalid path, and you should enter another one.
[img]http://a.imageshack.us/img801/5991/issuei.png[/img]

*   While looking the web for answers somebody advised to use BitKinex (WebDAV client) but that also isn't working. But an ERROR message is displayed in the alfresco.log file:
13:03:15,579 DEBUG [org.alfresco.webdav.protocol] WebDAV request PROPFIND on path /alfresco/webdav/
13:03:15,585 ERROR [org.alfresco.webdav.protocol] Internal Server Error:
org.xml.sax.SAXParseException: The markup in the document preceding the root element must be well-formed.
        at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
        at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
        at org.alfresco.repo.webdav.WebDAVMethod.getRequestBodyAsDocument(WebDAVMethod.java:386)
        at org.alfresco.repo.webdav.PropFindMethod.parseRequestBody(PropFindMethod.java:110)
        at org.alfresco.repo.webdav.WebDAVMethod.execute(WebDAVMethod.java:288)
        at org.alfresco.repo.webdav.WebDAVServlet.service(WebDAVServlet.java:131)
        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 org.alfresco.repo.webdav.auth.AuthenticationFilter.doFilter(AuthenticationFilter.java:175)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.alfresco.repo.management.subsystems.ChainingSubsystemProxyFactory$1.invoke(ChainingSubsystemProxyFactory.java:116)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
        at $Proxy197.doFilter(Unknown Source)
        at org.alfresco.repo.web.filter.beans.BeanProxyFilter.doFilter(BeanProxyFilter.java:82)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
        at java.lang.Thread.run(Thread.java:619)
13:03:15,586 DEBUG [org.alfresco.webdav.protocol] PROPFIND is returning status code: 400
13:03:15,586 DEBUG [org.alfresco.webdav.protocol] PROPFIND took 7ms to execute

I hope not everybody is experiencing this problem. Seems unlikely to me, I must be doing something wrong he 🙂 ( 😞 ).

Any help would be greatly appreciated. Thanks.

- Olmo
2 REPLIES 2

squaricdot
Champ in-the-making
Champ in-the-making
*   I installed BitKinex on a XP machine.
WebDAV BitKinex on XP is working…

So it really is windows 7 who's got issues.

But I don't understand the issue. Our ISP ( xs4all.nl ) provides us with a webdav webdisk.

I can connect to that webdisk with BitKinex but not with built-in Windows 7 WebDAV client.
I can not connect with neither BitKinex nor Windows 7 WebDAV client to the alfresco WebDAV share.

XP WebDAV functionality works completely. I'm really confused…

squaricdot
Champ in-the-making
Champ in-the-making
I can connect to Alfresco WebDAV on windows 7 using ( shareware ) Webdrive.
This is my first succes to connect to an Alfresco WebDAV share under windows 7.

However I cannot change filenames.

Windows XP Client works, here are the DEBUG's from alfresco.log:
15:55:25,170 DEBUG [org.alfresco.webdav.protocol] WebDAV request PROPFIND on path /alfresco/webdav/User%20Homes/walrus
15:55:25,177 DEBUG [org.alfresco.webdav.protocol] PROPFIND took 7ms to execute
15:55:25,186 DEBUG [org.alfresco.webdav.protocol] WebDAV request MOVE on path /alfresco/webdav/User%20Homes/walrus/water.txt
15:55:25,187 DEBUG [org.alfresco.webdav.protocol] Parsing Destination header: http://alfresco4.tao.intranet:8080/alfresco/webdav/User%20Homes/walrus/patatjeoorlog.txt
15:55:25,187 DEBUG [org.alfresco.webdav.protocol] Destination path, different server name/address
15:55:25,187 DEBUG [org.alfresco.webdav.protocol]   URL host=alfresco4.tao.intranet, localName=192.168.178.67, localAddr=192.168.178.67
15:55:25,187 DEBUG [org.alfresco.webdav.protocol] MOVE is returning status code: 502
15:55:25,187 DEBUG [org.alfresco.webdav.protocol] MOVE took 1ms to execute
15:55:25,201 DEBUG [org.alfresco.webdav.protocol] WebDAV request PROPFIND on path /alfresco/webdav/User%20Homes/walrus/water.txt
15:55:25,209 DEBUG [org.alfresco.webdav.protocol] PROPFIND took 8ms to execute
15:55:25,220 DEBUG [org.alfresco.webdav.protocol] WebDAV request HEAD on path /alfresco/webdav/User%20Homes/walrus/patatjeoorlog.txt
15:55:25,224 DEBUG [org.alfresco.webdav.protocol] HEAD is returning status code: 404
15:55:25,224 DEBUG [org.alfresco.webdav.protocol] HEAD took 4ms to execute
15:55:27,710 DEBUG [org.alfresco.webdav.protocol] WebDAV request PUT on path /alfresco/webdav/User%20Homes/walrus/patatjeoorlog.txt
15:55:27,711 DEBUG [org.alfresco.webdav.protocol] Parsing If header: null
15:55:27,787 DEBUG [org.alfresco.webdav.protocol] PUT took 77ms to execute
15:55:27,794 DEBUG [org.alfresco.webdav.protocol] WebDAV request HEAD on path /alfresco/webdav/User%20Homes/walrus/patatjeoorlog.txt
15:55:27,799 DEBUG [org.alfresco.webdav.protocol] HEAD took 5ms to execute
15:55:27,809 DEBUG [org.alfresco.webdav.protocol] WebDAV request PROPFIND on path /alfresco/webdav/User%20Homes/walrus/patatjeoorlog.txt
15:55:27,820 DEBUG [org.alfresco.webdav.protocol] PROPFIND took 11ms to execute
15:55:27,828 DEBUG [org.alfresco.webdav.protocol] WebDAV request GET on path /alfresco/webdav/User%20Homes/walrus/water.txt
15:55:27,832 DEBUG [org.alfresco.webdav.protocol] GET is returning status code: 304
15:55:27,833 DEBUG [org.alfresco.webdav.protocol] GET took 5ms to execute
15:55:27,841 DEBUG [org.alfresco.webdav.protocol] WebDAV request PROPFIND on path /alfresco/webdav/User%20Homes/walrus/water.txt
15:55:27,853 DEBUG [org.alfresco.webdav.protocol] PROPFIND took 12ms to execute
15:55:27,862 DEBUG [org.alfresco.webdav.protocol] WebDAV request GET on path /alfresco/webdav/User%20Homes/walrus/patatjeoorlog.txt
15:55:27,867 DEBUG [org.alfresco.webdav.protocol] GET is returning status code: 304
15:55:27,867 DEBUG [org.alfresco.webdav.protocol] GET took 5ms to execute
15:55:28,600 DEBUG [org.alfresco.webdav.protocol] WebDAV request PUT on path /alfresco/webdav/User%20Homes/walrus/patatjeoorlog.txt
15:55:28,600 DEBUG [org.alfresco.webdav.protocol] Parsing If header: null
15:55:28,637 DEBUG [org.alfresco.webdav.protocol] PUT took 37ms to execute
15:55:28,644 DEBUG [org.alfresco.webdav.protocol] WebDAV request HEAD on path /alfresco/webdav/User%20Homes/walrus/patatjeoorlog.txt
15:55:28,649 DEBUG [org.alfresco.webdav.protocol] HEAD took 5ms to execute
15:55:28,662 DEBUG [org.alfresco.webdav.protocol] WebDAV request PROPFIND on path /alfresco/webdav/User%20Homes/walrus/patatjeoorlog.txt
15:55:28,671 DEBUG [org.alfresco.webdav.protocol] PROPFIND took 9ms to execute
15:55:28,683 DEBUG [org.alfresco.webdav.protocol] WebDAV request DELETE on path /alfresco/webdav/User%20Homes/walrus/water.txt
15:55:28,683 DEBUG [org.alfresco.webdav.protocol] WebDAV DELETE: /User Homes/walrus/water.txt
15:55:28,742 DEBUG [org.alfresco.webdav.protocol] DELETE took 59ms to execute

Here the DEBUG log's executing the exact same operation using Webdrive on windows 7:
15:57:26,267 DEBUG [org.alfresco.webdav.protocol] WebDAV request MOVE on path /alfresco/webdav/User%20Homes/walrus/patatjeoorlog.txt
15:57:26,267 DEBUG [org.alfresco.webdav.protocol] Parsing Destination header: /alfresco/webdav/User%20Homes/walrus/meenens.txt
15:57:26,267 WARN  [org.alfresco.webdav.protocol] Failed to parse the Destination header: /alfresco/webdav/User%20Homes/walrus/meenens.txt
15:57:26,267 DEBUG [org.alfresco.webdav.protocol] MOVE is returning status code: 400
15:57:26,267 DEBUG [org.alfresco.webdav.protocol] MOVE took 0ms to execute
15:57:26,284 DEBUG [org.alfresco.webdav.protocol] WebDAV request MOVE on path /alfresco/webdav/User%20Homes/walrus/patatjeoorlog.txt
15:57:26,284 DEBUG [org.alfresco.webdav.protocol] Parsing Destination header: http://alfresco4.tao.intranet:8080/alfresco/webdav/User%20Homes/walrus/meenens.txt
15:57:26,285 DEBUG [org.alfresco.webdav.protocol] Destination path, different server name/address
15:57:26,285 DEBUG [org.alfresco.webdav.protocol]   URL host=alfresco4.tao.intranet, localName=192.168.178.67, localAddr=192.168.178.67
15:57:26,285 DEBUG [org.alfresco.webdav.protocol] MOVE is returning status code: 502
15:57:26,285 DEBUG [org.alfresco.webdav.protocol] MOVE took 1ms to execute

Gigantic Sigh