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

Cannot use DBCP on Google App Engine

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 2.0.1, 2.1
    • 2.2.0
    • None
    • Google App Engine

    • 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

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

              Dates

                Created:
                Updated:
                Resolved: