Changing HttpURLConnection in running jvm
问题 Is it possible to change the http handler in jax-ws? For example: from weblogic.net.http.HttpURLConnection to sun.net.www.protocol.http.HttpURLConnection. 回答1: you can try to using -DUseSunHttpHandler=true in the weblogic. manage weblogic by using WLST (non-clustered) add jvm arguments in the managered server env script under $WLS_DOMAIN_HOME/bin/setDomainEnv.sh JAVA_OPTIONS=-DUseSunHttpHandler=true export JAVA_OPTIONS manage weblogic by using Weblogic console (Clustered) Add