When Using WLS 9.2.2 with IBM JDK1.5 on AIX5.2 then Connecting from WLS to Remote Server Using two-way SSL Getting the Error: java.lang.NoClassDefFoundError: sun.net.www.protocol.https.Handler (Doc ID 1330463.1)

Last updated on OCTOBER 26, 2016

Applies to:

Oracle WebLogic Server - Version 9.2 and later
Information in this document applies to any platform.

Symptoms

When using WLS 9.2.2 with IBM JDK 1.5.0 SR5 on AIX 5.2 and then trying to connect from WLS to a remote server using 2-way SSL with the protocol set to -Djava.protocol.handler.pkgs=com.ibm.net.ssl.www2.protocol, it failed with the following error:

java.lang.NoClassDefFoundError: sun.net.www.protocol.https.Handler
SOAPFaultException - FaultCode [{http://schemas.xmlsoap.org/soap/envelope/}Server] FaultString [sun.net.www.protocol.https.Handler] FaultActor [null] Detail [<detail>java.lang.NoClassDefFoundError: sun.net.www.protocol.https.Handler</detail>]; nested exception is:
javax.xml.rpc.soap.SOAPFaultException: sun.net.www.protocol.https.Handler
<entree> com.socgen.ogc.service.certificat.GererCertificatSMLocal.getNumBoitiers()
<sortie> 4ms - com.socgen.ogc.service.certificat.GererCertificatSMLocal.getNumBoitiers()
<sortie> com.socgen.ogc.web.client.certificat.AjouterCertificatAction.executeAction()

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms