cancel
Showing results for 
Search instead for 
Did you mean: 

CIFS: cannot copy file: network name no longer available

bart
Champ in-the-making
Champ in-the-making
Hello,

When copying a bulk of files to the alfresco network share, I constantly get this message: cannot copy "filename": the specified network name is no longer available.

Sometimes: \\..\alfresco is not accessible. You might not have permission to use this network resource. Logon failure: unknown user name or bad password.

I manage to copy some files, but after some files have been copied, this message appears again and again. Quit annoying if you just have 30 days to evaluate alfresco …

thx

Bart
15 REPLIES 15

gary_spencer
Champ in-the-making
Champ in-the-making
Hi,

Are there any errors logged in the alfresco.log file ?. It sounds like there is an exception that is causing the CIFS session to be closed.

Cheers

Gary

bart
Champ in-the-making
Champ in-the-making
Hello Gary,

This is what the log file says:

09:08:58,079 ERROR [net.sf.jooreports.openoffice.connection.SocketOpenOfficeConnection] disconnected unexpectedly
09:11:53,748 WARN  [org.springframework.remoting.rmi.RmiRegistryFactoryBean] Could not detect RMI registry - creating new one
09:12:05,123 INFO  [org.alfresco.repo.admin.ConfigurationChecker] The Alfresco root data directory ('dir.root') is: D:\Alfresco\alf_data
09:12:05,467 INFO  [org.alfresco.repo.admin.patch.PatchExecuter] Checking for patches to apply …
09:12:05,514 INFO  [org.alfresco.repo.admin.patch.PatchExecuter] No patches were required.
09:12:05,514 INFO  [org.alfresco.repo.module.ModuleServiceImpl] Found 0 module(s).
09:12:05,889 INFO  [org.alfresco.service.descriptor.DescriptorService] Alfresco JVM - v1.6.0_02-b06; maximum heap size 506.313MB
09:12:06,217 ERROR [org.alfresco.ftp.protocol] FTP Socket error
java.net.BindException: Address already in use: JVM_Bind
   at java.net.PlainSocketImpl.socketBind(Native Method)
   at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359)
   at java.net.ServerSocket.bind(ServerSocket.java:319)
   at java.net.ServerSocket.<init>(ServerSocket.java:185)
   at java.net.ServerSocket.<init>(ServerSocket.java:141)
   at org.alfresco.filesys.ftp.FTPNetworkServer.run(FTPNetworkServer.java:407)
   at java.lang.Thread.run(Thread.java:619)
