How to Execute domainCustom() Without a Long Wait Time Using WLST

(Doc ID 2419393.1)

Last updated on JULY 10, 2018

Applies to:

Oracle WebLogic Server - Version 10.3.6 to 10.3.6
Information in this document applies to any platform.

Goal

This document provides a sample to execute domainCustom() as quickly as possible -avoiding a potential long time for WLST to return a prompt.

Below is from the Oracle Documentation for domainCustom()

"When navigating to the domainCustom tree, WLST queries all MBeans in the Domain Runtime MBean Server, the Runtime MBean Servers on each server, and potentially the JVM platform MBean server to locate the custom MBeans. Depending on the number of MBeans in the current WebLogic domain, this process make take a few minutes, and WLST may not return a prompt right away. It is recommended that a JMX query Object Name Pattern be specified to limit the amount of searching performed."

Reference:
https://docs.oracle.com/cd/E21764_01/web.1111/e13813/reference.htm#WLSTC534

The question is then how to specify a JMX query Object Name Pattern to limit this time? This document provided this sample.
 

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