invokemultimodefrom within a multimodesession; once you exit the second multimode
environment,you return to your original multimode environment.
The Get,S et,and List Commands
Theasadmin get,set and list commands work in tandem to provide a navigation
mechanismfor the Application Server's abstract hierarchy. There are two hierarchies:
configurationand monitoring and these commands operate on both. The list command
providesthe fully qualied dotted names of the management components that have read-only
ormodiable attributes.
Theconfigurationhierarchy provides attributes that are modiable; whereas the attributes of
managementcomponents from monitoring hierarchy are purely read-only. The
configurationhierarchy is loosely based on the domain's schema document; whereas the
monitoringhierarchyis a little dierent.
Usethe list command to reach a particular management component in the desired hierarchy.
Then,invoke the getand set commands to get the names and values or set the values of the
attributesof the management component at hand. Use the wildcard (*) option to fetch all
matchesin a given fully qualied dotted name. See the examples for further clarication of the
possiblenavigation of the hierarchies and management components.
Anapplication server dotted name uses the “.” (period) as a delimiter to separate the parts of a
completename. This is similar to how the “/” character is used to delimit the levels in the
absolutepath name of a le in the UNIX le system. The following rules apply while forming
thedotted names accepted by the get,set, and list commands. Note that a specic command
hassome additional semantics applied.
A.(period)always separates two sequential parts of the name.
Apart of the name usually identies an application server subsystem and/or its specic
instance.For example: web-container, log-service, thread-pool-1, etc.
Ifany part of the name itself contains a .(period), then it must be escaped with a leading
\(backslash)so that the “.” does not act like a delimiter.
An*(asterisk) can be used anywhere in the dotted name and it acts like the wildcard
characterin regular expressions. Additionally, an *can collapse all the parts of the dotted
name.Long dotted name like "<classname>this.is.really.long.hierarchy
</classname>"canbe abbreviated to "<classname>th*.hierarchy</classname>."But
notethat the .always delimits the parts of the name.
Thetop level switch for any dotted name is --monitor or -m that is separately specied on a
givencommand line. The presence or lack of this switch implies the selection of one of the
twohierarchies for application server management: monitoring and conguration.
Ifyou happen to know the exact complete dotted name without any wildcard character, then
listand get/set have a little dierence in their semantics:
TheGet,Set, and List Commands
SunGlassFishEnterprise Ser ver2.1 Administration Guide • December 2008236