09:12:06,482 INFO  [org.alfresco.service.descriptor.DescriptorService] Alfresco license: Enterprise Network granted to Trial User to 30 days expiring Sat Sep 15 00:00:00 CEST 2007 (26 days remaining)
09:12:06,498 INFO  [org.alfresco.service.descriptor.DescriptorService] Alfresco started (Enterprise Network): Current version 2.0.0 (build-23) schema 38 - Installed version 2.0.0 (build-23) schema 38
09:49:18,501 ERROR [org.alfresco.repo.node.integrity.IntegrityChecker] Found 1 integrity violations:
Invalid property value:
   Node: workspace://SpacesStore/db1e1968-4ef1-11dc-8cc0-afd9112664db
   Type: {http://www.alfresco.org/model/content/1.0}content
   Property: {http://www.alfresco.org/model/content/1.0}name
   Constraint: Value 'Winzip Drag&Drop.avi' matches regular expression: (.*[\"\*\\\>\<\?\/\:\|\xA3\xAC\%\&\+\;]+.*)|(.*[\.]?.*[\.]+$)|(.*[ ]+$)
09:49:18,516 ERROR [org.alfresco.util.transaction.SpringAwareUserTransaction] Transaction didn't commit
org.alfresco.repo.node.integrity.IntegrityException: Integrity failure
   at org.alfresco.repo.node.integrity.IntegrityChecker.checkIntegrity(IntegrityChecker.java:619)
   at org.alfresco.repo.transaction.AlfrescoTransactionSupport$TransactionSynchronizationImpl.flush(AlfrescoTransactionSupport.java:524)
   at org.alfresco.repo.transaction.AlfrescoTransactionSupport$TransactionSynchronizationImpl.beforeCommit(AlfrescoTransactionSupport.java:595)
   at org.springframework.transaction.support.AbstractPlatformTransactionManager.triggerBeforeCommit(AbstractPlatformTransactionManager.java:657)
   at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:482)
   at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:469)
   at org.springframework.transaction.interceptor.TransactionAspectSupport.doCommitTransactionAfterReturning(TransactionAspectSupport.java:266)
   at org.alfresco.util.transaction.SpringAwareUserTransaction.commit(SpringAwareUserTransaction.java:405)
   at org.alfresco.filesys.server.SrvSession.endTransaction(SrvSession.java:627)
   at org.alfresco.filesys.smb.server.SMBSrvSession.run(SMBSrvSession.java:1362)
   at java.lang.Thread.run(Thread.java:619)
09:49:18,548 ERROR [org.alfresco.smb.protocol] Closing session due to exception
org.alfresco.service.cmr.repository.InvalidNodeRefException: Node does not exist: workspace://SpacesStore/db1e1968-4ef1-11dc-8cc0-afd9112664db
   at org.alfresco.repo.node.db.DbNodeServiceImpl.getNodeNotNull(DbNodeServiceImpl.java:129)
   at org.alfresco.repo.node.db.DbNodeServiceImpl.getProperty(DbNodeServiceImpl.java:917)
   at sun.reflect.GeneratedMethodAccessor108.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at org.alfresco.repo.service.StoreRedirectorProxyFactory$RedirectorInvocationHandler.invoke(StoreRedirectorProxyFactory.java:221)
   at $Proxy2.getProperty(Unknown Source)
   at sun.reflect.GeneratedMethodAccessor108.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:335)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:181)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:148)
   at org.alfresco.repo.node.MLPropertyInterceptor.invoke(MLPropertyInterceptor.java:142)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
   at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:176)
   at $Proxy3.getProperty(Unknown Source)
   at org.alfresco.repo.content.RoutingContentService.getReader(RoutingContentService.java:277)
   at org.alfresco.repo.content.RoutingContentService.getWriter(RoutingContentService.java:351)
   at sun.reflect.GeneratedMethodAccessor280.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:335)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:181)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:148)
   at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:116)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
   at net.sf.acegisecurity.intercept.method.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:80)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
   at org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethodInterceptor.invoke(ExceptionTranslatorMethodInterceptor.java:49)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
   at org.alfresco.repo.audit.AuditComponentImpl.auditImpl(AuditComponentImpl.java:219)
   at org.alfresco.repo.audit.AuditComponentImpl.audit(AuditComponentImpl.java:165)
   at org.alfresco.repo.audit.AuditMethodInterceptor.invoke(AuditMethodInterceptor.java:69)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
   at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
   at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:176)
   at $Proxy13.getWriter(Unknown Source)
   at org.alfresco.filesys.smb.server.repo.ContentNetworkFile.openContent(ContentNetworkFile.java:305)
   at org.alfresco.filesys.smb.server.repo.ContentNetworkFile.truncateFile(ContentNetworkFile.java:406)
   at org.alfresco.filesys.smb.server.repo.ContentDiskDriver.truncateFile(ContentDiskDriver.java:2113)
   at org.alfresco.filesys.smb.server.NTProtocolHandler.procTrans2SetFile(NTProtocolHandler.java:4584)
   at org.alfresco.filesys.smb.server.NTProtocolHandler.processTransactionBuffer(NTProtocolHandler.java:1840)
   at org.alfresco.filesys.smb.server.NTProtocolHandler.procTransact2(NTProtocolHandler.java:1639)
   at org.alfresco.filesys.smb.server.NTProtocolHandler.runProtocol(NTProtocolHandler.java:234)
   at org.alfresco.filesys.smb.server.SMBSrvSession.runHandler(SMBSrvSession.java:1450)
   at org.alfresco.filesys.smb.server.SMBSrvSession.run(SMBSrvSession.java:1351)
   at java.lang.Thread.run(Thread.java:619)
