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

Cannot Disable JMX

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0.1
    • Labels:
      None
    • Environment:

      Google App Engine

      Description

      There is no way to disable the use of JMX when using PoolableConnections. Line 48 of PoolableConnection.java uses the ManagementFactory which is blacklisted in Google App Engine.

      private static MBeanServer MBEAN_SERVER = ManagementFactory.getPlatformMBeanServer();

      There should be a way to disable all JMX bindings for environments like GAE.

        Attachments

        1. DBCP-418.patch
          0.9 kB
          Phil Steitz

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                wspeirs Bill Speirs
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: