You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Adrian Lewis (JIRA)" <ji...@apache.org> on 2014/06/11 12:18:01 UTC

[jira] [Created] (CLOUDSTACK-6892) Database HA Config prevents mgmt server from starting

Adrian Lewis created CLOUDSTACK-6892:
----------------------------------------

             Summary: Database HA Config prevents mgmt server from starting
                 Key: CLOUDSTACK-6892
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6892
             Project: CloudStack
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
          Components: Install and Setup, Management Server
    Affects Versions: 4.3.0
         Environment: MySQL configured for DB HA
            Reporter: Adrian Lewis
            Priority: Critical


When configuring the database HA feature introduced in 4.3, the manangement server fails to create the DB connection due to the mysql connector jar being loaded using tomcat's common class loader but the "cloud-plugin-database-mysqlha-4.3.0.jar" is loaded by the webapp class loader.

The cloud-plugin-database-mysqlha-4.3.0.jar needs to also be loaded from the common class loader instead of webapp class loader.

Fix is to declare the cloud-plugin-database-mysqlha-4.3.0.jar under the common.loader section in /etc/cloudstack/management/catalina.properties.

Only tested using a fresh install on Centos 6.5 and the public repo packages.

Manual fix provided by Damoder Reddy in users mailing list: "Looks like we did not change the catalina.properties while refactoring out the mysql connector part"



--
This message was sent by Atlassian JIRA
(v6.2#6252)