09:50:06,422 ERROR [org.alfresco.repo.node.integrity.IntegrityChecker] Found 1 integrity violations:
Invalid property value:
   Node: workspace://SpacesStore/f7abfa36-4ef1-11dc-8cc0-afd9112664db
   Type: {http://www.alfresco.org/model/content/1.0}folder
   Property: {http://www.alfresco.org/model/content/1.0}name
   Constraint: Value 'CD Label & Cover' matches regular expression: (.*[\"\*\\\>\<\?\/\:\|\xA3\xAC\%\&\+\;]+.*)|(.*[\.]?.*[\.]+$)|(.*[ ]+$)
09:50:06,422 ERROR [org.alfresco.util.transaction.SpringAwareUserTransaction] Transaction didn't commit
org.alfresco.repo.node.integrity.IntegrityException: Integrity failure
   at org.alfresco.repo.node.integrity.IntegrityChecker.checkIntegrity(IntegrityChecker.java:619)
   at org.alfresco.repo.transaction.AlfrescoTransactionSupport$TransactionSynchronizationImpl.flush(AlfrescoTransactionSupport.java:524)
   at org.alfresco.repo.transaction.AlfrescoTransactionSupport$TransactionSynchronizationImpl.beforeCommit(AlfrescoTransactionSupport.java:595)
   at org.springframework.transaction.support.AbstractPlatformTransactionManager.triggerBeforeCommit(AbstractPlatformTransactionManager.java:657)
   at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:482)
   at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:469)
   at org.springframework.transaction.interceptor.TransactionAspectSupport.doCommitTransactionAfterReturning(TransactionAspectSupport.java:266)
   at org.alfresco.util.transaction.SpringAwareUserTransaction.commit(SpringAwareUserTransaction.java:405)
   at org.alfresco.filesys.server.SrvSession.endTransaction(SrvSession.java:627)
   at org.alfresco.filesys.smb.server.SMBSrvSession.run(SMBSrvSession.java:1362)
   at java.lang.Thread.run(Thread.java:619)
09:51:14,656 ERROR [org.alfresco.smb.protocol] Closing session due to exception
org.alfresco.filesys.netbios.win32.WinsockNetBIOSException: null - Message too long
   at org.alfresco.filesys.smb.server.win32.WinsockNetBIOSPacketHandler.readPacket(WinsockNetBIOSPacketHandler.java:146)
   at org.alfresco.filesys.smb.server.SMBSrvSession.run(SMBSrvSession.java:1299)
   at java.lang.Thread.run(Thread.java:619)
10:45:33,536 ERROR [org.alfresco.smb.protocol] Closing session due to exception
org.alfresco.filesys.netbios.win32.WinsockNetBIOSException: null - Message too long
   at org.alfresco.filesys.smb.server.win32.WinsockNetBIOSPacketHandler.readPacket(WinsockNetBIOSPacketHandler.java:146)
   at org.alfresco.filesys.smb.server.SMBSrvSession.run(SMBSrvSession.java:1299)
   at java.lang.Thread.run(Thread.java:619)
11:08:42,299 ERROR [org.alfresco.smb.protocol] Closing session due to exception
org.alfresco.filesys.netbios.win32.WinsockNetBIOSException: null - Message too long
   at org.alfresco.filesys.smb.server.win32.WinsockNetBIOSPacketHandler.readPacket(WinsockNetBIOSPacketHandler.java:146)
   at org.alfresco.filesys.smb.server.SMBSrvSession.run(SMBSrvSession.java:1299)
   at java.lang.Thread.run(Thread.java:619)
12:20:45,759 ERROR [org.alfresco.repo.node.integrity.IntegrityChecker] Found 1 integrity violations:
Invalid property value:
   Node: workspace://SpacesStore/038bc89e-4f07-11dc-8cc0-afd9112664db
   Type: {http://www.alfresco.org/model/content/1.0}content
   Property: {http://www.alfresco.org/model/content/1.0}name
   Constraint: Value '1 recyclage & valorisatie per materiaal.pdf' matches regular expression: (.*[\"\*\\\>\<\?\/\:\|\xA3\xAC\%\&\+\;]+.*)|(.*[\.]?.*[\.]+$)|(.*[ ]+$)
12:20:45,759 ERROR [org.alfresco.util.transaction.SpringAwareUserTransaction] Transaction didn't commit
org.alfresco.repo.node.integrity.IntegrityException: Integrity failure
   at org.alfresco.repo.node.integrity.IntegrityChecker.checkIntegrity(IntegrityChecker.java:619)
   at org.alfresco.repo.transaction.AlfrescoTransactionSupport$TransactionSynchronizationImpl.flush(AlfrescoTransactionSupport.java:524)
   at org.alfresco.repo.transaction.AlfrescoTransactionSupport$TransactionSynchronizationImpl.beforeCommit(AlfrescoTransactionSupport.java:595)
   at org.springframework.transaction.support.AbstractPlatformTransactionManager.triggerBeforeCommit(AbstractPlatformTransactionManager.java:657)
   at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:482)
   at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:469)
   at org.springframework.transaction.interceptor.TransactionAspectSupport.doCommitTransactionAfterReturning(TransactionAspectSupport.java:266)
   at org.alfresco.util.transaction.SpringAwareUserTransaction.commit(SpringAwareUserTransaction.java:405)
   at org.alfresco.filesys.server.SrvSession.endTransaction(SrvSession.java:627)
   at org.alfresco.filesys.smb.server.SMBSrvSession.run(SMBSrvSession.java:1362)
   at java.lang.Thread.run(Thread.java:619)
12:20:45,838 ERROR [org.alfresco.smb.protocol] Closing session due to exception
org.alfresco.service.cmr.repository.InvalidNodeRefException: Node does not exist: workspace://SpacesStore/038bc89e-4f07-11dc-8cc0-afd9112664db
   at org.alfresco.repo.node.db.DbNodeServiceImpl.getNodeNotNull(DbNodeServiceImpl.java:129)
   at org.alfresco.repo.node.db.DbNodeServiceImpl.getProperty(DbNodeServiceImpl.java:917)
   at sun.reflect.GeneratedMethodAccessor108.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at org.alfresco.repo.service.StoreRedirectorProxyFactory$RedirectorInvocationHandler.invoke(StoreRedirectorProxyFactory.java:221)
   at $Proxy2.getProperty(Unknown Source)
   at sun.reflect.GeneratedMethodAccessor108.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:335)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:181)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:148)
   at org.alfresco.repo.node.MLPropertyInterceptor.invoke(MLPropertyInterceptor.java:142)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
   at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:176)
   at $Proxy3.getProperty(Unknown Source)
   at org.alfresco.repo.content.RoutingContentService.getReader(RoutingContentService.java:277)
   at org.alfresco.repo.content.RoutingContentService.getWriter(RoutingContentService.java:351)
   at sun.reflect.GeneratedMethodAccessor280.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:335)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:181)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:148)
   at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:116)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
   at net.sf.acegisecurity.intercept.method.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:80)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
   at org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethodInterceptor.invoke(ExceptionTranslatorMethodInterceptor.java:49)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
   at org.alfresco.repo.audit.AuditComponentImpl.auditImpl(AuditComponentImpl.java:219)
   at org.alfresco.repo.audit.AuditComponentImpl.audit(AuditComponentImpl.java:165)
   at org.alfresco.repo.audit.AuditMethodInterceptor.invoke(AuditMethodInterceptor.java:69)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
   at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
   at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:176)
   at $Proxy13.getWriter(Unknown Source)
   at org.alfresco.filesys.smb.server.repo.ContentNetworkFile.openContent(ContentNetworkFile.java:305)
   at org.alfresco.filesys.smb.server.repo.ContentNetworkFile.truncateFile(ContentNetworkFile.java:406)
   at org.alfresco.filesys.smb.server.repo.ContentDiskDriver.truncateFile(ContentDiskDriver.java:2113)
   at org.alfresco.filesys.smb.server.NTProtocolHandler.procTrans2SetFile(NTProtocolHandler.java:4584)
   at org.alfresco.filesys.smb.server.NTProtocolHandler.processTransactionBuffer(NTProtocolHandler.java:1840)
   at org.alfresco.filesys.smb.server.NTProtocolHandler.procTransact2(NTProtocolHandler.java:1639)
   at org.alfresco.filesys.smb.server.NTProtocolHandler.runProtocol(NTProtocolHandler.java:234)
   at org.alfresco.filesys.smb.server.SMBSrvSession.runHandler(SMBSrvSession.java:1450)
   at org.alfresco.filesys.smb.server.SMBSrvSession.run(SMBSrvSession.java:1351)
   at java.lang.Thread.run(Thread.java:619)

