[jcifs] timeout exceptions

Embry, Clay cembry at vignette.com
Mon Jun 5 17:30:25 GMT 2006


Hi. I keep getting the following two errors intermittently. I have
jcifs.smb.client.responseTimeout set to 60000 and
jcifs.smb.client.soTimeout set to 65000. Does anyone have any advice on
how to deal with these errors? For my application it is much more
important that it successfully complete the file operations than be
fast. Should I just up the timeout some more? Is there any way to set up
jcifs to retry operations when there are errors?
Thanks.




jcifs.smb.SmbException: 
jcifs.util.transport.TransportException: Transport1 timedout waiting for
response to
SmbComReadAndX[command=SMB_COM_READ_ANDX,received=false,errorCode=0,flag
s=0x0018,flags2=0xC003,signSeq=0,tid=47109,pid=21083,uid=49154,mid=14729
,wordCount=12,byteCount=0,andxCommand=0xFF,andxOffset=0,fid=32772,offset
=3819520,maxCount=1024,minCount=1024,openTimeout=-1,remaining=0,offset=3
819520]
    at jcifs.util.transport.Transport.sendrecv(Transport.java:76)
    at jcifs.smb.SmbTransport.send(SmbTransport.java:602)
    at jcifs.smb.SmbSession.send(SmbSession.java:231)
    at jcifs.smb.SmbTree.send(SmbTree.java:102)
    at jcifs.smb.SmbFile.send(SmbFile.java:687)
    at jcifs.smb.SmbFileInputStream.read(SmbFileInputStream.java:152)
    at jcifs.smb.SmbFileInputStream.read(SmbFileInputStream.java:110)


jcifs.smb.SmbException: 
jcifs.util.transport.TransportException:
Transport1[VOLSSCMS<20>/10.13.0.102:445] timedout waiting for response
to
Trans2QueryPathInformation[command=SMB_COM_TRANSACTION2,received=false,e
rrorCode=0,flags=0x0018,flags2=0xC003,signSeq=0,tid=6150,pid=21083,uid=3
2771,mid=28252,wordCount=15,byteCount=39,totalParameterCount=38,totalDat
aCount=0,maxParameterCount=2,maxDataCount=40,maxSetupCount=0,flags=0x00,
timeout=0,parameterCount=38,parameterOffset=66,parameterDisplacement=0,d
ataCount=0,dataOffset=104,dataDisplacement=0,setupCount=1,pad=1,pad1=0,i
nformationLevel=0x101,filename=\Tickets\159003]
    at jcifs.smb.SmbTransport.send(SmbTransport.java:581)
    at jcifs.smb.SmbSession.send(SmbSession.java:231)
    at jcifs.smb.SmbTree.send(SmbTree.java:102)
    at jcifs.smb.SmbFile.send(SmbFile.java:687)
    at jcifs.smb.SmbFile.queryPath(SmbFile.java:1199)
    at jcifs.smb.SmbFile.exists(SmbFile.java:1253)
    at jcifs.smb.SmbFile.mkdirs(SmbFile.java:2260)

-------------- next part --------------
HTML attachment scrubbed and removed


More information about the jcifs mailing list