https protocol error with WM 7.1.2

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

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?

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

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.