[jcifs] Can not connect any more.

Michael B Allen mba2000 at ioplex.com
Tue Nov 8 16:35:49 GMT 2005


On Tue, 8 Nov 2005 16:33:06 +0800
"Jim Qiu" <qiu_jinmeng at illumina.co.jp> wrote:

> Hi 
>  I am using the lastest version of Jcifs http filter. when my tomcat startup , my domina server is down.
> 
> so I get a timeout error.
> 
> but later my domain server is up, I still get a connection timout error,seems jcifs is displaying the last error, and does not try connect again.
> this is the error stack trace
> 
> jcifs.smb.SmbException: 
> jcifs.util.transport.TransportException: Connection in error
> jcifs.util.transport.TransportException: Connection timeout
> 	at jcifs.util.transport.Transport.connect(Transport.java:175)
> 	at jcifs.smb.SmbTransport.connect(SmbTransport.java:271)
> 	at jcifs.smb.SmbSession.getChallenge(SmbSession.java:138)
> 	at jcifs.smb.SmbSession.getChallenge(SmbSession.java:132)

It should only throw the "Connection in error" message once after a
socket exception. Then the transport should connect again.

Mike


More information about the jcifs mailing list