cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a.@apache.org
Subject svn commit: r1355195 - /cxf/trunk/rt/ws/rm/src/main/java/org/apache/cxf/ws/rm/persistence/jdbc/RMTxStore.java
Date Thu, 28 Jun 2012 23:37:05 GMT
Author: ay
Date: Thu Jun 28 23:37:04 2012
New Revision: 1355195

URL: http://svn.apache.org/viewvc?rev=1355195&view=rev
Log:
fix test errors under jdk15 for CXF-4362

Modified:
    cxf/trunk/rt/ws/rm/src/main/java/org/apache/cxf/ws/rm/persistence/jdbc/RMTxStore.java

Modified: cxf/trunk/rt/ws/rm/src/main/java/org/apache/cxf/ws/rm/persistence/jdbc/RMTxStore.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/ws/rm/src/main/java/org/apache/cxf/ws/rm/persistence/jdbc/RMTxStore.java?rev=1355195&r1=1355194&r2=1355195&view=diff
==============================================================================
--- cxf/trunk/rt/ws/rm/src/main/java/org/apache/cxf/ws/rm/persistence/jdbc/RMTxStore.java
(original)
+++ cxf/trunk/rt/ws/rm/src/main/java/org/apache/cxf/ws/rm/persistence/jdbc/RMTxStore.java
Thu Jun 28 23:37:04 2012
@@ -1105,7 +1105,10 @@ public class RMTxStore implements RMStor
                 if (LOG.isLoggable(Level.FINE)) {
                     LOG.log(Level.FINE, "Using url: " + url);
                 }
+                Class.forName(driverClassName);
                 con = DriverManager.getConnection(url, userName, password);
+            } catch (ClassNotFoundException ex) {
+                LogUtils.log(LOG, Level.SEVERE, "CONNECT_EXC", ex);
             } catch (SQLException ex) {
                 LogUtils.log(LOG, Level.SEVERE, "CONNECT_EXC", ex);
             }



Mime
View raw message