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.

 View Only
  • 1.  java ssh with webmethods

    Posted Wed September 06, 2006 08:41 PM

    Hi ,
    We have a java application which connects to an ssh-server and this works well when run as stand-alone but when we try to run the same from webMethods-developer as flow-service, we get the following error:

    Can you please suggest/help if you have come across this before?

    Thanks,
    Chary


    com.sshtools.j2ssh.transport.TransportProtocolCommon onMsgDisconnect
    INFO: The remote computer disconnected: bad client public DH value
    processcom.sshtools.j2ssh.transport.TransportProtocolException: The connection did not complete
    com.sshtools.j2ssh.transport.TransportProtocolException: The connection did not complete
    at com.sshtools.j2ssh.transport.TransportProtocolClient.onStartTransportProtocol(Unknown Source)
    at com.sshtools.j2ssh.transport.TransportProtocolCommon.startTransportProtocol(Unknown Source)
    at com.sshtools.j2ssh.SshClient.connect(Unknown Source)
    at


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


  • 2.  RE: java ssh with webmethods

    Posted Thu September 07, 2006 12:10 AM

    The problem lies with the SSL handshake used to exchange Diffie-Hellman or “DH” public keys. Your java service is running inside the webMehods IS JVM. That JVM needs to have access to the same trusted certs as your standalone app.

    You might take a look at the OpenSSH example module that is available on Advantage in the samples and utilities area.

    Mark


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


  • 3.  RE: java ssh with webmethods

    Posted Thu September 07, 2006 01:58 AM

    Mark,
    Thanks a lot for the reply. How do I check which JVM , webMethods is using? I’ve checked the integration server (About: JavaHome and Java Vendor) and it is the same I test in the standalone mode.
    Also, can you please let me know which openssh example module you are referring to( is this openssh example or webMethods? )

    Once again, thanks for the reply!

    Chary


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


  • 4.  RE: java ssh with webmethods

    Posted Thu September 07, 2006 05:59 AM

    After logging into your Advantage account, click on this URL.

    The OpenSSH example is in the KnowledgeBase->Samplpes->Integration Server 6.5 section.


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


  • 5.  RE: java ssh with webmethods

    Posted Thu September 07, 2006 06:00 AM

    Click on the About link in IS Administrator to see which JVM vendor and version. By default, this JVM is located in the webMethods home folder. You can find the exact path by reviewing the server.bat file in the IntegrationServer\bin folder.

    Mark


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