[jcifs] Timeout while reading a directory or file

Michael B Allen mba2000 at ioplex.com
Tue Jul 13 23:28:08 GMT 2004


Donato Marro said:

> Reading directory... failed!
> jcifs.smb.SmbException: An error occured sending the request.
> java.net.ConnectException: Connection timed out: connect
<snip>
> The exception is always thrown after 30 seconds. But the strange
> thing is that i get it only on one of our servers. Running the
> application with another server as argument does fine. Only one
> server causes this timeout-exception.

First, try jcifs-0.9.5 as it fixed a somewhat not-entirely-unrelated issue.

Otherwise the only practical way to see what's happening is to send me a
packet capture directly [1].

Mike

[1] http://jcifs.samba.org/capture.html


More information about the jcifs mailing list