Return-Path: X-Original-To: apmail-commons-issues-archive@minotaur.apache.org Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D6FDF18380 for ; Wed, 28 Oct 2015 18:36:28 +0000 (UTC) Received: (qmail 40304 invoked by uid 500); 28 Oct 2015 18:36:28 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 40153 invoked by uid 500); 28 Oct 2015 18:36:28 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 40014 invoked by uid 99); 28 Oct 2015 18:36:28 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Oct 2015 18:36:28 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id CFE612C1F62 for ; Wed, 28 Oct 2015 18:36:27 +0000 (UTC) Date: Wed, 28 Oct 2015 18:36:27 +0000 (UTC) From: "Gary Gregory (JIRA)" To: issues@commons.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (DBCP-449) Cannot use DBCP on Google App Engine MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DBCP-449?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14978981#comment-14978981 ] Gary Gregory commented on DBCP-449: ----------------------------------- OK, I'll patch... > 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.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 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) -- This message was sent by Atlassian JIRA (v6.3.4#6332)