IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.



#Automation

 View Only
  • 1.  SFTP Login Failing

    Posted 10/03/08 03:46 PM

    Hi,

    I am a juniro developer and new to webemthods. I am having a requirement to get a file from a SFTP server. When I searched in WMUSERS I found this thread([URL]wmusers.com) where I see a solution for my problem. I have downloaded the package BW_Utilities.zip and installed it. Also I have downloaded the jar jsch-0.1.37.jar and copied to ./Integration Server/lib/jars/ and re-started the IS.

    However when I tried to login i am getting the following output…

    channleSFTp # null
    Session Factory # com.jcraft.jsch.Session
    Status # Unable to connect to FTP server. com.jcraft.jsch.JSchException: Session.connect: java.io.IOException: End of IO Stream Read

    If anybody can throw some light on this issue and help me out it would be a great help.

    Thanks in advance…

    — Ram


    #webMethods
    #webmethods-Protocol-and-Transport
    #Integration-Server-and-ESB


  • 2.  RE: SFTP Login Failing

    Posted 10/03/08 08:49 PM

    Ram,
    In order for you to do SFTP, you need to exchange keys with the remote server first. Also use the OpenSSH package from advantage, and exchange the keys at OS level before doing an sftp service invoke. SFTP is FTP over SSH, and is an not an open standarad supported by webMethods. The documentation along OpenSSH package provides a good start for you

    Regards,
    Pradeep


    #Integration-Server-and-ESB
    #webmethods-Protocol-and-Transport
    #webMethods


  • 3.  RE: SFTP Login Failing

    Posted 10/06/08 03:22 PM

    Hi Pradeep,

    Firstly thanks for the reply…

    I have checked the OpenSSH documentation and I see that for SFTP we have to setup the keys. However our client doens’t want to go in this route. Instead they have given us a username, password and file location for their SFTP server and asked us to pick files from there.

    This was the reason for not implementing the OpenSSH. Also if you see the below link [COLOR=#22229c]http://wmusers.com/forum/showthread.php?t=6579[/color] where Mr.Aditya had acheived the SFTP by implementing JSCH. I was actually trying that and i am getting the following error.

    channleSFTp # null
    Session Factory # com.jcraft.jsch.Session
    Status # Unable to connect to FTP server. com.jcraft.jsch.JSchException: Session.connect: java.io.IOException: End of IO Stream Read

    channleSFTp # null
    Session Factory # com.jcraft.jsch.Session
    Status # Unable to connect to FTP server. com.jcraft.jsch.JSchException: Session.connect: java.io.IOException: End of IO Stream Read

    thanks

    shyam


    #webmethods-Protocol-and-Transport
    #Integration-Server-and-ESB
    #webMethods


  • 4.  RE: SFTP Login Failing

    Posted 05/22/09 04:57 PM

    How did you solved it? I’m getting the same error:

    Unable to connect to FTP server. com.jcraft.jsch.JSchException: java.net.UnknownHostException: XXXXXXXXXXXXXXX

    Thanks


    #webmethods-Protocol-and-Transport
    #webMethods
    #Integration-Server-and-ESB


  • 5.  RE: SFTP Login Failing

    Posted 05/28/09 08:26 AM

    Is your SFTP server in the network where webMethods installed or available in public url (internet)?

    If it is public url (internet), then Your FTP Proxy settings doesnot match with SFTP connectivity.

    In this case, you have to use Proxy related service(to get proxy connection) before connecting to actual SFTP server url.


    #webmethods-Protocol-and-Transport
    #webMethods
    #Integration-Server-and-ESB


  • 6.  RE: SFTP Login Failing

    Posted 01/20/11 01:09 PM

    Hi,

    I am using WaSFTP.zip package to connect SFTP via WM7.1, But it is giving error as below:

    “Unable to connect to FTP server. com.jcraft.jsch.JSchException: java.net.ConnectException: Connection timed out”

    As per my observation it is creating session but not connecting. How can I resolve this.

    SFTP is connecting via Putty…but not from webMethods…Please help me.

    Thanks in Advance


    #Integration-Server-and-ESB
    #webMethods
    #webmethods-Protocol-and-Transport