TABLE18–4 EJBPoolStatistics
AttributeName DataType Description
numbeansinpool BoundedRangeStatistic Numberof EJB’sin the associated pool,
providingan idea about how the pool
ischanging.
numthreadswaiting BoundedRangeStatistic Numberof threads waiting for free
beans,giving an indication of possible
congestionof requests.
totalbeanscreated CountStatistic Numberof beans created in associated
poolsince the gathering of data
started.
totalbeansdestroyed CountStatistic Numberof beans destroyed from
associatedpool since the gathering of
datastarted.
jmsmaxmessagesload CountStatistic Themaximum number of messages to
loadinto a JMS session at one time for
amessage-driven bean to serve.
Defaultis 1. Applies only to pools for
messagedriven beans.
Thestatistics available for EJB caches are listed in the following table.
TABLE18–5 EJBCache Statistics
AttributeName DataType Description
cachemisses BoundedRangeStatistic Thenumber of times a user request does not
nda bean in the cache.
cachehits BoundedRangeStatistic Thenumber of times a user request found an
entryin the cache.
numbeansincache BoundedRangeStatistic Thenumber of beans in the cache. This is the
currentsize of the cache.
numpassivations CountStatistic Numberof passivated beans. Applies only to
statefulsession beans.
numpassivationerrors CountStatistic Numberof errors during passivation. Applies
onlyto stateful session beans.
numexpiredsessionsremoved CountStatistic Numberof expired sessions removed by the
cleanupthread. Applies only to stateful
sessionbeans.
AboutMonitoring
Chapter18 • Monitoring Components and Ser vices 179