Description Syntax Example find

3-60 Oracle Fusion Middleware WebLogic Scripting Tool Command Reference

3.8.4.1 Description

Displays all the variables used by WLST, including their name and value. In the event of an error, the command returns a WLSTException.

3.8.4.2 Syntax

dumpVariables

3.8.4.3 Example

This example displays all the current variables and their values. wls:mydomainserverConfig dumpVariables adminHome weblogic.rmi.internal.BasicRemoteRef - hostID: -1 108080150904263937S:localhost:[7001,8001,-1,-1,-1,-1,-1]: mydomain:AdminServer, oid: 259, channel: null cmgr [MBeanServerInvocationHandler]com.bea:Name=ConfigurationManager, Type=weblogic.management.mbeanservers.edit.ConfigurationManagerMBean cmo [MBeanServerInvocationHandler]com.bea:Name=mydomain,Type=Domain connected true domainName mydomain ... wls:mydomainserverConfig

3.8.5 find

Command Category: Information Commands Use with WLST: Online

3.8.5.1 Description

Finds MBeans and attributes in the current hierarchy. WLST returns the pathname to the MBean that stores the attribute andor attribute type, and its value. If searchInstancesOnly is set to false, this command also searches the MBeanType paths that are not instantiated in the server, but that can be created. In the event of an error, the command returns a WLSTException.

3.8.5.2 Syntax

find[name], [type], [searchInstancesOnly]

3.8.5.3 Example

The following example searches for an attribute named javaCompiler in the current configuration hierarchy. wls:mydomainserverConfig findname = JavaCompiler Finding JavaCompiler in all registered MBean instances ... Argument Definition name Optional. Name of the attribute to find. type Optional. Type of the attribute to find. searchInstancesOnly Optional. Boolean value specifying whether to search registered instances only or to also search MBeanTypes paths that are not instantiated in the server, but that can be created. This argument defaults to true, indicating only the registered instances will be searched. WLST Command and Variable Reference 3-61 ServersAdminServer JavaCompilerPreClassPath null ServersAdminServer JavaCompiler java ServersAdminServer JavaCompilerPostClassPath null wls:mydomainserverConfig The following example searches for an attribute of type JMSRuntime in the current configuration hierarchy. wls:mydomainserverRuntime findtype=JMSRuntime Finding MBean of type JMSRuntime in all the instances ... JMSRuntimeAdminServer.jms wls:mydomainserverRuntime The following example searches for an attribute named execute in the current configuration hierarchy. The searchInstancesOnly argument is set to false, indicating to also search MBeanTypes that are not instantiated in the server. wls:mydomainserverConfig findname=execute, searchInstancesOnly=false Finding execute in all registered MBean instances ... ServersAdminServer ExecuteQueues [Ljavax.management.ObjectName;1aa7dbc ServersAdminSever Use81StyleExecuteQueues false Now finding execute in all MBean Types that can be instantiated ... Servers ExecuteQueues Servers Use81StyleExecuteQueues wls:mydomainserverConfig

3.8.6 getConfigManager