如何通过JMX为weblogicsl公开JVM属性

2024-03-29 12:23:27 发布

您现在位置:Python中文网/ 问答频道 /正文

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

How to enable JMX in Weblogic to set any attribute through WLST

我已经运行了WLST(Weblogic脚本工具)。在

cd('/Servers/'  'MiCommApp' '/SSL/' 'MiCommApp' )
cmo.setEnabled(true)

我通过Weblogic控制台中的ServerStart选项卡设置以下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: The requested attribute is not exposed through JMX: setEnabled

如何通过JMX公开必需的属性。在


Tags: to脚本falsesslattributemanagementsunthrough