cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco 2.1.5 WebDAV

adamg
Champ in-the-making
Champ in-the-making
Good day everyone,

I was wondering if anyone might be able to answer a few questions about Alfresco's WebDAV implementation and/or can shed some light on an issue I'm having.

I've managed to get WebDAV working through the web UI, with a URL such as: http://localhost/faces/webdav/Projects/1/Files
I can see and download all of the files through any browser using this method just fine. However, when I try and use a desktop WebDAV Client such as GoodSync I can't even connect to view files and get the following error in the log:

EDIT: I notice that this might be related to this bug: http://issues.alfresco.com/jira/browse/ALF-5596 Can anyone tell me if this is the case?

Session Created: null
2011-05-05 11:50:34,878 ERROR [http-443-Processor24] (WebDAVServlet.java:146) - Internal Server Error:
org.alfresco.repo.security.permissions.AccessDeniedException: Access Denied.  The system is currently in read-only mode.
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:250)
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:227)
        at org.alfresco.repo.webdav.WebDAVMethod.execute(WebDAVMethod.java:152)
        at org.alfresco.repo.webdav.WebDAVServlet.service(WebDAVServlet.java:129)
        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.alfresco.repo.webdav.auth.AuthenticationFilter.doFilter(AuthenticationFilter.java:308)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
        at com.imprima.cw.web.filter.WebDavRestrictFilter.doFilter(WebDavRestrictFilter.java:61)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
        at com.imprima.cw.web.filter.CustomCharacterEncodingFilter.doFilter(CustomCharacterEncodingFilter.java:30)
        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:210)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)
        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:870)
        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:685)
        at java.lang.Thread.run(Thread.java:619)


Does anyone know if it's possible to change which files/folders are displayed through WebDAV (idealy I would like to hide the alfresco internal folders from the user), and how you go about doing this?

Also, let's say I have a file saved as:

http://localhost/webdav/Projects/1/Files/Test.doc

But in Alfresco the file is versioned, so also exists as:

http://localhost/webdav/Projects/1/Publications/Test/Version-1.0/Files/Test.doc
and: http://localhost/webdav/Projects/1/Publications/Test/Version-2.0/Files/Test.doc

If the user edits, deletes, or creates a version how will Alfresco cope with this? OR can you only add files via WebDAV for non-publications?

If you have any useful links of WebDAV and Alfresco please post them here! I'm finding it very hard to track down much useful information on this subject other than: http://wiki.alfresco.com/wiki/Client_WebDAV

Cheers!
Adam
4 REPLIES 4

janv
Employee
Employee
Are you running Alfresco Enterprise 2.1.5 ? If the system is in read-only mode then it may be that your license has expired (please check earlier in your startup log) ? If so, please contact Alfresco Support.

Regards,
Jan

adamg
Champ in-the-making
Champ in-the-making
Hi Jan,

Yes it is Enterprise, the license is fine, as is the rest of the system when I'm not trying to access the Alfresco repo via WebDAV.

adamg
Champ in-the-making
Champ in-the-making
No one can point me in the direction of getting a better understanding of Alfresco and WebDAV?

janv
Employee
Employee
If you have are running Enterprise then please contact Alfresco Support for help. You may benefit from upgrading to the latest Alfresco Enterprise 3.x to get the latest WebDAV fixes and improvements.

Regards,
Jan