commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Gregory (JIRA)" <>
Subject [jira] [Commented] (DBCP-449) Cannot use DBCP on Google App Engine
Date Tue, 27 Oct 2015 17:27:27 GMT


Gary Gregory commented on DBCP-449:

I'm not sure that's going to cut it. We might need to create a separate class to handle JMX
and JNDI features so they are not loaded when a main class is loaded.

> Cannot use DBCP on Google App Engine
> ------------------------------------
>                 Key: DBCP-449
>                 URL:
>             Project: Commons Dbcp
>          Issue Type: Bug
>    Affects Versions: 2.0.1, 2.1
>         Environment: Google App Engine
>            Reporter: Grzegorz D.
>            Priority: Blocker
> There is no way to disable the use of JMX when using PoolableConnections. Line 53 of uses the ManagementFactory which is blacklisted in Google App Engine.
> MBEAN_SERVER = ManagementFactory.getPlatformMBeanServer();
> "java.lang.NoClassDefFoundError: 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

This message was sent by Atlassian JIRA

View raw message