commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1711099 - in /commons/proper/dbcp/trunk/src: changes/changes.xml main/java/org/apache/commons/dbcp2/PoolableConnection.java
Date Wed, 28 Oct 2015 18:42:17 GMT
Author: ggregory
Date: Wed Oct 28 18:42:17 2015
New Revision: 1711099

URL: http://svn.apache.org/viewvc?rev=1711099&view=rev
Log:
[DBCP-449] Cannot use DBCP on Google App Engine.

Modified:
    commons/proper/dbcp/trunk/src/changes/changes.xml
    commons/proper/dbcp/trunk/src/main/java/org/apache/commons/dbcp2/PoolableConnection.java

Modified: commons/proper/dbcp/trunk/src/changes/changes.xml
URL: http://svn.apache.org/viewvc/commons/proper/dbcp/trunk/src/changes/changes.xml?rev=1711099&r1=1711098&r2=1711099&view=diff
==============================================================================
--- commons/proper/dbcp/trunk/src/changes/changes.xml (original)
+++ commons/proper/dbcp/trunk/src/changes/changes.xml Wed Oct 28 18:42:17 2015
@@ -64,9 +64,12 @@ The <action> type attribute can be add,u
       <action dev="psteitz" type="fix" issue="DBCP-444">
         InvalidateConnection can result in closed connection returned by getConnection.
       <action>
+      <action dev="ggregory" type="fix" issue="DBCP-449" due-to="Grzegorz D.">
+        Cannot use DBCP on Google App Engine.
+      <action>
     </release>
     <release version="2.1.1" date="6 Aug 2015" description=
- "This is a patch release, including bug fixes only.">
+"This is a patch release, including bug fixes only.">
       <action dev="psteitz" type="update">
         Updated pool version to 2.4.2.  The fix for POOL-300 may cause DBCP
         users to see more reports of abandoned connections (if removal and logging

Modified: commons/proper/dbcp/trunk/src/main/java/org/apache/commons/dbcp2/PoolableConnection.java
URL: http://svn.apache.org/viewvc/commons/proper/dbcp/trunk/src/main/java/org/apache/commons/dbcp2/PoolableConnection.java?rev=1711099&r1=1711098&r2=1711099&view=diff
==============================================================================
--- commons/proper/dbcp/trunk/src/main/java/org/apache/commons/dbcp2/PoolableConnection.java
(original)
+++ commons/proper/dbcp/trunk/src/main/java/org/apache/commons/dbcp2/PoolableConnection.java
Wed Oct 28 18:42:17 2015
@@ -51,7 +51,7 @@ public class PoolableConnection extends
     static {
         try {
             MBEAN_SERVER = ManagementFactory.getPlatformMBeanServer();
-        } catch (Exception ex) {
+        } catch (NoClassDefFoundError | Exception ex) {
             // ignore - JMX not available
         }
     }



Mime
View raw message