Re[jcifs] connecting to Windows using JCIFS

marasim marasim at
Fri Apr 25 07:25:02 GMT 2008

Hi All:

I am trying to connect to a Windows machine. If the Windows host goes down
(shuts down, or network disconnects) and then comes back up after a while, I
get this exception:



jcifs.util.transport.TransportException: Transport1 timedout waiting for
response to

I have no idea why I get this, I know there is a timeout which I can
increase, but even after increasing it to 10 minutes instead of the default
30 seconds, it doesn't try to reconnect.

The strange thing is my code doesn't get the exception for me to catch, I am
using DcerpcHandle and my guess is it calls the SmbTransport.send()
somewhere which throws this exception.

I would really appreciate any help to understand how I can catch this
exception so that I can manually reconnect to the machine.

Thanks a lot for your help.

View this message in context:
Sent from the Samba - jcifs mailing list archive at

More information about the jcifs mailing list