You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2010/06/21 11:01:51 UTC
[jira] Assigned: (CAMEL-2829) "Unconnected sockets not implemented"
exception in camel-ftp when using ftps
[ https://issues.apache.org/activemq/browse/CAMEL-2829?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen reassigned CAMEL-2829:
----------------------------------
Assignee: Claus Ibsen
> "Unconnected sockets not implemented" exception in camel-ftp when using ftps
> ----------------------------------------------------------------------------
>
> Key: CAMEL-2829
> URL: https://issues.apache.org/activemq/browse/CAMEL-2829
> Project: Apache Camel
> Issue Type: Bug
> Components: camel-ftp
> Affects Versions: 2.4.0
> Reporter: Bengt Rodehav
> Assignee: Claus Ibsen
> Attachments: FtpOperations.diff, FtpOperations.java, FtpsEndpoint.diff, FtpsEndpoint.java, FtpsOperations.diff, FtpsOperations.java
>
>
> When using ftps with a secure data channel, camel-ftp cannot recover from a lost connection. This is due to a bug/flaw in the SFTPClient class in commons-net. Once a secure data channel has been established, SFTPClient replaces the connection factory with one that does not provide support for creating "unconnected sockets".
> While waiting for a fix from the commons-net team (should they chosse to create one), a work-around in camel-ftp is to always create a new instance of SFTPClient for every connect attempt.
> Attached are patches containing an attempt to implement the mentioned work-around. The classes, FtpsOperations, FtpsEndpoint and FtpOperations are involved.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.