[jcifs] Issues connecting with DFS server
M. D.
moder at abv.bg
Fri Oct 10 05:50:48 MDT 2014
Hello,
Another exception in the logs that is randomly occuring after a few successful pollings on the same DFS share:
Caused by: jcifs.smb.SmbException: The network name cannot be found.
at jcifs.smb.SmbTransport.checkStatus(SmbTransport.java:566)
at jcifs.smb.SmbTransport.send(SmbTransport.java:667)
at jcifs.smb.SmbSession.send(SmbSession.java:238)
at jcifs.smb.SmbTree.treeConnect(SmbTree.java:176)
at jcifs.smb.SmbFile.doConnect(SmbFile.java:911)
at jcifs.smb.SmbFile.connect(SmbFile.java:954)
at jcifs.smb.SmbFile.connect0(SmbFile.java:880)
at jcifs.smb.SmbFile.queryPath(SmbFile.java:1335)
at jcifs.smb.SmbFile.exists(SmbFile.java:1417)
I'm starting to think that these exceptions are occuring due to a high load on the system.
Although, I have configured soTimeout to be 120sec...
Best regards,
M.D
>-------- Оригинално писмо --------
>От: M. D.
>Относно: Re: [jcifs] Issues connecting with DFS server
>До: jcifs at lists.samba.org
>Изпратено на: Петък, 2014, Октомври 10 14:24:40 EEST
>
>
> Hello,
>
>I also noticed this exception regularly occuring in the logs:
>
>Caused by: jcifs.smb.SmbException: Transport38 timedout waiting for response to SmbComSessionSetupAndX[command=SMB_COM_SESSION_SETUP_ANDX,received=false,errorCode=0,flags=0x0018,flags2=0xC803,signSeq=0,tid=0,pid=29747,uid=0,mid=12322,wordCount=12,byteCount=107,andxCommand=0xFF,andxOffset=0,snd_buf_size=16644,maxMpxCount=10,VC_NUMBER=1,sessionKey=0,lmHash.length=0,ntHash.length=0,capabilities=-2147479468,accountName=null,primaryDomain=null,NATIVE_OS=Windows Server 2008 R2,NATIVE_LANMAN=jCIFS]
>jcifs.util.transport.TransportException: Transport38 timedout waiting for response to SmbComSessionSetupAndX[command=SMB_COM_SESSION_SETUP_ANDX,received=false,errorCode=0,flags=0x0018,flags2=0xC803,signSeq=0,tid=0,pid=29747,uid=0,mid=12322,wordCount=12,byteCount=107,andxCommand=0xFF,andxOffset=0,snd_buf_size=16644,maxMpxCount=10,VC_NUMBER=1,sessionKey=0,lmHash.length=0,ntHash.length=0,capabilities=-2147479468,accountName=null,primaryDomain=null,NATIVE_OS=Windows Server 2008 R2,NATIVE_LANMAN=jCIFS]
> at jcifs.util.transport.Transport.sendrecv(Transport.java:73)
> at jcifs.smb.SmbTransport.send(SmbTransport.java:658)
> at jcifs.smb.SmbSession.sessionSetup(SmbSession.java:390)
> at jcifs.smb.SmbSession.send(SmbSession.java:218)
> at jcifs.smb.SmbTree.treeConnect(SmbTree.java:176)
> at jcifs.smb.SmbSession.logon(SmbSession.java:147)
> at jcifs.smb.SmbSession.logon(SmbSession.java:140)
>
>
>The issue is occuring randomly and although most of the pollings are successful sometimes these exceptions are thrown and the polling fails.
>
>Any help will be appreciated!
>
>Best regards,
>M.D
>
> >-------- Оригинално писмо --------
> >От: M. D.
> >Относно: Re: [jcifs] Issues connecting with DFS server
> >До: jcifs at lists.samba.org
> >Изпратено на: Петък, 2014, Октомври 10 14:07:33 EEST
> >
> >
> > Hello,
> >
> >I was wondering if this problem was solved. I'm experiencing the same particular issue:
> >
> >Caused by: jcifs.smb.SmbException: Invalid operation for ????? service
> > at jcifs.smb.SmbTree.send(SmbTree.java:100)
> > at jcifs.smb.SmbFile.send(SmbFile.java:775)
> > at jcifs.smb.SmbFile.queryPath(SmbFile.java:1363)
> > at jcifs.smb.SmbFile.exists(SmbFile.java:1417)
> >
> >> That error:
> >
> >> Invalid operation for ????? service at
> >> jcifs.smb.SmbTree.send(SmbTree.java:100)
> >
> >> means that the client received an SmbComTransaction response
> >> subCommand that JCIFS doesn't understand.
> >
> >> If you can provide a capture, I might be able to tell you more (do not
> >> post packet captures to the mailing list).
> >
> >Captures will follow.
> >
> >P.S. If it is of any help - I'm querying DFS shares.
> >
> >Best regards,
> >M.D
> >
>
More information about the jCIFS
mailing list