JBoss Console: http://127.0.0.1:8080/jmx-console/HtmlAdaptor?action=inspectMBean&name=jboss.jca%3Aservice% 3dmanagedconnectionpool%2cname%3dconnconfig in this page (IP and Port have their own main): connectioncount this project represents the total number of connections used after the service is opened! Connectioncreatedcount represents a connection created by the JBoss application server itself! connectiondestroyedcount represents the connection that JBoss releases, both released by the user and released by the system itself! Idletimeoutminutes represents idle release time, which is the connection created by the system if it is not used within the time specified by the project after the connection is made. inuseconnectioncount represents the connection that the user is using! Maxconnectionsinusecount indicates that the user is using the peak of the connection! The less inuseconnectioncount the better! Connectioncreatedcount the bigger the better! These two are the key!! Availableconnectioncount is the number of connections available! If the value of your page refresh Availableconnectioncount doesn't become a word, the connection that your page creates is closed, and if his value is reduced, then how much is reduced, indicating how many connections you have not released!! If possible, it is best to test each page and release it completely! And the value of Maxconnectionsinusecount and Availableconnectioncount corresponds: The former reduction of how much, the latter increase how much!!! and Maxconnectionsinusecount + Availableconnectioncount = MaxSize They exist this relationship!! It can be said that Inuseconnectioncount is the number of connections that have not been freed!!! The Maxconnectionsinusecount is the peak of the number of non-released connections!!! The above view is that I look at the console, through the modification of n times and refresh the results of the page, there is no place to ask more comments!
Summarize the JBoss console and draw a conclusion (database connection pool related)