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 61685D0AE for ; Tue, 6 Nov 2012 16:22:22 +0000 (UTC) Received: (qmail 40171 invoked by uid 500); 6 Nov 2012 16:22:22 -0000 Delivered-To: apmail-incubator-cloudstack-dev-archive@incubator.apache.org Received: (qmail 40140 invoked by uid 500); 6 Nov 2012 16:22:21 -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 40110 invoked by uid 99); 6 Nov 2012 16:22:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Nov 2012 16:22:20 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW X-Spam-Check-By: apache.org Received-SPF: unknown ~allinclude:aspmx.googlemail.com (athena.apache.org: encountered unrecognized mechanism during SPF processing of domain of jburwell@basho.com) Received: from [209.85.216.175] (HELO mail-qc0-f175.google.com) (209.85.216.175) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Nov 2012 16:22:15 +0000 Received: by mail-qc0-f175.google.com with SMTP id j3so370231qcs.6 for ; Tue, 06 Nov 2012 08:21:54 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer :x-gm-message-state; bh=2bTZf8mYhn2OKycFtTvqBw+cttBMyE7daejjZC49CyM=; b=AcCIYsRn/+MfkbuDoLBxEIHSv1LNz9NjTQsEeD8ADvFbaw6yy6KmL/8wGDZtlcJXFR L9m1FX0gpDYVComnQjt86UgOqTthhticSF1m0MweBmj8K0ShWyV0Q07q6XgdrvdMioeI 9GvWLJAiuWxGZCnvB/+71WKKU5bHlQNAeYsl02I57kxMv8KAITiGcc9jnJ8N8DB1Jp7y NcVWY1Hvrg7UvZkkIhB39PU84tJnLI3d8Iz0Az5g27WvsNsJKkezQRxj4BvC4ehqjSAb JZojcRuZW54/HSE45qAG66x41NVkNnSqHR/rgRKfq/X/8M1B1Lm17mZwxbzeLw4CQof8 X4Bg== Received: by 10.224.60.6 with SMTP id n6mr2343130qah.62.1352218914372; Tue, 06 Nov 2012 08:21:54 -0800 (PST) Received: from [10.0.8.31] (wsip-68-225-89-79.dc.dc.cox.net. [68.225.89.79]) by mx.google.com with ESMTPS id hw8sm12340782qab.9.2012.11.06.08.21.52 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 06 Nov 2012 08:21:53 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 6.0 \(1486\)) Subject: Re: Package Build Procedure From: John Burwell In-Reply-To: Date: Tue, 6 Nov 2012 11:21:53 -0500 Content-Transfer-Encoding: quoted-printable Message-Id: <9D836955-EAD9-4A46-AC90-5584AAB94BDC@basho.com> References: To: cloudstack-dev@incubator.apache.org X-Mailer: Apple Mail (2.1486) X-Gm-Message-State: ALoCoQnErz+xYKoHY/Bf8h2Sqe0wFBM9B5HeLJGQrLFFnUvlinjVMi5JcuU+9EDBIRkIvIkTab2f X-Virus-Checked: Checked by ClamAV on apache.org Chiradeep, The URL below yields a 404. Could you please resend? Thanks for your help, -John On Nov 5, 2012, at 5:04 PM, Chiradeep Vittal = wrote: > http://s.apache.org/me > "Avoid tomcat6.0.35 (java.sql.SQLException: No suitable driver" >=20 > On 11/5/12 12:15 PM, "John Burwell" wrote: >=20 >> All, >>=20 >> As part of further debugging attempts, I have run CloudStack under = the >> Sun JDK, as well as, re-verified that I can connect to the MySQL = database >> from the command line of the machine running CloudStack. I also = found >> this defect and placed the mysql-connector jar per its instructions = with >> no success. Is anyone experiencing this issue when deploying only = the >> WAR into Tomcat 6.0.35? >>=20 >> Thank you for your help, >> -John >>=20 >> On Nov 2, 2012, at 3:12 PM, John Burwell wrote: >>=20 >>> Edison, >>>=20 >>> I have been working to implement this workaround in our integration >>> environment. However, when I deploy the WAR and start Tomcat, I am >>> getting the following stack trace indicating the JDBC can not find = the >>> MySQL driver: >>>=20 >>> INFO [cloud.upgrade.DatabaseIntegrityChecker] (main:) Grabbing lock = to >>> check for database integrity. >>> ERROR [db.Transaction.Transaction] (main:) Unexpected exception: >>> java.sql.SQLException: No suitable driver found for >>> = jdbc:mysql://192.168.123.200:3306/cloud?autoReconnect=3Dtrue&prepStmtCache= S >>> ize=3D517&cachePrepStmts=3Dtrue >>> at = java.sql.DriverManager.getConnection(DriverManager.java:640) >>> at = java.sql.DriverManager.getConnection(DriverManager.java:200) >>> at=20 >>> = org.apache.commons.dbcp.DriverManagerConnectionFactory.createConnection(D >>> riverManagerConnectionFactory.java:75) >>> at=20 >>> = org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConn >>> ectionFactory.java:582) >>> at=20 >>> = org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObject >>> Pool.java:1188) >>> at=20 >>> = org.apache.commons.dbcp.PoolingDataSource.getConnection(PoolingDataSource >>> .java:106) >>> at=20 >>> = com.cloud.utils.db.Transaction.getStandaloneConnectionWithException(Trans >>> action.java:200) >>> at=20 >>> = com.cloud.utils.db.Transaction.getStandaloneConnection(Transaction.java:2 >>> 09) >>> at=20 >>> = com.cloud.utils.db.DbUtil.getConnectionForGlobalLocks(DbUtil.java:58) >>> at com.cloud.utils.db.DbUtil.getGlobalLock(DbUtil.java:203) >>> at com.cloud.utils.db.GlobalLock.lock(GlobalLock.java:159) >>> at=20 >>> = com.cloud.upgrade.DatabaseIntegrityChecker.check(DatabaseIntegrityChecker >>> .java:228) >>> at=20 >>> = com.cloud.utils.component.ComponentLocator.runCheckers(ComponentLocator.j >>> ava:304) >>> at=20 >>> = com.cloud.utils.component.ComponentLocator.parse(ComponentLocator.java:27 >>> 6) >>> at=20 >>> = com.cloud.utils.component.ComponentLocator.getLocatorInternal(ComponentLo >>> cator.java:867) >>> at=20 >>> = com.cloud.utils.component.ComponentLocator.getLocator(ComponentLocator.ja >>> va:905) >>> at=20 >>> = com.cloud.utils.component.ComponentLocator.getComponent(ComponentLocator. >>> java:447) >>> at=20 >>> = com.cloud.utils.component.ComponentLocator.getComponent(ComponentLocator. >>> java:440) >>> at=20 >>> = com.cloud.servlet.CloudStartupServlet.init(CloudStartupServlet.java:44) >>> at javax.servlet.GenericServlet.init(GenericServlet.java:212) >>> at=20 >>> = org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java >>> :1206) >>> at=20 >>> = org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1026) >>> at=20 >>> = org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.ja >>> va:4421) >>> at=20 >>> = org.apache.catalina.core.StandardContext.start(StandardContext.java:4734) >>> at=20 >>> = org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.jav >>> a:799) >>> at=20 >>> = org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779) >>> at=20 >>> = org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601) >>> at=20 >>> = org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:943) >>> at=20 >>> = org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:778) >>> at=20 >>> = org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:504) >>> at=20 >>> org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317) >>> at=20 >>> = org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324 >>> ) >>> at=20 >>> = org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSup >>> port.java:142) >>> at=20 >>> = org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065) >>> at=20 >>> org.apache.catalina.core.StandardHost.start(StandardHost.java:840) >>> at=20 >>> = org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057) >>> at=20 >>> = org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463) >>> at=20 >>> = org.apache.catalina.core.StandardService.start(StandardService.java:525) >>> at=20 >>> = org.apache.catalina.core.StandardServer.start(StandardServer.java:754) >>> at = org.apache.catalina.startup.Catalina.start(Catalina.java:595) >>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native = Method) >>> at=20 >>> = sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java >>> :57) >>> at=20 >>> = sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI >>> mpl.java:43) >>> at java.lang.reflect.Method.invoke(Method.java:616) >>> at=20 >>> org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289) >>> at=20 >>> org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414) >>> ERROR [utils.db.DbUtil] (main:) Unable to acquire DB connection for >>> global lock system >>>=20 >>> I have tried moving the mysql JAR from the WEB-INF/lib directory to >>> Tomcat's lib directory with no success. I have also tried replacing = the >>> mysql-connector-java-5.1.7.jar with the >>> cloud-mysql-connector-java-5.1.7.jar from devcloud also with no = success. >>> The following is the deployment environment version information: >>>=20 >>> Ubuntu 12.04.1 >>> Tomcat 6.0.35 (installed via the Ubuntu tomcat6 package) >>> OpenJDK 6 (OpenJDK Runtime Environment (IcedTea6 1.11.5) >>> (6b24-1.11.5-0ubuntu1~12.04.1)) >>>=20 >>> Also, for your reference, I have attached the catalina.out and >>> vmops.log logs. >>>=20 >>> Thank you for your assistance, >>> -John >>>=20 >>> >>> >>>=20 >>> On Oct 29, 2012, at 4:46 PM, Edison Su wrote: >>>=20 >>>> People are planning to work on the deb >>>> build(http://markmail.org/message/lsjigqvnbkjtbl4y), don't know the >>>> status though. >>>> For current master, the shortest cut is using >>>> = WAR(~/.m2/repository/org/apache/cloudstack/cloud-client-ui/4.1.0-SNAPSHO >>>> T/cloud-client-ui-4.1.0-SNAPSHOT.war) >>>>=20 >>>>> -----Original Message----- >>>>> From: John Burwell [mailto:jburwell@basho.com] >>>>> Sent: Monday, October 29, 2012 1:18 PM >>>>> To: cloudstack-dev@incubator.apache.org >>>>> Subject: Re: Package Build Procedure >>>>>=20 >>>>> Edison, >>>>>=20 >>>>> Is there an ETA for landing those changes into master? Also, how = do >>>>> you >>>>> recommend packaging current master for deployment into an = integration >>>>> test environment? We working under the (false) assumption that >>>>> building >>>>> Debian packages would be the shortest path. >>>>>=20 >>>>> Thanks, >>>>> -John >>>>>=20 >>>>> On Oct 29, 2012, at 4:11 PM, Edison Su = wrote: >>>>>=20 >>>>>> Packaging doesn't work on master branch, this is a known issue, >>>>>> unless we >>>>> merged hugo's maven-to-rpm branch into master. >>>>>>=20 >>>>>>> -----Original Message----- >>>>>>> From: Rohit Yadav [mailto:rohit.yadav@citrix.com] >>>>>>> Sent: Monday, October 29, 2012 1:01 PM >>>>>>> To: cloudstack-dev@incubator.apache.org >>>>>>> Subject: RE: Package Build Procedure >>>>>>>=20 >>>>>>> Edison, building not much problem as packaging, from what I = follow >>>>>>> John is trying to do dpkg-buildpackage which fails. >>>>>>> Updates, progress on packaging, rpm, debian? >>>>>>> ________________________________________ >>>>>>> From: Edison Su [Edison.su@citrix.com] >>>>>>> Sent: Tuesday, October 30, 2012 1:27 AM >>>>>>> To: cloudstack-dev@incubator.apache.org >>>>>>> Subject: RE: Package Build Procedure >>>>>>>=20 >>>>>>> Are you using the latest master or can you try it on latest >>>>>>> master(HEAD: >>>>>>> a2d50c7e43f7e7fe1493972646c6f776af9d8143)? >>>>>>> The build works for me: mvn clean install -P developer >>>>>>>=20 >>>>>>>> -----Original Message----- >>>>>>>> From: John Burwell [mailto:jburwell@basho.com] >>>>>>>> Sent: Monday, October 29, 2012 11:37 AM >>>>>>>> To: cloudstack-dev@incubator.apache.org >>>>>>>> Subject: Re: Package Build Procedure >>>>>>>>=20 >>>>>>>> Edison and Rohit, >>>>>>>>=20 >>>>>>>> Attached is the output mvm -X -P developer -pl tools/apidoc. >>>>>>>>=20 >>>>>>>> Thank you for your help, >>>>>>>> -John >>>>>>=20 >>>>=20 >>>=20 >>=20 >=20