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

Cannot use DBCP on Google App Engine

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.0.1, 2.1
    • Fix Version/s: 2.2.0
    • Labels:
      None
    • Environment:

      Google App Engine

    • Flags:
      Important

      Description

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

      MBEAN_SERVER = ManagementFactory.getPlatformMBeanServer();

      "java.lang.NoClassDefFoundError: java.lang.management.ManagementFactory is a restricted class. Please see the Google App Engine developer's guide for more details."

      Closed issue DBCP-418 should catch (NoClassDefFoundError | Exception ex) instead of (Exception ex)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ggregory Gary D. Gregory
                Reporter:
                photoworld Grzegorz D.
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: