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

Wrong JMX base name derived in BasicDataSource#updateJmxName

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.3.0, 2.4.0, 2.5.0, 2.6.0
    • 2.7.0
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: