在运行jvm时更改HttpURLConnection [英] Changing HttpURLConnection in running jvm

查看:150
本文介绍了在运行jvm时更改HttpURLConnection的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以在jax-ws中更改http处理程序?
例如:从weblogic.net.http.HttpURLConnection到sun.net.www.protocol.http.HttpURLConnection。

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.

推荐答案

你可以尝试在weblogic中使用 -DUseSunHttpHandler = true

you can try to using -DUseSunHttpHandler=true in the weblogic.

管理weblogic by使用WLST(非群集)

$ WLS_DOMAIN_HOME / bin / setDomainEnv.sh下的managered server env脚本中添加jvm参数

  JAVA_OPTIONS=-DUseSunHttpHandler=true 
  export JAVA_OPTIONS 

使用Weblogic控制台管理weblogic(Clustered)

-DUseSunHttpHandler = true 添加到a或b中的参数。

Add -DUseSunHttpHandler=true to Arguments in a or b.


  • 在管理控制台中导航至主页> 服务器摘要> <托管服务器名称> > 配置> 服务器启动标签。

  • In Admin Console navigate to Home > Summary of Servers > <managed server name> > Configuration > Server Start Tab.

在配置文件 $ WLS_DOMAIN_HOME / config / config.xml 中,xml-path 服务器> server-start > 参数

In the config file $WLS_DOMAIN_HOME/config/config.xml with xml-path server > server-start > arguments

这篇关于在运行jvm时更改HttpURLConnection的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