AnsweredAssumed Answered

WEBDAV Problem

Question asked by dozyarmadillo on Mar 13, 2007
Latest reply on Aug 6, 2007 by minhkamayie
Hi there

I've managed to get NTLM working for the web client and CIFS after implementing the configuration described at http://wiki.alfresco.com/wiki/Configuring_NTLM. Unfortunately, WEBDAV doesn't work for me - which is a shame as I would like to demo Alfresco to my bosses. I get the error "Transaction must be active and synchronization is required". Here's the relevant snippet from the log file:

INFO   | jvm 1    | 2007/03/13 00:45:26 | 00:45:26,796 DEBUG [smb.protocol.auth] Trying address 192.168.0.2
INFO   | jvm 1    | 2007/03/13 00:45:26 | 00:45:26,812 DEBUG [smb.protocol.auth] Connected to address 192.168.0.2
INFO   | jvm 1    | 2007/03/13 00:45:26 | 00:45:26,812 DEBUG [smb.protocol.auth] Connected session, protocol : TCP/IP NetBIOS
INFO   | jvm 1    | 2007/03/13 00:45:26 | 00:45:26,812 DEBUG [smb.protocol.auth] SessionFactory: Negotiated SMB dialect NT LM 0.12
INFO   | jvm 1    | 2007/03/13 00:45:26 | 00:45:26,812 DEBUG [webdav.auth.NTLMAuthenticationFilter] Sending NTLM type2 to client - [Type2:0x80000203,Target:CHEEKY,Ch:aa1fbce0ab486102]
INFO   | jvm 1    | 2007/03/13 00:45:26 | 00:45:26,812 DEBUG [webdav.auth.NTLMAuthenticationFilter] Received type3 [Type3:,LM:688fea1ce762deccdae22df971b976a329f776578965af87,NTLM:688fea1ce762deccdae22df971b976a329f776578965af87,Dom:GEEKNET,User:geek,Wks:KRONOS]
INFO   | jvm 1    | 2007/03/13 00:45:26 | 00:45:26,828 ERROR [[localhost].[/alfresco].[WebDAV]] Servlet.service() for servlet WebDAV threw exception
INFO   | jvm 1    | 2007/03/13 00:45:26 | org.alfresco.error.AlfrescoRuntimeException: Transaction must be active and synchronization is required
INFO   | jvm 1    | 2007/03/13 00:45:26 |    at org.alfresco.repo.transaction.AlfrescoTransactionSupport.registerSynchronizations(AlfrescoTransactionSupport.java:371)
INFO   | jvm 1    | 2007/03/13 00:45:26 |    at org.alfresco.repo.transaction.AlfrescoTransactionSupport.getSynchronization(AlfrescoTransactionSupport.java:356)
INFO   | jvm 1    | 2007/03/13 00:45:26 |    at org.alfresco.repo.transaction.AlfrescoTransactionSupport.bindDaoService(AlfrescoTransactionSupport.java:210)
INFO   | jvm 1    | 2007/03/13 00:45:26 |    at org.alfresco.repo.transaction.TransactionalDaoInterceptor.invoke(TransactionalDaoInterceptor.java:66)
INFO   | jvm 1    | 2007/03/13 00:45:26 |    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:176)
INFO   | jvm 1    | 2007/03/13 00:45:26 |    at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:210)
INFO   | jvm 1    | 2007/03/13 00:45:26 |    at $Proxy1.getNode(Unknown Source)
INFO   | jvm 1    | 2007/03/13 00:45:26 |    at org.alfresco.repo.node.db.DbNodeServiceImpl.exists(DbNodeServiceImpl.java:160)
INFO   | jvm 1    | 2007/03/13 00:45:26 |    at sun.reflect.GeneratedMethodAccessor190.invoke(Unknown Source)
INFO   | jvm 1    | 2007/03/13 00:45:26 |    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
INFO   | jvm 1    | 2007/03/13 00:45:26 |    at java.lang.reflect.Method.invoke(Method.java:585)
INFO   | jvm 1    | 2007/03/13 00:45:26 |    at org.alfresco.repo.service.StoreRedirectorProxyFactory$RedirectorInvocationHandler.invoke(StoreRedirectorProxyFactory.java:221)
INFO   | jvm 1    | 2007/03/13 00:45:26 |    at $Proxy2.exists(Unknown Source)
INFO   | jvm 1    | 2007/03/13 00:45:26 |    at sun.reflect.GeneratedMethodAccessor190.invoke(Unknown Source)
INFO   | jvm 1    | 2007/03/13 00:45:26 |    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
INFO   | jvm 1    | 2007/03/13 00:45:26 |    at java.lang.reflect.Method.invoke(Method.java:585)
INFO   | jvm 1    | 2007/03/13 00:45:26 |    at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:281)
INFO   | jvm 1    | 2007/03/13 00:45:26 |    at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:187)
INFO   | jvm 1    | 2007/03/13 00:45:26 |    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:154)
INFO   | jvm 1    | 2007/03/13 00:45:26 |    at org.alfresco.repo.node.MLPropertyInterceptor.invoke(MLPropertyInterceptor.java:227)
INFO   | jvm 1    | 2007/03/13 00:45:26 |    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:176)
INFO   | jvm 1    | 2007/03/13 00:45:26 |    at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:210)
INFO   | jvm 1    | 2007/03/13 00:45:26 |    at $Proxy3.exists(Unknown Source)
INFO   | jvm 1    | 2007/03/13 00:45:26 |    at org.alfresco.repo.security.person.PersonServiceImpl.getPersonOrNull(PersonServiceImpl.java:202)
INFO   | jvm 1    | 2007/03/13 00:45:26 |    at org.alfresco.repo.security.person.PersonServiceImpl.getPerson(PersonServiceImpl.java:155)
INFO   | jvm 1    | 2007/03/13 00:45:26 |    at org.alfresco.repo.security.authentication.ntlm.NTLMAuthenticationComponentImpl.authenticatePassthru(NTLMAuthenticationComponentImpl.java:840)
INFO   | jvm 1    | 2007/03/13 00:45:26 |    at org.alfresco.repo.security.authentication.ntlm.NTLMAuthenticationComponentImpl.authenticate(NTLMAuthenticationComponentImpl.java:521)
INFO   | jvm 1    | 2007/03/13 00:45:26 |    at org.alfresco.repo.webdav.auth.NTLMAuthenticationFilter.processType3(NTLMAuthenticationFilter.java:730)
INFO   | jvm 1    | 2007/03/13 00:45:26 |    at org.alfresco.repo.webdav.auth.NTLMAuthenticationFilter.doFilter(NTLMAuthenticationFilter.java:414)
INFO   | jvm 1    | 2007/03/13 00:45:26 |    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
INFO   | jvm 1    | 2007/03/13 00:45:26 |    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
INFO   | jvm 1    | 2007/03/13 00:45:26 |    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
INFO   | jvm 1    | 2007/03/13 00:45:26 |    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
INFO   | jvm 1    | 2007/03/13 00:45:26 |    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
INFO   | jvm 1    | 2007/03/13 00:45:26 |    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
INFO   | jvm 1    | 2007/03/13 00:45:26 |    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
INFO   | jvm 1    | 2007/03/13 00:45:26 |    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
INFO   | jvm 1    | 2007/03/13 00:45:26 |    at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:833)
INFO   | jvm 1    | 2007/03/13 00:45:26 |    at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:639)
INFO   | jvm 1    | 2007/03/13 00:45:26 |    at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1285)
INFO   | jvm 1    | 2007/03/13 00:45:26 |    at java.lang.Thread.run(Thread.java:595)

After this error is thrown CIFS stops working as well :-(

Has anyone got any suggestions?

Cheers

Mark

PS
I've not got user import enabled and I'm using the Alfresco authenticator.

Outcomes