How to Access PendingRestartSystemResources in ServerRuntime View via WLST
English: The logo of Oracle Corporation de:Bild:Oracle-Logo.svg he:תמונה:Oracle Logo.jpg (Photo credit: Wikipedia) |
FROM WLS 10.3.0 (working domain)
-r-- MANReplicationRuntime null
-r-- Name AdminServer
-r-- OpenSocketsCurrentCount 1
-rw- Parent null
-r-- PathServiceRuntime null
-r-- PendingRestartSystemResources null
-r-- RestartRequired false
-r-- RestartsTotalCount 0
-r-- SSLListenAddress null
-r-- SSLListenPort 7002
-r-- SSLListenPortEnabled false
FROM WLS 10.3.1 (Not Working Domain)
-r-- MANReplicationRuntime null
-r-- Name AdminServer
-r-- OpenSocketsCurrentCount 1
-r-- OracleHome C:\Oracle\Middleware
-rw- Parent null
-r-- PathServiceRuntime null
-r-- RestartRequired false
-r-- RestartsTotalCount 0
-r-- SSLListenAddress null
-r-- SSLListenPort 7002
Solution
"PendingRestartSystemResources" attribute has always been excluded in the API documentation.WLST excludes such attributes from its list of displayed attributes but a couple of options are available:
1) This attribute should be available from a JMX Client (like JConsole) if the user wants to write his or her own JMXClient to retrieve it.
2) WLST has a hidden/unpublished option to set a parameter in the context. The parameter is called "showExcluded'
So, to view "PendingRestartSystemResources" in the serverRuntime() view, after connecting to the server, just execute the showExcluded() command. Then ls() should list all the excluded attributes, which will include "PendingRestartSystemResources".
0 Comments