[
https://issues.apache.org/jira/browse/DBCP-538?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gary Gregory resolved DBCP-538.
-------------------------------
Resolution: Fixed
Fix Version/s: 2.6.1
In git master now. Please verify and close.
> Wrong JMX base name derived in BasicDataSource#updateJmxName
> ------------------------------------------------------------
>
> Key: DBCP-538
> URL: https://issues.apache.org/jira/browse/DBCP-538
> Project: Commons DBCP
> Issue Type: Bug
> Affects Versions: 2.3.0, 2.4.0, 2.5.0, 2.6.0
> Reporter: Ragnar Haugan
> Priority: Minor
> Fix For: 2.6.1
>
>
> Prior to version 2.3, the registeredJmxName class member was of type
> ObjectName, which has its own toString implementation. From version 2.3 the
> registeredJmxName is of type ObjectNameWrapper which does not implement
> toString, causing the JMX base name derived in the updateJmxName method to be
> on the form
> {noformat}
> org.apache.commons.dbcp2.ObjectNameWrapper@<hash_code>,connectionpool={noformat}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)