我收到了以下错误。
java.lang.RuntimeException:java.lang.RuntimeException:请求的 属性不通过JMX公开:setEnabled
我如何解决这个问题。
这是我在WLST(Weblogic Scripting Tool)中尝试过的一组命令。
for (int i = n*n + 2*n - 1; i >= 0; --i)
{ ... }
答案 0 :(得分:4)
在使用此命令edit()
&更改设置任何实例变量之前,我们已经进入编辑模式。 startEdit()
WLST提示!>
表示我们处于编辑模式。
wls:/myBeaDir/serverConfig/Servers/MiCommApp/SSL/MiCommApp> edit()
Location changed to edit tree. This is a writable tree with
DomainMBean as the root. To make changes you will need to start
an edit session via startEdit().
For more help, use help('edit')
wls:/myBeaDir/edit> startEdit()
Starting an edit session ...
Started edit session, please be sure to save and activate your
changes once you are done.
wls:/myBeaDir/edit !> cd('/Servers/' 'MiCommApp' '/SSL/' 'MiCommApp' )
wls:/myBeaDir/edit/Servers/MiCommApp/SSL/MiCommApp !>