Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/python/317.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Java 如何通过JMX为Weblogic SSL公开JVM属性_Java_Python_Ssl_Weblogic12c_Wlst - Fatal编程技术网

Java 如何通过JMX为Weblogic SSL公开JVM属性

Java 如何通过JMX为Weblogic SSL公开JVM属性,java,python,ssl,weblogic12c,wlst,Java,Python,Ssl,Weblogic12c,Wlst,我正在编写WLST脚本,在这里我应该启用SSL侦听端口。我得到了这个问答主题中描述的错误 我运行了以下WLST(Weblogic脚本工具) 我通过Weblogic控制台中的server start选项卡设置以下JVM属性来启用JMX -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=9010 -Dcom.sun.management.jmxremote.local.only=false -Dcom.sun.ma

我正在编写WLST脚本,在这里我应该启用SSL侦听端口。我得到了这个问答主题中描述的错误

我运行了以下WLST(Weblogic脚本工具)

我通过Weblogic控制台中的server start选项卡设置以下JVM属性来启用JMX

-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=9010 -Dcom.sun.management.jmxremote.local.only=false -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false

但我仍然面临着同样的问题

java.lang.RuntimeException:java.lang.RuntimeException:请求的 属性未通过JMX:setEnabled公开


如何通过JMX公开所需属性。

我们应该处于编辑模式,在编辑任何
WLST
当前树变量之前,我们必须使用
edit()
&
startEdit()
。cmo代表当前管理对象。我们应该使用
connect('adminUser','adminPasswd','t3://wl\u server:\uuuu admin\u port\uuuu')
命令进行管理员登录。此命令还将WLST脱机模式转换为特定服务器的连接模式。编辑完成后,我们可以说
save()
&
activate()
cd('/Servers/'  'MiCommApp' '/SSL/' 'MiCommApp' )
cmo.setEnabled(true)