Return-Path: X-Original-To: apmail-incubator-cloudstack-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-cloudstack-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DA8DFDED3 for ; Thu, 13 Sep 2012 11:58:43 +0000 (UTC) Received: (qmail 14177 invoked by uid 500); 13 Sep 2012 11:58:43 -0000 Delivered-To: apmail-incubator-cloudstack-dev-archive@incubator.apache.org Received: (qmail 14117 invoked by uid 500); 13 Sep 2012 11:58:43 -0000 Mailing-List: contact cloudstack-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cloudstack-dev@incubator.apache.org Delivered-To: mailing list cloudstack-dev@incubator.apache.org Received: (qmail 14105 invoked by uid 99); 13 Sep 2012 11:58:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Sep 2012 11:58:42 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [109.72.87.137] (HELO smtp01.mail.pcextreme.nl) (109.72.87.137) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Sep 2012 11:58:37 +0000 Received: from [IPv6:2a00:f10:11c:ab:5d00:7f74:be56:6d84] (unknown [IPv6:2a00:f10:11c:ab:5d00:7f74:be56:6d84]) by smtp01.mail.pcextreme.nl (Postfix) with ESMTPA id 854D938C02A for ; Thu, 13 Sep 2012 13:58:15 +0200 (CEST) Message-ID: <5051CA57.9060306@widodh.nl> Date: Thu, 13 Sep 2012 13:58:15 +0200 From: Wido den Hollander User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120827 Thunderbird/15.0 MIME-Version: 1.0 To: cloudstack-dev@incubator.apache.org Subject: Re: Problem after upgrading to ASF 4.0 RC1 References: <5051C655.2040202@gmail.com> <5051C6C1.1090906@widodh.nl> <5051C946.6090504@gmail.com> In-Reply-To: <5051C946.6090504@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hello, Could you open /etc/cloud/management/classpath.conf and see if the MySQL connector is listed in there? It's probably looking for a JAR which isn't there. $ ls -al /usr/share/java/mysql* Wido On 09/13/2012 01:53 PM, Ahmad Saif wrote: > Hello Wido, > > I'm upgrading my old cloudstack, so it's already there .., I've also > checked the tomcat version and it's 6.0.24-45 > > [root@csm ~]# rpm -aq | grep -i mysql > perl-DBD-MySQL-4.013-3.el6.x86_64 > mysql-server-5.1.61-4.el6.x86_64 > mysql-5.1.61-4.el6.x86_64 > MySQL-python-1.2.3-0.3.c1.1.el6.x86_64 > mysql-connector-java-5.1.17-6.el6.noarch > mysql-libs-5.1.61-4.el6.x86_64 > > Any other suggestions ? > > Thanks > > On 09/13/2012 01:42 PM, Wido den Hollander wrote: >> Hi, >> >> On 09/13/2012 01:41 PM, Ahmad Saif wrote: >>> Hello there :) >>> >>> Today I've downloaded the last successful artifact form: >>> http://jenkins.cloudstack.org/job/build-cloudstack-4.0-rhel6.3/ >>> >>> I've tried to upgrade my existent 3.0.2 cloudstack setup, on the >>> management server after I've upgraded the packages and started the >>> management-server for the first time I encountered this issue : >>> >>> Unexpected exception: >>> java.sql.SQLException: No suitable driver found for >>> jdbc:mysql://localhost:3306/cloud?autoReconnect=true&prepStmtCacheSize=517&cachePrepStmts=true >>> >>> >> >> Do you have the mysql connector installed? It's no longer bundled with >> CS, but has to be installed seperate. >> >> Install the MySQL connector in /usr/share/java, that should be >> sufficient. >> >> Wido >> >>> The full log is attached to my message. >>> >>> Thanks >