Common J2EE application servers include WebLogic, websphere, and tomcat. The following is a counter given by Weblogic as an example.
Category |
Counter name |
Counter description |
JVM |
Heap size |
JVM heap size. The value of this counter is a real-time value. |
Heap free |
JVM available heap size. The value of this counter is a real-time value. |
JDBC connection pool |
Waiting for connection Current count |
Number of pending connections. If the counter value continues to be large, you may need to increase the JDBC connection pool of the application server. |
Connections total count |
Total JDBC connections |
Max capacity |
Total capacity of the JDBC connection pool. You can compare the counter with the previous two counter values to obtain the conclusion that the connection pool settings are reasonable. |
Active connections current count |
The number of currently active JDBC connections. The counter value can be used to check whether the utilization of JDBC connections is reasonable. |
Execute queue |
Execute thread current idle count |
Number of Idle threads |
Pending request oldest time |
The longest time of a queue request. Through this counter, you can see whether the queue is obviously congested. |
Serviced request total count |
Total number of processed requests. The counter value can be used to compare with the number of clicks obtained by the performance testing tool. |
Pending request current count |
Number of pending requests |
J2EE Application Server counters