[jcifs] a bug

Allen, Michael B (RSCH) Michael_B_Allen at ml.com
Tue Jan 15 16:55:53 EST 2002


First, please send all message directly to the jcifs at samba.org mailing list and not
me directly. It doesn't matter if you're not on the list, they'll still make it.

> -----Original Message-----
> From:	Dmitry [SMTP:surfer at ok.ru]
> Sent:	Tuesday, January 15, 2002 12:52 AM
> To:	Allen, Michael B (RSCH)
> Subject:	Re: [jcifs] a bug
> 
> >	Do you mean the SmbCrawler examples?
> 
> yes my application is like SmbCrawler
> 
> >> 
> >	I think I know what this Socket closed exception is. 
> >Here's an example:
> 
> definitly you right!!!! :) Damn, i used to less debug 
> information
> 
> >"Socket closed" because jCIFS closed it. This is all
> >	normal and the socket should be reestablished gracefully 
> >provided you skip the resource that provoked
> >	the error..
> 
> everything is so except i get traceroute far outside my 
> code... :(
> and i could not re-establish connection.
> 
	You have to SKIP THAT RESOURCE. Put the catch clause INSIDE your loops.

	Mike





More information about the jcifs mailing list