[jcifs] jcifs.netbios.retryCount

Michael B Allen mba2000 at ioplex.com
Mon Mar 7 21:32:03 GMT 2005


Pollers, Roel [NCSBE - Non JJ] said:
> Hello,
>
> We are currently testing jcifs (jcifs-1.1.0.jar) in our production
> environment. All is working fine but from the following:
> If both our WINS servers are unreachable ( we simulate this by specifying
> a
> bad route for the WINS servers ), jcifs keeps trying to connect.

Yeah, so? What behavior would you expect?

> There is probably a parameter with which I can st a timeout for this but I
> cannot find it.

I think the cachePolicy might be more interesting for you.

> I also tried setting jcifs.smb.client.responseTimeout,
> jcifs.smb.client.soTimeout & jcifs.netbios.soTimeout but all these don't
> seem to stop jcifs from keeping to try and authenticate every n seconds
> making my session hang.

Those are not the parameters youre interested in. You can read about what
each property does on the overview page of the API docs.

> Has anyone got an idea which parameter I need to set in order for jcifs to
> timeout after n seconds or after n retries ?

There is no such property nor do I feel there should be. What behavior do
you expect and why?

Mike


More information about the jcifs mailing list