Copy timeout

Jerwine Clark Badiang <[email protected]> Tue, 14 Aug 2012 15:16:10 +0800
Newsgroups gmane.network.samba.java
Message-ID <[email protected]>
Hi,

Good afternoon.

I have been using jcifs library to copy files to/from SAMBA shares. 
However I encounter this problem:

When copying file from the SAMBA share, the network has been 
disconnected for 45 seconds then established connection again, but it 
result to this exception,
2012-08-06 
16:46:18:961,ERROR,Communicator,createRefDirFromSmb,"jcifs.util.transport.TransportException: 
Transport1 timedout waiting for response to 
SmbComReadAndX[command=SMB_COM_READ_ANDX,received=false,errorCode=0,flags=0x0018,flags2=0xC803,signSeq=0,tid=2048,pid=19285,uid=2048,mid=987,wordCount=12,byteCount=0,andxCommand=0xFF,andxOffset=0,fid=9,offset=57344,maxCount=4286,minCount=4286,openTimeout=-1,remaining=0,offset=57344]

even though I have the following settings:

-Djcifs.smb.client.responseTimeout=1200000
-Djcifs.netbios.soTimeout=1200000

Is my setting correct?
What possible settings may need to be added in order to continue copying even though the network connection has been unavailable for 45 seconds?

Thank you very much.

Best regards,
Jerwine