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.


#TechXchangePresenter
 View Only
  • 1.  https protocol error with WM 7.1.2

    Posted Thu July 02, 2009 08:54 PM

    Hi,

    I am trying to login to a HTTPs site using a Java service. on WM7.1.2 with jdk/jvm1.5. I also got the error Illegal call to webMethods https protocol handler. I added the following in the server.bat
    JAVA_MEMSET=-ms%JAVA_MIN_MEM%-mx%JAVA_MAX_MEM%-Djava.protocol.handler.pkgs="com.sun.net.ssl.internal.www.protocol"

    I also tried in the code System.getProperties().setProperty(“java.protocol.handler.pkgs”,
    "com.sun.net.ssl.internal.www.protocol");
    but I did not download the jsse.jar since jre1.5 already has it.
    but i still get the protocol error.

    Do anyone have any ideas how to solve this?

    Thanks in advance,

    Mary


    #webMethods
    #Integration-Server-and-ESB
    #Flow-and-Java-services


  • 2.  RE: https protocol error with WM 7.1.2

    Posted Thu July 02, 2009 10:33 PM

    Hey Mary,
    Have to ask why you are not using the built-in services for HTTP? Have you tried using that just to make sure your connection works, all certs in place etc?


    #webMethods
    #Flow-and-Java-services
    #Integration-Server-and-ESB


  • 3.  RE: https protocol error with WM 7.1.2

    Posted Fri July 03, 2009 09:56 AM

    Hi, I’m trying to catch and prevent the exceptions generated when the https server is down.


    #Integration-Server-and-ESB
    #webMethods
    #Flow-and-Java-services


  • 4.  RE: https protocol error with WM 7.1.2

    Posted Sat July 04, 2009 12:22 PM

    Hey Mary,
    No need to write a Java service to do that. Your catch statement(seq) of your flow service can handle parsing and handling the host down errors returned by the http call, you can then retry or do whatever type of error process you need.


    #Flow-and-Java-services
    #webMethods
    #Integration-Server-and-ESB