{"id":3466,"date":"2012-06-22T08:42:48","date_gmt":"2012-06-22T13:42:48","guid":{"rendered":"http:\/\/jianmingli.com\/wp\/?p=3466"},"modified":"2012-07-24T15:13:32","modified_gmt":"2012-07-24T20:13:32","slug":"wlst-tree-commands","status":"publish","type":"post","link":"https:\/\/jianmingli.com\/wp\/?p=3466","title":{"rendered":"WLST: Tree Commands"},"content":{"rendered":"<span id=\"custom\"><h3>custom<\/h3><\/span>\n<p>* Navigates to the root of custom MBeans that are registered in the Runtime MBean Server.<br \/>\n&#8211; WLST navigates, interrogates, and edits custom MBeans as it does domain MBeans;<br \/>\n&#8211; however, custom MBeans cannot use the cmo variable because a stub is not available.<br \/>\n* Online<br \/>\n* Syntax:<\/p>\n<pre lang=\"bash\">\r\ncustom()\r\n<\/pre>\n<p>* Example:<\/p>\n<pre lang=\"bash\">\r\nwls:\/basicWLSDomain\/serverConfig> custom()\r\nLocation changed to custom tree. This is a writable tree with No root.\r\nFor more help, use help(custom)\r\n\r\nwls:\/basicWLSDomain\/custom> ls()\r\ndrw-   JMImplementation\r\ndrw-   com.oracle.jrockit\r\ndrw-   com.sun.management\r\ndrw-   java.lang\r\ndrw-   java.util.logging\r\ndrw-   oracle.jrockit.management\r\n<\/pre>\n<span id=\"domainConfig\"><h3>domainConfig<\/h3><\/span>\n<p>* Navigates to the last MBean to which you navigated in the domain Configuration hierarchy or to the root of the hierarchy, DomainMBean.<br \/>\n&#8211; This read-only hierarchy stores the configuration MBeans that represent your current WebLogic domain.<br \/>\n* Online<br \/>\n* Syntax:<\/p>\n<pre lang=\"bash\">\r\ndomainConfig()\r\n<\/pre>\n<p>* Example:<\/p>\n<pre lang=\"bash\">\r\nwls:\/basicWLSDomain\/custom> domainConfig()\r\nLocation changed to serverRuntime tree. This is a read-only tree with DomainMBea\r\nn as the root.\r\nFor more help, use help(domainConfig)\r\n<\/pre>\n<span id=\"domainCustom\"><h3>domainCustom<\/h3><\/span>\n<p>* Navigates to the domain custom tree of custom MBeans that are registered in the Domain Runtime MBean Server.<br \/>\n&#8211; WLST navigates, interrogates, and edits domain custom MBeans as it does domain MBeans;<br \/>\n&#8211; however, domain custom MBeans cannot use the cmo variable because a stub is not available.<br \/>\n* Online<br \/>\n* Syntax:<\/p>\n<pre lang=\"bash\">\r\ndomainCustom(ObjectNamePattern)\r\n<\/pre>\n<p>&#8211; ObjectNamePattern: A JMX query pattern, such as sip:*. The default value is null or *:*.<br \/>\n* Example:<\/p>\n<pre lang=\"bash\">\r\nwls:\/basicWLSDomain\/domainConfig> domainCustom()\r\nLocation changed to domain custom tree. This is a writable tree with No root.\r\nFor more help, use help(domainCustom)\r\n\r\nwls:\/basicWLSDomain\/domainCustom> ls()\r\ndrw-   JMImplementation\r\ndrw-   com.oracle.jrockit\r\ndrw-   com.sun.management\r\ndrw-   java.lang\r\ndrw-   java.util.logging\r\ndrw-   oracle.jrockit.management\r\n<\/pre>\n<span id=\"domainRuntime\"><h3>domainRuntime<\/h3><\/span>\n<p>* Navigates to the last MBean to which you navigated in the domain Runtime hierarchy or to the root of the hierarchy, DomainRuntimeMBean.<br \/>\n&#8211; This read-only hierarchy stores the runtime MBeans that represent your current WebLogic domain.<br \/>\n* Online<br \/>\n* Syntax:<\/p>\n<pre lang=\"bash\">\r\ndomainRuntime()\r\n<\/pre>\n<p>* Example:<\/p>\n<pre lang=\"bash\">\r\nwls:\/basicWLSDomain\/domainCustom> domainRuntime()\r\nLocation changed to domainRuntime tree. This is a read-only tree with DomainMBea\r\nn as the root.\r\nFor more help, use help(domainRuntime)\r\n\r\nwls:\/basicWLSDomain\/domainRuntime>\r\n<\/pre>\n<span id=\"edit\"><h3>edit<\/h3><\/span>\n<p>* Navigates to the last MBean to which you navigated in the edit configuration MBean hierarchy or to the root of the hierarchy, DomainMBean.<br \/>\n&#8211; This writable hierarchy stores all of the configuration MBeans that represent your current WebLogic domain.<br \/>\n&#8211; 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.<br \/>\n* Online<br \/>\n* Syntax:<\/p>\n<pre lang=\"bash\">\r\nedit()\r\n<\/pre>\n<p>* Example:<\/p>\n<pre lang=\"bash\">\r\nwls:\/basicWLSDomain\/domainRuntime> edit()\r\nLocation changed to edit tree. This is a writable tree with\r\nDomainMBean as the root. To make changes you will need to start\r\nan edit session via startEdit().\r\n\r\nFor more help, use help(edit)\r\n\r\nwls:\/basicWLSDomain\/edit> startEdit()\r\nStarting an edit session ...\r\nStarted edit session, please be sure to save and activate your\r\nchanges once you are done.\r\nwls:\/basicWLSDomain\/edit !>\r\n<\/pre>\n<span id=\"jndi\"><h3>jndi<\/h3><\/span>\n<p>* Navigates to the JNDI tree for the server to which WLST is currently connected.<br \/>\n&#8211; This read-only tree holds all the elements that are currently bound in JNDI.<br \/>\n* Online<br \/>\n* Syntax:<\/p>\n<pre lang=\"bash\">\r\njndi()\r\n<\/pre>\n<p>* Example:<\/p>\n<pre lang=\"bash\">\r\nwls:\/basicWLSDomain\/edit !> jndi()\r\nLocation changed to jndi tree. This is a read-only tree with No root.\r\nFor more help, use help(jndi)\r\n\r\nwls:\/basicWLSDomain\/jndi> ls()\r\ndr--   AdminServer\r\n\r\nwls:\/basicWLSDomain\/jndi>\r\n<\/pre>\n<span id=\"serverConfig\"><h3>serverConfig<\/h3><\/span>\n<p>* Navigates to the last MBean to which you navigated in the configuration MBean hierarchy or to the root of the hierarchy, DomainMBean.<br \/>\n&#8211; 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.<br \/>\n* Online<br \/>\n* Syntax:<\/p>\n<pre lang=\"bash\">\r\nserverConfig()\r\n<\/pre>\n<p>* Example:<\/p>\n<pre lang=\"bash\">\r\nwls:\/basicWLSDomain\/jndi> serverConfig()\r\n\r\nwls:\/basicWLSDomain\/serverConfig>\r\n<\/pre>\n<span id=\"serverRuntime\"><h3>serverRuntime<\/h3><\/span>\n<p>* Navigates to the last MBean to which you navigated in the runtime MBean hierarchy or to the root of the hierarchy, ServerRuntimeMBean.<br \/>\n&#8211; This read-only hierarchy stores the runtime MBeans that represent the server to which WLST is currently connected.<br \/>\n* Online<br \/>\n* Syntax:<\/p>\n<pre lang=\"bash\">\r\nserverRuntime()\r\n<\/pre>\n<p>* Example:<\/p>\n<pre lang=\"bash\">\r\nwls:\/basicWLSDomain\/serverConfig> serverRuntime()\r\nLocation changed to serverRuntime tree. This is a read-only tree with ServerRunt\r\nimeMBean as the root.\r\nFor more help, use help(serverRuntime)\r\n<\/pre>\n<span id=\"References\"><h2>References<\/h2><\/span>\n<p>* <a href=\"http:\/\/download.oracle.com\/docs\/cd\/E17904_01\/web.1111\/e13813\/reference.htm#insertedID11\">Tree Commands<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>custom * Navigates to the root of custom MBeans that are registered in the Runtime MBean Server. &#8211; WLST navigates, interrogates, and edits custom MBeans as it does domain MBeans; &#8211; however, custom MBeans cannot use the cmo variable because &hellip; <a href=\"https:\/\/jianmingli.com\/wp\/?p=3466\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[104],"tags":[],"class_list":["post-3466","post","type-post","status-publish","format-standard","hentry","category-weblogic11g"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p8cRUO-TU","_links":{"self":[{"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=\/wp\/v2\/posts\/3466","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3466"}],"version-history":[{"count":3,"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=\/wp\/v2\/posts\/3466\/revisions"}],"predecessor-version":[{"id":5473,"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=\/wp\/v2\/posts\/3466\/revisions\/5473"}],"wp:attachment":[{"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3466"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3466"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3466"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}