You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Grzegorz D. (JIRA)" <ji...@apache.org> on 2015/10/27 15:07:27 UTC

[jira] [Created] (DBCP-449) Cannot use DBCP on Google App Engine

Grzegorz D. created DBCP-449:
--------------------------------

             Summary: Cannot use DBCP on Google App Engine
                 Key: DBCP-449
                 URL: https://issues.apache.org/jira/browse/DBCP-449
             Project: Commons Dbcp
          Issue Type: Bug
    Affects Versions: 2.0
         Environment: Google App Engine
            Reporter: Grzegorz D.
             Fix For: 2.0.1


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.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)