Right now I am able to perform "ant build-all deploy-server deploydb unittest"
Steps to resolve: ---------------------- 1) Install the latest mysql-connector to the desired location (untar it) wget http://dev.mysql.com/get/Downloads/Connector-J/mysql-connector-java-5.1.21.tar.gz/from/http://cdn.mysql.com/ (or) download it from desired means. 2) Set "export MYSQL_CONNECTOR=/path-of-your-download-mysql-java-connector/mysql-connector-java-5.1.21-bin.jar" in .bashrc or on any other profile file. Do not forget to source the same after setting it. 3) Apply this patch in ASF master which I have already sent. https://reviews.apache.org/r/6730/ 4) Permanently remove David Nalley's below change rather than commenting out. commit 16437df9bdb2fdc13f317c338262d433365fbfdc Author: David Nalley <da...@gnsa.us> Date: Mon Aug 20 14:19:37 2012 -0400 commenting out the copy statement for mysql-connector-java so the test doesn't break 5) Execute: "ant build-all deploy-server deploydb unittest" Please let me know if you see any further issues. Thanks Rajesh for your guidance... Thanks, Pradeep.S -----Original Message----- From: Alex Huang Sent: Tuesday, August 21, 2012 7:45 AM To: cloudstack-dev@incubator.apache.org Cc: Rajesh Battala; Pradeep Soundararajan Subject: RE: [ASFCS40] Help needed to resolve the mysql-connector blocker issue > -----Original Message----- > From: David Nalley [mailto:da...@gnsa.us] > Sent: Monday, August 20, 2012 7:12 PM > To: cloudstack-dev@incubator.apache.org > Cc: Rajesh Battala; Pradeep Soundararajan > Subject: Re: [ASFCS40] Help needed to resolve the mysql-connector > blocker issue > > On Mon, Aug 20, 2012 at 10:07 PM, Alex Huang <alex.hu...@citrix.com> > wrote: > > Dave, > > > > Without the actual library, those things will break. A lot of unit > > testing is > testing access to DB. Deploy db is more or less changes to mysql. > I'm not sure how you expect Rajesh and Pradeep to fix them. Any suggestions? > > > > --Alex > > > > So I haven't delved into it yet, I will - but I expected that having > mysql- connector-java installed locally would have solved that problem. > Perhaps a classpath issue, I don't know. I'll start looking as I have some > time. > To be clear, I do expect those types of problems if it isn't present, > but it is on my system and still not functioning. I think that's a good expectation. It means as long as the mysql jar is somewhere in the java classpath, it should just work. --Alex