• Document locking promlem / webdav / okm v6.2.2

  • We tried to make OpenKM as intuitive as possible, but an advice is always welcome.
We tried to make OpenKM as intuitive as possible, but an advice is always welcome.
Forum rules: Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
 #21047  by janos
 
Hello Everyone,

i recently installed the OpenKM Version: 6.2.2 (build: 7815)

After i created a document in the okm_personal folder, it appears just like excepted, with name and version 1.0
If i save the file again, the version 1.1, 1.2 appears.

The problem is:
if i open an already existing document and try to save it, it dos not works.
No matter which user account i using /admin or not / or where the file located.
Code: Select all
2013-01-24 05:47:07,187 [http-bio-0.0.0.0-8080-exec-5] INFO  com.bradmcevoy.http.HttpManager - GET :: http://dms/OpenKM/webdav/okm_personal/stefano/testing.doc - http://dms/OpenKM/webdav/okm_personal/stefano/testing.doc
2013-01-24 05:47:11,228 [http-bio-0.0.0.0-8080-exec-3] INFO  com.bradmcevoy.http.HttpManager - PROPFIND :: http://dms/OpenKM/webdav/okm_personal/stefano/testing.doc - http://dms/OpenKM/webdav/okm_personal/stefano/testing.doc
2013-01-24 05:47:11,392 [http-bio-0.0.0.0-8080-exec-6] INFO  com.bradmcevoy.http.HttpManager - PUT :: http://dms/OpenKM/webdav/okm_personal/stefano/testing.doc - http://dms/OpenKM/webdav/okm_personal/stefano/testing.doc
2013-01-24 05:47:11,514 [http-bio-0.0.0.0-8080-exec-6] ERROR com.bradmcevoy.http.StandardFilter - process
java.lang.RuntimeException: Failed to create: Node already locked
	at com.openkm.webdav.resource.FolderResource.createNew(FolderResource.java:226)
	at com.bradmcevoy.http.http11.PutHandler.processCreate(PutHandler.java:214)
	at com.bradmcevoy.http.http11.PutHandler.process(PutHandler.java:188)
	at com.bradmcevoy.http.StandardFilter.process(StandardFilter.java:52)
	at com.bradmcevoy.http.FilterChain.process(FilterChain.java:40)
	at com.bradmcevoy.http.HttpManager.process(HttpManager.java:228)
	at com.openkm.webdav.WebDavService.handleRequest(WebDavService.java:70)
	at com.openkm.webdav.WebDAVFilter.handleRequest(WebDAVFilter.java:79)
	at com.openkm.webdav.WebDAVFilter.doFilter(WebDAVFilter.java:62)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:311)
	at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:116)
	at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
	at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
	at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:113)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
	at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:54)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
	at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:201)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
	at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
	at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:173)
	at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
	at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565)
	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:307)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
	at java.lang.Thread.run(Thread.java:662)
Caused by: com.openkm.core.LockException: Node already locked
	at com.openkm.dao.NodeDocumentDAO.lock(NodeDocumentDAO.java:896)
	at com.openkm.dao.NodeDocumentDAO.checkout(NodeDocumentDAO.java:660)
	at com.openkm.module.db.DbDocumentModule.checkout(DbDocumentModule.java:604)
	at com.openkm.module.db.DbDocumentModule.checkout(DbDocumentModule.java:576)
	at com.openkm.webdav.resource.FolderResource.createNew(FolderResource.java:192)
	... 43 more
2013-01-24 05:47:17,253 [http-bio-0.0.0.0-8080-exec-9] INFO  com.bradmcevoy.http.HttpManager - PROPFIND :: http://dms/OpenKM/webdav/okm_personal/stefano/ - http://dms/OpenKM/webdav/okm_personal/stefano/
Client System window 7 and office 2003.
I installed all patches windows updates and tried any registry mods that i find online, but non of these worked.
I hope someone can enlighten me :)

Thakn You!

Regards

Janos
 #21090  by jllort
 
As is related in Webdav wiki section http://wiki.openkm.com/index.php/WebDAV_access we suggest use webdrive for connecting OpenKM with windows. As you know Windows is a buggy OS and there're some older bugs - years ago - that seems has no interest to be solved by Microsoft ( who knows why ? ), but the reality is that are older and seems in nearly time will not be solved. For it we suggest forget any direct webdav windows support and use thirdparty webdav support in windows like webdrive ( this product is really good and runs correctly with OpenKM, I think there's available some trial ).

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.