beautypg.com

Sun Microsystems GLASSFISH ENTERPRISE 820433510 User Manual

Page 200

background image

server.http-service

server.resources

server.thread-pools

The list of monitorable components includes thread-pools, http-service, resources, and all
deployed (and enabled) applications.

List the monitorable subcomponents in the PetStore application (-m can be used instead of
--monitor

):

asadmin> list -m server.applications.petstore

Returns:

server.applications.petstore.signon-ejb_jar

server.applications.petstore.catalog-ejb_jar

server.applications.petstore.uidgen-ejb_jar

server.applications.petstore.customer-ejb_jar

server.applications.petstore.petstore-ejb_jar

server.applications.petstore.petstore\.war

server.applications.petstore.AsyncSenderJAR_jar

server.applications.petstore.cart-ejb_jar

List the monitorable subcomponents in the EJB module signon-ejb_jar of the PetStore
application:

asadmin> list -m server.applications.petstore.signon-ejb_jar

Returns:

server.applications.petstore.signon-ejb_jar.SignOnEJB

server.applications.petstore.signon-ejb_jar.UserEJB

List the monitorable subcomponents in the entity bean UserEJB for the EJB module
signon-ejb_jar

of the PetStore application:

asadmin> list -m server.applications.petstore.signon-ejb_jar.UserEJB

Returns (with dotted name removed for space considerations):

server.applications.petstore.signon-ejb_jar.UserEJB.bean-cache

server.applications.petstore.signon-ejb_jar.UserEJB.bean-methods

server.applications.petstore.signon-ejb_jar.UserEJB.bean-pool

List the monitorable subcomponents in the method getUserName for the entity bean UserEJB in
the EJB module
signon-ejb_jar of the PetStore application:

asadmin> list -m

server.applications.petstore.signon-ejb_jar.UserEJB.bean-methods.getUserName

4

5

6

7

Viewing Monitoring Data

Sun GlassFish Enterprise Server 2.1 Administration Guide • December 2008

200