<p>Hi Jerwine,</p>
<p>I think you want jcifs.smb.client.timeout and not jcifs.netbios.timeout. See the Setting Client Properties page.</p>
<p>Mike</p>
<div class="gmail_quote">On Aug 14, 2012 3:20 AM, "Jerwine Clark Badiang" <<a href="mailto:jbadiang@ntsp.nec.co.jp">jbadiang@ntsp.nec.co.jp</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
Good afternoon.<br>
<br>
I have been using jcifs library to copy files to/from SAMBA shares. However I encounter this problem:<br>
<br>
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,<br>
2012-08-06 16:46:18:961,ERROR,<u></u>Communicator,<u></u>createRefDirFromSmb,"jcifs.<u></u>util.transport.<u></u>TransportException: Transport1 timedout waiting for response to SmbComReadAndX[command=SMB_<u></u>COM_READ_ANDX,received=false,<u></u>errorCode=0,flags=0x0018,<u></u>flags2=0xC803,signSeq=0,tid=<u></u>2048,pid=19285,uid=2048,mid=<u></u>987,wordCount=12,byteCount=0,<u></u>andxCommand=0xFF,andxOffset=0,<u></u>fid=9,offset=57344,maxCount=<u></u>4286,minCount=4286,<u></u>openTimeout=-1,remaining=0,<u></u>offset=57344]<br>

<br>
even though I have the following settings:<br>
<br>
-Djcifs.smb.client.<u></u>responseTimeout=1200000<br>
-Djcifs.netbios.soTimeout=<u></u>1200000<br>
<br>
Is my setting correct?<br>
What possible settings may need to be added in order to continue copying even though the network connection has been unavailable for 45 seconds?<br>
<br>
Thank you very much.<br>
<br>
Best regards,<br>
Jerwine<br>
<br>
</blockquote></div>