2 Replies Latest reply on Feb 5, 2013 5:07 PM by 989294

    Issue with FTP Adapter - Public Key Authentication type


      I am having a FTP Adapter in my BPEL process.
      I am using the Authentication type as publickey ad have created the JNDI for FTP Adapter and have defined the following properties:
      Use Sftp = true
      Private Key File = Path of private key file location
      Authentication type = publickey

      Now with this, when I try to run my sample process which reads the file from one location using File Adapter and writes the file to another location in FTP server through SFTP, I get the following error:

      Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'Put' failed due to: JCA Binding Component connection issue. JCA Binding Component is unable to create an outbound JCA (CCI) connection. TestSftp:putFile [ Put_ptt::Put(opaque) ] : The JCA Binding Component was unable to establish an outbound JCA CCI connection due to the following issue: Error in establishing a session with SSH Server.. Error in establishing a session with SSH Server.. Unable to establish a session with the server. Please ensure hostname and port specified to login to the server are correct. Please make sure that the JCA connection factory and any dependent connection factories have been configured with a sufficient limit for max connections. Please also make sure that the physical connection to the backend EIS is available and the backend itself is accepting connections. ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution. </summary>
      <part name="detail">
      <detail>The passphrase supplied was invalid!</detail>

      Can you please help me in this. Its pretty urgent.
      The public key has already been shared with FTP Server and it did exist in the server's authorized_keys.

      The error: passphrase supplied is not valid". Do we need to mention the passphrase which we gave to generate the private key needs to be mentioned somewhere?

      Thanks and Regards,