DUseSunHttpHandler=true weblogic.net.http.SOAPHttpsURLConnection Weblogic/Java HttpHandler issues
Verify the issue is happening due to the error throwing
from the weblogic class
SOAPHttpsURLConnection,then you need to
inform the Application Server which handler implementation you need to use.
add the following option to JAVA_OPTIONS in
setDomainEnv.sh/setDomainEnv.cmd on Unix/Windows.
-DUseSunHttpHandler=true.
eg:
set JAVA_PROPERTIES=%JAVA_PROPERTIES% %WLP_JAVA_PROPERTIES%
set JAVA_OPTIONS=%JAVA_OPTIONS% %JAVA_PROPERTIES% -
DUseSunHttpHandler=true -Dwlw.iterativeDev=%iterativeDevFlag% -
Dwlw.testConsole=%testConsoleFlag% -Dwlw.logErrorsToConsole=%
logErrorsToConsoleFlag%
This setting tells WebLogic to use the Sun's https Handler
DUseSunHttpHandler=true -Dwlw.iterativeDev=%iterativeDevFlag% -
Dwlw.testConsole=%testConsoleFlag% -Dwlw.logErrorsToConsole=%
logErrorsToConsoleFlag%
This setting tells WebLogic to use the Sun's https Handler
implementation rather than the WebLogic one.
So after this,it will use the class HttpsURLConnection from the
javax package.
See Also
SSL Handshake error
java.lang.RuntimePermission modifyThread
So after this,it will use the class HttpsURLConnection from the
javax package.
See Also
SSL Handshake error
java.lang.RuntimePermission modifyThread
Comments
Post a Comment