Re[jcifs] connecting to Windows using JCIFS
marasim at gmail.com
Fri Apr 25 07:25:02 GMT 2008
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
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: http://www.nabble.com/Reconnecting-to-Windows-using-JCIFS-tp16892093p16892093.html
Sent from the Samba - jcifs mailing list archive at Nabble.com.
More information about the jcifs