Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 284BE200AE4 for ; Thu, 26 May 2016 05:05:56 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 27391160A39; Thu, 26 May 2016 03:05:56 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 6DD05160A29 for ; Thu, 26 May 2016 05:05:55 +0200 (CEST) Received: (qmail 69128 invoked by uid 500); 26 May 2016 03:05:47 -0000 Mailing-List: contact commits-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list commits@cloudstack.apache.org Received: (qmail 65751 invoked by uid 99); 26 May 2016 03:05:41 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 May 2016 03:05:41 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id D8F39EABF1; Thu, 26 May 2016 03:05:40 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: swill@apache.org To: commits@cloudstack.apache.org Date: Thu, 26 May 2016 03:06:13 -0000 Message-Id: <56dafef826ea4b659b567d9b53bed49f@git.apache.org> In-Reply-To: <499c689eb98a479db368b0a82be15974@git.apache.org> References: <499c689eb98a479db368b0a82be15974@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [34/39] git commit: updated refs/heads/master to 3c800b4 archived-at: Thu, 26 May 2016 03:05:56 -0000 Merge pull request #1553 from nlivens/mysql_driver_issue Dynamically load drivers before creating our DB connectionsSolution to the mailing thread titled "MySQL : No suitable driver found for jdbc:mysql". It doesn't harm that we explicitely load the MySQL driver, and for those which would use a commons-dbcp version < 1.4 this would fix it as well. Since JDBC 4.0, the JDBC driver can auto-register itself, but for some weird cases (like ours), it's not working. Therefore we need to explicitly load the JDBC driver. * pr/1553: Dynamic loading of DB driver + support for other DB providers Signed-off-by: Will Stevens Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/b5606dcc Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/b5606dcc Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/b5606dcc Branch: refs/heads/master Commit: b5606dcce8b8834f956d24dad5d20bc8d5c001b9 Parents: de205c5 02c5d44 Author: Will Stevens Authored: Wed May 25 23:00:41 2016 -0400 Committer: Will Stevens Committed: Wed May 25 23:00:42 2016 -0400 ---------------------------------------------------------------------- build/replace.properties | 1 + client/tomcatconf/db.properties.in | 3 ++ .../snapshot/test/resources/db.properties | 5 +++ .../com/cloud/utils/db/TransactionLegacy.java | 44 ++++++++++++++------ framework/db/test/db.properties | 5 +++ framework/jobs/test/resources/db.properties | 5 +++ packaging/centos63/replace.properties | 1 + packaging/centos7/replace.properties | 1 + packaging/centos7/tomcat7/db.properties | 5 +++ packaging/debian/replace.properties | 1 + packaging/fedora20/replace.properties | 1 + packaging/fedora21/replace.properties | 1 + .../globodns/test/resources/db.properties | 5 +++ .../test/resources/db.properties | 5 +++ server/test/resources/db.properties | 5 +++ .../iam/plugin/test/resources/db.properties | 5 +++ .../iam/server/test/resources/db.properties | 5 +++ tools/devcloud-kvm/pom.xml | 2 +- tools/devcloud/pom.xml | 2 +- tools/devcloud4/pom.xml | 2 +- usage/conf/db.properties.in | 1 + usage/test/resources/db.properties | 5 +++ utils/conf/db.properties | 5 +++ 23 files changed, 100 insertions(+), 15 deletions(-) ----------------------------------------------------------------------