While configuring Watch and Notification or collecting Metrics for checking (Server state -For Example) whether it's running or not, DomainRuntimeServer is required as ServerRuntime dies along with the managed Server. Thus we won't be able to send an email alert as soon as a Managed Server dies using WLDF.
Sometimes you will not be able see DomainRuntime in MBean server List when setting up WLDF.
Here is how you enable the DomainRuntimeMBean Server:
1. Create the Watch with ServerRuntime and configure the Watch with all the settings you need.
2. Once the settings are applied, edit the query inside the watch and change "ServerRuntime" to DomainRuntime.
3. Restart the whole Domain. You should see DomainRuntime in the MBean Server List.
Example:
(${ServerRuntime//[weblogic.management.runtime.ServerLifeCycleRuntimeMBean]//State} != 'RUNNING')
Should be changed to
(${DomainRuntime//[weblogic.management.runtime.ServerLifeCycleRuntimeMBean]//State} != 'RUNNING')
Why don't we see DomainRuntime Initially ??
WebLogic Server does not initialize the Domain Runtime MBean Server until a client requests a connection to it
No comments:
Post a Comment