gary_spencer
Champ in-the-making
Champ in-the-making
Hi Bart,

What version of Alfresco are you running ?.

The problem is the '&' in the file name, an integrity check is causing the exception saying that the character is not valid in a file name. There have been some changes to this in recent versions of Alfresco, I'll check with one of the other developers to see if the '&' character is now valid.

Cheers

Gary

bart
Champ in-the-making
Champ in-the-making
Hello Gary,

I'm running the latest version I guess, 2.0.0

I already noticed that the ampersand & was a problem. But I think there's more than that issue alone.

Thanks for your feedback of the developer team.

Bart

paolo_bettini
Champ in-the-making
Champ in-the-making
Hi guys.

When copying a bulk of files to the alfresco network share, I constantly get this message: cannot copy "filename": the specified network name is no longer available.

Sometimes: \\..\alfresco is not accessible. You might not have permission to use this network resource. Logon failure: unknown user name or bad password.

I manage to copy some files, but after some files have been copied, this message appears again and again. Quit annoying if you just have 30 days to evaluate alfresco …
Bart

I have the same problem, but my stacktrace is a little bit different:


14:16:38,477 DEBUG [org.alfresco.smb.protocol] Winsock NetBIOS session request received, caller=[DIREDAWA:WorkStation,Unique,]
14:16:38,477 DEBUG [org.alfresco.smb.protocol] Waiting for Win32 NetBIOS session request (Winsock) …
14:16:38,477 DEBUG [org.alfresco.smb.protocol] Server session started
14:16:38,477 DEBUG [org.alfresco.smb.protocol] Negotiated SMB dialect - NT LM 0.12
14:16:38,477 DEBUG [org.alfresco.smb.protocol] Assigned protocol handler - org.alfresco.filesys.smb.server.NTProtocolHandler
14:16:38,492 ERROR [org.alfresco.smb.protocol] Closing session due to exception
org.alfresco.filesys.netbios.win32.WinsockNetBIOSException: 10054:SendSocket - Connection reset by peer
   at org.alfresco.filesys.netbios.win32.Win32NetBIOS.SendSocket(Native Method)
   at org.alfresco.filesys.netbios.win32.NetBIOSSocket.write(NetBIOSSocket.java:266)
   at org.alfresco.filesys.smb.server.win32.WinsockNetBIOSPacketHandler.writePacket(WinsockNetBIOSPacketHandler.java:187)
   at org.alfresco.filesys.smb.server.SMBSrvSession.sendResponseSMB(SMBSrvSession.java:1526)
   at org.alfresco.filesys.smb.server.SMBSrvSession.sendResponseSMB(SMBSrvSession.java:1495)
   at org.alfresco.filesys.smb.server.NTProtocolHandler.procReadAndX(NTProtocolHandler.java:2639)
   at org.alfresco.filesys.smb.server.NTProtocolHandler.runProtocol(NTProtocolHandler.java:265)
   at org.alfresco.filesys.smb.server.SMBSrvSession.runHandler(SMBSrvSession.java:1460)
   at org.alfresco.filesys.smb.server.SMBSrvSession.run(SMBSrvSession.java:1361)
   at java.lang.Thread.run(Thread.java:595)

