[jcifs] SmbException in jcifs-1.2.7

Rainer Buss rainer.buss at rbconsult.de
Wed Jan 4 13:47:26 GMT 2006


Hi,

I am a new user of jcifs.
We are using jcifs-1.2.7 in an application that scans an remote directory
in 20 sec interval for new files. We often get exceptions like these shown
below and are not shure, if these messages indicate severe errors corrupting
further connections or errors as described in release text for jcifs-1.2.4:

"It was discovered that the new transport (as of 1.2.x) could not cleanly 
recover from temporary server failure (e.g. a restart). This has been fixed. 
Methods will still throw Exceptions but the moment the server comes back online 
the client should gracefully recover."

The errorCode is always 0 or 'The operation completed successfully' ?!

Is it possible to avoid these errors by setting properties as
jcifs.netbios.retryCount ?

Any idea ?

thanks

Rainer Buss

Error transferring File : jcifs.smb.SmbException: 
jcifs.util.transport.TransportException: Transport1[duss0485/15.1.15.151:445] 
timedout waiting for response to Trans2QueryPathInformation
[command=SMB_COM_TRANSACTION2,received=false,errorCode=0,flags=0x0018,flags2=0xC
003,signSeq=0,tid=64,pid=31319,uid=2048,mid=18102,wordCount=15,byteCount=145,tot
alParameterCount=144,totalDataCount=0,maxParameterCount=2,maxDataCount=40,maxSet
upCount=0,flags=0x00,timeout=0,parameterCount=144,parameterOffset=66,parameterDi
splacement=0,dataCount=0,dataOffset=210,dataDisplacement=0,setupCount=1,pad=1,pa
d1=0,informationLevel=0x101,filename=\RMSC_Equities_Transfer\Applications\MPVaR_
ATLAS_Panmure\Input\MPVaR]
	at jcifs.smb.SmbTransport.send(SmbTransport.java:574)
	at jcifs.smb.SmbSession.send(SmbSession.java:229)
	at jcifs.smb.SmbTree.send(SmbTree.java:102)
	at jcifs.smb.SmbFile.send(SmbFile.java:688)
	at jcifs.smb.SmbFile.queryPath(SmbFile.java:1196)
	at jcifs.smb.SmbFile.exists(SmbFile.java:1250)
	at wlb.mpvar.fileimport.transfer.FrontOfficeFileTransfer.run(Unknown 
Source)
	at wlb.mpvar.fileimport.demons.BasicDemon.run(Unknown Source)
	
	
Error transferring File : jcifs.smb.SmbException: 
jcifs.util.transport.TransportException: Transport1[duss0485/15.1.15.151:445] 
timedout waiting for response to Trans2QueryPathInformation
[command=SMB_COM_TRANSACTION2,received=false,errorCode=The operation completed 
successfully.,flags=0x0018,flags2=0xC003,signSeq=0,tid=64,pid=50258,uid=2048,mid
=17913,wordCount=15,byteCount=133,totalParameterCount=132,totalDataCount=0,maxPa
rameterCount=2,maxDataCount=40,maxSetupCount=0,flags=0x00,timeout=0,parameterCou
nt=132,parameterOffset=66,parameterDisplacement=0,dataCount=0,dataOffset=198,dat
aDisplacement=0,setupCount=1,pad=1,pad1=0,informationLevel=0x101,filename=\RMSC_
Equities_Transfer\Applications\MPVaR_ATLAS_PANMURE\Input]
	at jcifs.smb.SmbTransport.send(SmbTransport.java:533)
	at jcifs.smb.SmbSession.send(SmbSession.java:228)
	at jcifs.smb.SmbTree.send(SmbTree.java:102)
	at jcifs.smb.SmbFile.send(SmbFile.java:688)
	at jcifs.smb.SmbFile.queryPath(SmbFile.java:1196)
	at jcifs.smb.SmbFile.exists(SmbFile.java:1250)
	at wlb.mpvar.fileimport.transfer.FrontOfficeFileTransfer.run(Unknown 
Source)
	at wlb.mpvar.fileimport.demons.BasicDemon.run(Unknown Source)




More information about the jcifs mailing list