[jcifs] SmbException by copying a File

kku at shd.de kku at shd.de
Mon Aug 29 19:19:06 GMT 2005


Hi,

I try to copy a File (Zip-File) from an SMB share on a Windows 2003 
Server (SP1) to an other 2003 Server.
Sometimes it works great, but often the transmission crashes with an 
Exception:

jcifs.smb.SmbException:
jcifs.util.transport.TransportException: Transport1 timedout waiting for 
respons
e to 
SmbComReadAndX[command=SMB_COM_READ_ANDX,received=false,errorCode=The opera
tion completed 
successfully.,flags=0x0018,flags2=0xC003,signSeq=0,tid=12289,pid=
52551,uid=20482,mid=2537,wordCount=12,byteCount=0,andxCommand=0xFF,andxOffset=0, 

fid=16392,offset=4030464,maxCount=2048,minCount=2048,openTimeout=-1,remaining=0, 

offset=4030464]
       at jcifs.util.transport.Transport.sendrecv(Transport.java:74)
       at jcifs.smb.SmbTransport.send(SmbTransport.java:554)
       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.SmbFileInputStream.read(SmbFileInputStream.java:152)

The connection between the 2 Servers is available at all the time and 
doesn't break.
Copying the File whit the Windows-Explorer or other tools works whitout 
problems.

What can I do?

thanks
 



More information about the jcifs mailing list