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:

<i>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)</i>

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
<br><hr align="left" width="300">
View this message in context: <a href="http://old.nabble.com/Intermittent-%22jcifs.util.transport.TransportException%3A-Connection-in-error%22-being-encountered-tp28396600p28396600.html">Intermittent "jcifs.util.transport.TransportException: Connection in error" being encountered</a><br>
Sent from the <a href="http://old.nabble.com/Samba---jcifs-f13153.html">Samba - jcifs mailing list archive</a> at Nabble.com.<br>