[jcifs] Connection Timeout
Michael B Allen
mba2000 at ioplex.com
Tue Jan 31 20:55:48 GMT 2006
On Tue, 31 Jan 2006 08:34:05 -0500
"Tony Thompson" <tony.thompson at stone-ware.com> wrote:
> Apparently, this is just because I am testing with a slow Samba server.
> Whatever state Samba is in at that point it just seems to take longer to
> respond and jCIFS just gave up too early. I set
> jcifs.smb.client.responseTimeout and jcifs.smb.client.soTimeout and
> everything seemed to work fine. After I tried the 5 minute timeout you
> suggested, I backed it down to like 30 seconds and that worked as well.
Mmm, 10 seconds to respond to a negotiate request is a LONG time. But ok.
Maybe I'll bump bug the defaults for responseTimeout and soTimeout a little.
Thanks,
Mike
More information about the jcifs
mailing list