I tried to change my "file-server.xml" configuration in many ways, but nothing seems to work.

Last try was to change the CIFS host name:
<host name="${localname}_A"/> –> host name="${localname}_ELSE"/>

It worked for the first bulk copy, but after a while same problem again!

Maybe some NETBIOS cache issue?
Ever seen this stacktrace before?

Help is welcome…

Tnx in advance, Paolo.

gary_spencer
Champ in-the-making
Champ in-the-making
Hi,

What's the client OS/version/service pack ?, what sort of network connection (wired/wireless/VPN) ?.

In this case the low level socket/NetBIOS connection is being reset by the client for some reason. The Alfresco CIFS server is responding to a file read request.

I think I've only seen something like this a couple of times, but I've not been able to reproduce it here.

Cheers

Gary

paolo_bettini
Champ in-the-making
Champ in-the-making
Hi Gary.

OS: XP pro SP2.
Network connections: I disabled everything but wired.

I changed again the host name, and now it seems to work quite fine…
It's like if windows cached wrong username and pwd, but no way to clean them. New host name, and you start from a clear situation… that's the feeling anyway!

I'm gonna stress this configuration to see if it works fine…

Thank you very much for now, I'll keep you up to date.
Paolo.

gary_spencer
Champ in-the-making
Champ in-the-making
Hi,

Windows does have a habit of caching username/passwords which can be a problem if you want to switch to another account. But that would normally only affect the initial CIFS session setup, in this case the error is in the middle of reading a file.

Cheers

Gary

paolo_bettini
Champ in-the-making
Champ in-the-making
Well… it seems to work now…

I was trying to configure my eclipse to deploy directly inside alfresco, under the webroot via AVM, and maybe this create some sort of problems.

At the beginning I had the same problem also only using the windows file manager, but now I have decoupled eclipse, and I've cleaned in some way my CIFS configuration changing the host name, it works fine.

No idea about the real cause of the problem, by the way I can work now and it's quite enough!

Thanks again for support,
Paolo.