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 F20EF1183B for ; Wed, 2 Jul 2014 15:18:25 +0000 (UTC) Received: (qmail 56153 invoked by uid 500); 2 Jul 2014 15:18:25 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 56125 invoked by uid 500); 2 Jul 2014 15:18:25 -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 56115 invoked by uid 500); 2 Jul 2014 15:18:25 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 56112 invoked by uid 99); 2 Jul 2014 15:18:25 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Jul 2014 15:18:25 +0000 Date: Wed, 2 Jul 2014 15:18:25 +0000 (UTC) From: "sebastien goasguen (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=14050025#comment-14050025 ] sebastien goasguen commented on CLOUDSTACK-6892: ------------------------------------------------ [~adrianlewis] what's your OS and hypervisor ? > 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)