Return-Path: X-Original-To: apmail-cloudstack-issues-archive@www.apache.org Delivered-To: apmail-cloudstack-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CAD991122C for ; Sat, 2 Aug 2014 13:01:13 +0000 (UTC) Received: (qmail 20899 invoked by uid 500); 2 Aug 2014 13:01:13 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 20874 invoked by uid 500); 2 Aug 2014 13:01:13 -0000 Mailing-List: contact issues-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 issues@cloudstack.apache.org Received: (qmail 20863 invoked by uid 500); 2 Aug 2014 13:01:13 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 20860 invoked by uid 99); 2 Aug 2014 13:01:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 02 Aug 2014 13:01:13 +0000 Date: Sat, 2 Aug 2014 13:01:13 +0000 (UTC) From: "Erik Weber (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CLOUDSTACK-6892) Database HA Config prevents mgmt server from starting MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CLOUDSTACK-6892?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14083553#comment-14083553 ] Erik Weber commented on CLOUDSTACK-6892: ---------------------------------------- Adrian: you should be able to find a freshly built master here: http://dl-terbolous.rhcloud.com/acs-master/ > 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: Future, 4.3.0, 4.4.0 > Environment: MySQL configured for DB HA > Reporter: Adrian Lewis > Assignee: Hugo Trippaers > 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)