NonStop Servlets for JavaServer Pages (NSJSP) 6.1 System Administrator's Guide
MBeans in the NSJSP Container
NonStop Servlets for JavaServer Pages (NSJSP) 6.1 System Administrator’s Guide—596210-006
A-2
Object Names and Attributes of MBeans
The following are typical uses of MBeans in NSJSP:
You can use MBeans to obtain the state of the component it instruments. The
information obtained using MBeans can be of the following types:
Information that is constant and does not change with time. For example, the
MBean that instruments the Host component has the appBase attribute, which
represents the directory where the web applications are placed. The MBean
attributes are explained in Object Names and Attributes of MBeans on
page A-2.
Information that denotes the current state of the component, and can change
with time. For example, the MBean instrumenting the Servlet by name JSP,
has the processingTime attribute that represents the average time taken by
the Servlet to process JSP requests. The MBeans attributes are explained in
Object Names and Attributes of MBeans on page A-2.
You can also use MBeans to alter the state of the component that it instruments.
For example, you can modify the value of the maxInactiveInterval variable.
For more information on maxInactiveInterval, see Configuring In-Memory
Sessions on page 3-76.
Object Names and Attributes of MBeans
MBeans that are registered with an MBean server are grouped using namespace,
called domain. Each MBean has a unique identifier, called the object name. The object
name consists of a domain followed by a key-properties list.
The key-properties list with the domain identifies a specific MBean within an MBean
server. The key-properties list consists of a minimum of one and might be more
property-value pairs.
The following are examples of object names:
NSJSP:name=http-0,type=ThreadPool
where,
NSJSP represents the domain followed by the key-properties list.
The key-properties list includes the following property-value pairs:
name=http-0 and type=ThreadPool
NSJSP:type=Manager,path=/sca6url/examples,host=localhost
where,
NSJSP represents the domain.
Note. Similar examples are included later in this chapter.
Note. The MBean server stores all the MBeans in a JVM.










