Java/J2EE Monitor
The Java/J2EE monitor is used to monitor application servers based on the Java and Java 2 Enterprise Edition (J2EE) platforms. It uses the Java Management Extensions (JMX) to extract performance data of the underlying appserver. Most commercially available Java/J2EE application servers are supported by the AppPerfect Monitor.
Listed below are some commonly monitored attributes of a Java/J2EE application server. Depending on how your AppPerfect administrator has setup the monitor for your Java/J2EE server, you may or may not see some or all these attributes.
Heap
- Heap Used: Used memory in JVM run time
- Heap Total: Total memory in JVM run time
Non-Heap
- Non-Heap Used: Used memory in JVM run time
- Non-Heap Total: Total memory in JVM run time
Classes
- Loaded: Number of classes unloaded in JVM
- Unloaded: Number of classes unloaded from JVM
Server
- Name: Name of the server.
- Current Open Sockets: Returns the current number of sockets open.
- Total Open Sockets: Returns the total number of sockets open.
- Server Restart Count: Returns the total number of restarts for this server since the cluster was last activated.
EJBs
Entity Beans
- Name: Name of the entity bean.
- Domain: Name of the domain.
- Total nos of Activations: Returns the total number of beans from the EJB home that have been activated.
- Total nos of Passivations: Returns the total number of beans from the EJB home that have been passivated.
- Cache Count: Returns the total number of beans from the EJB Home currently in the EJB cache.
- Cache Accesses: Returns the total number of attempts to access a bean from the cache.
- Cache Hits: Returns the total number of times an attempt to access a bean from the cache succeeded.
- Beans in use: Returns the total number of bean instances currently in use from the free pool.
- Beans idle: Returns the total number of idle bean instances in the free pool.
- Timed out Threads: Returns the total number of threads that have timed out waiting for an available bean instance from the free pool.
- Threads Waiting: Returns the total number of threads currently waiting for an available bean instance from the free pool.
- Transactions Committed: Returns the number of committed transactions.
- Transactions Rolledback: Returns the number of transactions that were rolled back.
- Transactions Timedout: Returns the number of transactions that were timed out.
Stateful Beans
- Name: Name of the stateful bean.
- Domain: Name of the domain.
- Total nos of Activations: Returns the total number of beans from the EJB home that have been activated.
- Total nos of Passivations: Returns the total number of beans from the EJB home that have been passivated.
- Cache Count: Returns the total number of beans from the EJB Home currently in the EJB cache.
- Cache Hits: Returns the total number of times an attempt to access a bean from the cache succeeded.
Stateless Beans
- Name: Name of the stateless bean.
- Domain: Name of the domain.
- Beans in use from Pool: Returns the total number of bean instances currently in use from the free pool.
- Beans idle in Pool: Returns the total number of idle bean instances in the free pool.
- Timed out Threads: Returns the total number of threads that have timed out waiting for an available bean instance from the free pool.
- Threads Waiting: Returns the total number of threads currently waiting for an available bean instance from the free pool.
Message Driven Beans
- Name: Name of the message driven bean.
- Domain: Name of the domain.
- Beans in use from Pool: Returns the total number of bean instances currently in use from the free pool.
- Beans idle in Pool: Returns the total number of idle bean instances in the free pool.
- Timed out Threads: Returns the total number of threads that have timed out waiting for an available bean instance from the free pool.
- Threads Waiting: Returns the total number of threads currently waiting for an available bean instance from the free pool.
- Transactions Committed: Returns the number of transactions that were committed.
- Transactions Rolledback: Returns the number of transactions that were rolled back.
- Transactions Timedout: Returns the number of transactions that were timed out.
JSP/Servlets
- Name: Returns the Name of the JSP/Servlet.
- Domain: Name of the domain.
- Invocations: Returns the number of times the servlet is invoked.
- Average Execution time: Returns the average amount of time all invocations of the servlet have executed since creation.
- Minimum Execution time: Returns the amount of time the single shortest invocation of the servlet has executed since creation.
- Maximum Execution time: Returns the amount of time the single longest invocation of the servlet has executed since creation.
Databases/JDBC
- Name:Names of the databases.
- Domain: Name of the domain.
- Current Active Connections: Current total number of active connections.
- Maximum Active Connections: Returns the maximum active connections in this JDBCConnectionPoolRuntimeMBean. The count starts at zero each time the JDBCConnectionPoolRuntimeMBean is instantiated.
- Maximum Pool Capacity: Returns the maximum capacity of this connection pool.
- Total Connections: Returns the total number of JDBC connections in this JDBCConnectionPoolRuntimeMBean since the pool is instantiated.
JMS
JMS producer:
- Name: Name of the JMS Producer.
- Domain: Name of the domain.
- Bytes Pending: Returns the number of bytes pending (uncommitted and unacknowledged) by this producer.
- Bytes Sent: Returns the number of bytes sent by this producer since the last reset.
- Messages Pending: Returns the number of messages pending (uncommitted and unacknowledged) by this producer.
- Messages Sent: Returns the number of messages sent by this producer since the last reset.
JMS consumer:
- Name: Name of the JMS consumer.
- Domain: Name of the domain.
- Bytes Pending: Returns the number of bytes pending (uncommitted and and unacknowledged) by this consumer.
- Bytes Received: Returns the number of bytes received by this consumer since the last reset.
- Messages Pending: Returns the number of messages pending (uncommitted and unacknowledged) by this consumer.
- Messages Received: Returns the number of messages received by this consumer since the last reset.
JTA
- Name: Name of the Java transactions API.
- Domain: Name of the domain.
- Transactions Committed: Returns the number of committed transactions.
- Transactions Abandoned: Returns the number of transaction that were abandoned.
- Transactions Rolled back: Returns the number of transactions that were rolled back.