WLST: Tree Commands

custom

* Navigates to the root of custom MBeans that are registered in the Runtime MBean Server.
– WLST navigates, interrogates, and edits custom MBeans as it does domain MBeans;
– however, custom MBeans cannot use the cmo variable because a stub is not available.
* Online
* Syntax:

custom()

* Example:

wls:/basicWLSDomain/serverConfig> custom()
Location changed to custom tree. This is a writable tree with No root.
For more help, use help(custom)
 
wls:/basicWLSDomain/custom> ls()
drw-   JMImplementation
drw-   com.oracle.jrockit
drw-   com.sun.management
drw-   java.lang
drw-   java.util.logging
drw-   oracle.jrockit.management

domainConfig

* Navigates to the last MBean to which you navigated in the domain Configuration hierarchy or to the root of the hierarchy, DomainMBean.
– This read-only hierarchy stores the configuration MBeans that represent your current WebLogic domain.
* Online
* Syntax:

domainConfig()

* Example:

wls:/basicWLSDomain/custom> domainConfig()
Location changed to serverRuntime tree. This is a read-only tree with DomainMBea
n as the root.
For more help, use help(domainConfig)

domainCustom

* Navigates to the domain custom tree of custom MBeans that are registered in the Domain Runtime MBean Server.
– WLST navigates, interrogates, and edits domain custom MBeans as it does domain MBeans;
– however, domain custom MBeans cannot use the cmo variable because a stub is not available.
* Online
* Syntax:

domainCustom(ObjectNamePattern)

– ObjectNamePattern: A JMX query pattern, such as sip:*. The default value is null or *:*.
* Example:

wls:/basicWLSDomain/domainConfig> domainCustom()
Location changed to domain custom tree. This is a writable tree with No root.
For more help, use help(domainCustom)
 
wls:/basicWLSDomain/domainCustom> ls()
drw-   JMImplementation
drw-   com.oracle.jrockit
drw-   com.sun.management
drw-   java.lang
drw-   java.util.logging
drw-   oracle.jrockit.management

domainRuntime

* Navigates to the last MBean to which you navigated in the domain Runtime hierarchy or to the root of the hierarchy, DomainRuntimeMBean.
– This read-only hierarchy stores the runtime MBeans that represent your current WebLogic domain.
* Online
* Syntax:

domainRuntime()

* Example:

wls:/basicWLSDomain/domainCustom> domainRuntime()
Location changed to domainRuntime tree. This is a read-only tree with DomainMBea
n as the root.
For more help, use help(domainRuntime)
 
wls:/basicWLSDomain/domainRuntime>

edit

* Navigates to the last MBean to which you navigated in the edit configuration MBean hierarchy or to the root of the hierarchy, DomainMBean.
– This writable hierarchy stores all of the configuration MBeans that represent your current WebLogic domain.
– To edit configuration beans, you must be connected to an Administration Server. If you connect to a Managed Server, WLST functionality is limited to browsing the configuration bean hierarchy.
* Online
* Syntax:

edit()

* Example:

wls:/basicWLSDomain/domainRuntime> edit()
Location changed to edit tree. This is a writable tree with
DomainMBean as the root. To make changes you will need to start
an edit session via startEdit().
 
For more help, use help(edit)
 
wls:/basicWLSDomain/edit> startEdit()
Starting an edit session ...
Started edit session, please be sure to save and activate your
changes once you are done.
wls:/basicWLSDomain/edit !>

jndi

* Navigates to the JNDI tree for the server to which WLST is currently connected.
– This read-only tree holds all the elements that are currently bound in JNDI.
* Online
* Syntax:

jndi()

* Example:

wls:/basicWLSDomain/edit !> jndi()
Location changed to jndi tree. This is a read-only tree with No root.
For more help, use help(jndi)
 
wls:/basicWLSDomain/jndi> ls()
dr--   AdminServer
 
wls:/basicWLSDomain/jndi>

serverConfig

* Navigates to the last MBean to which you navigated in the configuration MBean hierarchy or to the root of the hierarchy, DomainMBean.
– This read-only hierarchy stores the configuration MBeans that represent the server to which WLST is currently connected. The MBean attribute values include any command-line overrides that a user specified while starting the server.
* Online
* Syntax:

serverConfig()

* Example:

wls:/basicWLSDomain/jndi> serverConfig()
 
wls:/basicWLSDomain/serverConfig>

serverRuntime

* Navigates to the last MBean to which you navigated in the runtime MBean hierarchy or to the root of the hierarchy, ServerRuntimeMBean.
– This read-only hierarchy stores the runtime MBeans that represent the server to which WLST is currently connected.
* Online
* Syntax:

serverRuntime()

* Example:

wls:/basicWLSDomain/serverConfig> serverRuntime()
Location changed to serverRuntime tree. This is a read-only tree with ServerRunt
imeMBean as the root.
For more help, use help(serverRuntime)

References

* Tree Commands

This entry was posted in weblogic11g. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *


*

This site uses Akismet to reduce spam. Learn how your comment data is processed.