AnsweredAssumed Answered

CIFS broken in recent 2.9.0C  builds

Question asked by sacco on Feb 21, 2008
I'm not going to put this in the JIRA because I assume it's a transient problem…

Problem:  CIFS is not usable in recent nightly builds; avoid them until fixed.

There seems to be some reorganisation going on w.r.t. CIFS and some
classes appear to be being moved.  I notice, for example, that in 
file-servers-custom.xml

<class>org.alfresco.filesys.smb.server.repo.desk.CheckInOutDesktopAction</class>
has become
<class>org.alfresco.filesys.repo.desk.CheckInOutDesktopAction</class>
(and starting without the change leads to CIFS and FTP being
disabled completely.  Incidentally, this seems a rather drastic
reaction to failure to find only the class implementing a desktop action!)

Unfortunately, the move seems to be incomplete:  browsing a CIFS
share in Windows Explorer soon leads to a freeze until a blocking
call has timed out, with traces such as the following in the catalina.out log.


java.lang.IllegalArgumentException: Invalid NetworkFile class
        at org.alfresco.jlan.server.filesys.cache.FileStateLockManager.lockFile(FileStateLockManager.java:43)
        at org.alfresco.jlan.smb.server.NTProtocolHandler.procLockingAndX(NTProtocolHandler.java:1955)
        at org.alfresco.jlan.smb.server.NTProtocolHandler.runProtocol(NTProtocolHandler.java:284)
        at org.alfresco.jlan.smb.server.SMBSrvSession.runHandler(SMBSrvSession.java:1377)
        at org.alfresco.jlan.smb.server.SMBSrvSession.run(SMBSrvSession.java:1298)
        at java.lang.Thread.run(Thread.java:801)

Outcomes