[jcifs] Intermittent "jcifs.util.transport.TransportException: Connection in error" being encountered

Sourav.Basu basu.sourav2008 at gmail.com
Wed Apr 28 22:39:12 MDT 2010


Guys,

Our application, hosted on a Unix server, uses SMB to create files on a
Windows server. However, since th last 2 days, the application is
encountering intermittent connection timeout errors while creating the file.
A restart of the application is resolving the problem, which is strange. The
application code hasn't changed during this time period.

Following is the stack trace of the exception encountered:

jcifs.util.transport.TransportException: Connection in error
jcifs.util.transport.TransportException: Connection timeout
	at jcifs.util.transport.Transport.connect(Transport.java:164)
	at jcifs.smb.SmbTransport.connect(SmbTransport.java:254)
	at jcifs.smb.SmbTree.treeConnect(SmbTree.java:119)
	at jcifs.smb.SmbFile.connect(SmbFile.java:790)
	at jcifs.smb.SmbFile.connect0(SmbFile.java:760)
	at jcifs.smb.SmbFile.open0(SmbFile.java:815)
	at jcifs.smb.SmbFile.createNewFile(SmbFile.java:2240)

Quite unsure as to how a restart is resolving the problem (this has happened
twice now).

Any help to resolve the issue will be appreciated. Thanks
-- 
View this message in context: http://old.nabble.com/Intermittent-%22jcifs.util.transport.TransportException%3A-Connection-in-error%22-being-encountered-tp28396600p28396600.html
Sent from the Samba - jcifs mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.samba.org/pipermail/jcifs/attachments/20100428/fc8e9f1c/attachment.html>


More information about the jCIFS mailing list