[jcifs] DFS-Links and jcifs.smb.client.soTimeout

Donato Marro marro at e-spirit.de
Thu May 19 15:29:58 GMT 2005


while testing some DFS-stuff with jCIFS 1.1.10 I noticed the following behavior:

When I'm trying to access a DFS-Link with a newly generated NPA-Object, I get 
the expected DfsReferral-Excpetion. Now, when I'm trying to access the same DFS-
Link a second time (with the old NPA-Object as well as with a new one) I get an 
"Invalid access to memory location"-Exception. This behavior only occurs when 
there are less than <jcifs.smb.client.soTimeout> milliseconds between the two 
trys. After waiting <jcifs.smb.client.soTimeout> milliseconds I get the 
DfsReferral-Exception again.

Is this behavior the expected one?

Donato Marro

More information about the jcifs mailing list