Error:'Class Not Found weblogic.security.SSL.jsseadapter.JaSSLContextImpl' When Invoking RESTFUL Web Service Using Software Development Kit(SDK)
(Doc ID 2195810.1)
Last updated on MAY 21, 2024
Applies to:
Oracle Agile Product Collaboration - Version 9.3.6.0 and laterOracle Agile PLM Framework - Version 9.3.6.0 and later
Information in this document applies to any platform.
Symptoms
Call to an external RESTFUL Web Service using SDK fails with error.
ERROR
Exception in thread "main" java.lang.IllegalArgumentException: [Security:090461]Class not Found weblogic.security.SSL.jsseadapter.JaSSLContextImpl
at weblogic.security.utils.SSLSetup.getDelegateClass(SSLSetup.java:139)
at weblogic.security.utils.SSLSetup.getSSLDelegateInstance(SSLSetup.java:96)
at weblogic.security.utils.SSLContextWrapper.(SSLContextWrapper.java:69)
at weblogic.security.utils.SSLContextWrapper.getInstance(SSLContextWrapper.java:60)
at weblogic.security.utils.SSLSetup.getSSLContext(SSLSetup.java:349)
at weblogic.security.utils.SSLSetup.getSSLContext(SSLSetup.java:341)
at weblogic.net.http.HttpsClient.makeConnectionUsingProxy(HttpsClient.java:392)
at weblogic.net.http.HttpsClient.openServer(HttpsClient.java:337)
at weblogic.net.http.HttpsClient.New(HttpsClient.java:553)
at weblogic.net.http.HttpsClient.New(HttpsClient.java:534)
at weblogic.net.http.HttpsURLConnection.connect(HttpsURLConnection.java:248)
at weblogic.net.http.HttpURLConnection.getInputStream(HttpURLConnection.java:636)
at weblogic.net.http.SOAPHttpsURLConnection.getInputStream(SOAPHttpsURLConnection.java:37)
at com.hcc.util.AconexWebServiceUtil.getAconexResponseXml(AconexWebServiceUtil.java:84)
at com.hcc.service.AconexTest.connect(AconexTest.java:14)
at com.hcc.service.Sample.main(Sample.java:14)
Caused by: java.lang.ClassNotFoundException: weblogic.security.SSL.jsseadapter.JaSSLContextImpl
at java.net.URLClassLoader$1.run(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
STEPS
1. Run a Process Extension(PX) or stand alone code to invoke a 3rd party RESTFUL Web service.
2. Web Service invocation fails with error.
FACTS
Call to a SOAP based web service is working fine from the same code.
Changes
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Changes |
Cause |
Solution |
References |