[jcifs] Connection Timeout

Michael B Allen mba2000 at ioplex.com
Sat Mar 25 04:40:18 GMT 2006


In 1.2.8 to be released RSN, the default jcifs.smb.client.responseTimeout
and jcifs.smb.client.soTimeout values have been increased from 10000
and 15000 to 30000 and 35000 respectively.

On Tue, 31 Jan 2006 15:55:48 -0500
Michael B Allen <mba2000 at ioplex.com> wrote:

> 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