Uploaded image for project: 'Commons DBCP'
  1. Commons DBCP
  2. DBCP-538

Wrong JMX base name derived in BasicDataSource#updateJmxName

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.3.0, 2.4.0, 2.5.0, 2.6.0
    • Fix Version/s: 2.7.0
    • Labels:
      None

      Description

      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

      org.apache.commons.dbcp2.ObjectNameWrapper@<hash_code>,connectionpool=

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              ragnaroh Ragnar Haugan
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: