Ragnar Haugan created DBCP-538:
----------------------------------

             Summary: 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.6.0, 2.5.0, 2.4.0, 2.3.0
            Reporter: Ragnar Haugan


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)

Reply via email to