Viewing Monitoring Data

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.

4List the monitorable subcomponents in the PetStore application (-mcan 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

5List the monitorable subcomponents in the EJB module signon-ejb_jarof 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

6List the monitorable subcomponents in the entity bean UserEJB for the EJB module signon-ejb_jarof 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

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

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

200

Sun GlassFish Enterprise Server 2.1 Administration Guide • December 2008

Page 200
Image 200
Sun Microsystems 820433510 manual Returns with dotted name removed for space considerations