How to Access PendingRestartSystemResources in ServerRuntime View via WLST (Doc ID 1306719.1)

Last updated on NOVEMBER 05, 2016

Applies to:

Oracle Weblogic Server - Version: 10.3.1 and later   [Release: and later ]
Information in this document applies to any platform.

Goal

When a WLST script is using an attribute “PendingRestartSystemResources” on the ServerRuntime to determine what need to restart automatically (i.e. what shows under the Changes and Restarts Checklist tab), it's observed through WLST that the attribute is either not exposed with 10.3.1 or moved somewhere else. In what circumstances is the “PendingRestartSystemResources” attribute accessible?  How can we make sure that this attribute is never missing from the “serverRuntime()” view?  First lets take a look at the WLST attribute dump snippets from serverRuntime() below:

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

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms