[jcifs] java.io.IOException: Failed to establish session
adam.morgan at Q1Labs.com
Wed Jul 7 09:03:11 MDT 2010
I'm running into an issue related to network connectivity. We've setup
a windows box with samba and are connecting successfully with a client.
We have a script running on the windows box to periodically turn off the
network adapter. This is resulting in an exception being written to
STDOUT by the jcifs library, but the issue is never elevated to our code
so we cannot handle it gracefully (ie try a reconnect). We're not doing
anything funky with configuration, just using the API in vanilla mode.
Here's the exception:
java.io.IOException: Failed to establish session with
I see in jcifs.util.transport.Transport, line 243, that the exception is
being printed to STDOUT.
Can u explain why this exception isn't passed on up thru to the code
that is using the API so we can handle it gracefully? I've seen other
timeout exceptions that DO get passed up the chain so what might be
making this one not get passed up?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the jCIFS