cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nlivens <>
Subject [GitHub] cloudstack pull request: Explicitely load JDBC driver before creat...
Date Mon, 23 May 2016 09:23:19 GMT
Github user nlivens commented on a diff in the pull request:
    --- Diff: framework/db/src/com/cloud/utils/db/ ---
    @@ -1014,6 +1014,13 @@ public static void initDataSource(Properties dbProps) {
                 if (dbProps.size() == 0)
    +            try {
    +                // Explicitely load JDBC driver because it has been removed from the
classpath as part of commit c22659d76d73f00f41c13776c490e17a50aacd20
    +                Class.forName("com.mysql.jdbc.Driver");
    --- End diff --
    Yes, that can be changed to make use of a property value, shall I incorporate that change
into this PR as well? :)
    A property called : "db.x.type" e.g. /

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

View raw message