I am doing WLST scripting, where I supposed to enable SSL Listen port. I am getting error as described in this Q&A topic.
How to enable JMX in Weblogic to set any attribute through WLST
I had run following WLST (Weblogic Scripting Tool).
cd('/Servers/' 'MiCommApp' '/SSL/' 'MiCommApp' )
cmo.setEnabled(true)
I had enabled JMX by setting following JVM properties through server start tab in Weblogic Console.
-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
But still I am facing the same problem saying
java.lang.RuntimeException: java.lang.RuntimeException: The requested attribute is not exposed through JMX: setEnabled
How I can expose required attribute through JMX.