https://bz.apache.org/bugzilla/show_bug.cgi?id=63705
Bug ID: 63705
Summary: The tomcat pool doesn't register all connection
through JMX
Product: Tomcat Modules
Version: unspecified
Hardware: PC
Status: NEW
Severity: normal
Priority: P2
Component: jdbc-pool
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
Created attachment 36742
--> https://bz.apache.org/bugzilla/attachment.cgi?id=36742&action=edit
Screenshot of the pool in JConsole
I used the "JConsole" tool to monitor a tomcat connection pool through JMX.
The pool indicated that there were four idle connections, but only two of them
were visible in the monitoring tool.
In addition, the initial size of the pool was six and six connections were
created (I checked it by debugging the code), but for some reason two of them
were closed, and the pool was left with the minimum number of idle connections
(four connections).
I guess it's the normal behavior of the pool. However, if there are four
connections, all of them should be registered through JMX, not just two.
Tomcat pool:
- Initial size: 6
- Min idle: 4
- Max idle: 30
- Max active: 40
Tomcat version: 9.0.22
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]