Return-Path: X-Original-To: apmail-cloudstack-dev-archive@www.apache.org Delivered-To: apmail-cloudstack-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 953641014A for ; Tue, 28 Jan 2014 12:40:34 +0000 (UTC) Received: (qmail 85937 invoked by uid 500); 28 Jan 2014 12:40:33 -0000 Delivered-To: apmail-cloudstack-dev-archive@cloudstack.apache.org Received: (qmail 85912 invoked by uid 500); 28 Jan 2014 12:40:33 -0000 Mailing-List: contact dev-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 dev@cloudstack.apache.org Received: (qmail 85899 invoked by uid 99); 28 Jan 2014 12:40:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Jan 2014 12:40:31 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of alex.hitchins@shapeblue.com designates 213.199.154.15 as permitted sender) Received: from [213.199.154.15] (HELO emea01-am1-obe.outbound.protection.outlook.com) (213.199.154.15) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Jan 2014 12:40:26 +0000 Received: from DB3PR07MB028.eurprd07.prod.outlook.com (10.242.137.156) by DB3PR07MB025.eurprd07.prod.outlook.com (10.242.137.140) with Microsoft SMTP Server (TLS) id 15.0.868.8; Tue, 28 Jan 2014 12:40:02 +0000 Received: from DB3PR07MB028.eurprd07.prod.outlook.com ([169.254.1.97]) by DB3PR07MB028.eurprd07.prod.outlook.com ([169.254.1.97]) with mapi id 15.00.0859.020; Tue, 28 Jan 2014 12:40:02 +0000 From: Alex Hitchins To: "dev@cloudstack.apache.org" Subject: RE: Jetty on Windows Thread-Topic: Jetty on Windows Thread-Index: Ac8cFTybKW1uwtAiSpyAyiuWUM//ogAB4A+AAAJOeSA= Date: Tue, 28 Jan 2014 12:40:01 +0000 Message-ID: <8ec572dc8f0c4f14bd9adef94d681b00@DB3PR07MB028.eurprd07.prod.outlook.com> References: <2cee3dbb4f504542b9e6648c4be446c6@DB3PR07MB028.eurprd07.prod.outlook.com> <4863570C-EB91-4296-9C2F-2D91F9C8D92E@GMAIL.com> In-Reply-To: <4863570C-EB91-4296-9C2F-2D91F9C8D92E@GMAIL.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [109.144.143.48] x-forefront-prvs: 0105DAA385 x-forefront-antispam-report: SFV:NSPM;SFS:(10009001)(979002)(6009001)(13734003)(189002)(199002)(13464003)(51704005)(24454002)(69226001)(77096001)(46102001)(51856001)(93136001)(76576001)(87936001)(76786001)(76796001)(59766001)(79102001)(54356001)(76482001)(53806001)(74502001)(47446002)(77982001)(31966008)(74662001)(83072002)(85306002)(85806002)(87266001)(74366001)(90146001)(19580395003)(2656002)(92566001)(74316001)(56816005)(85852003)(83322001)(19580405001)(15395725003)(551934002)(54316002)(81686001)(81816001)(81342001)(80976001)(66066001)(74876001)(74706001)(93516002)(49866001)(47736001)(65816001)(80022001)(4396001)(56776001)(33646001)(81542001)(94316002)(47976001)(86362001)(63696002)(50986001)(24736002)(969003)(989001)(999001)(1009001)(1019001);DIR:OUT;SFP:1101;SCL:1;SRVR:DB3PR07MB025;H:DB3PR07MB028.eurprd07.prod.outlook.com;CLIP:109.144.143.48;FPR:E82FE12D.AAF657E4.F0F1B96B.40AC60A7.205F5;InfoNoRecordsMX:1;A:1;LANG:en; Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: shapeblue.com X-Virus-Checked: Checked by ClamAV on apache.org Rebuilt the database, now failing on a spring framework issue. Going to reb= uild all and try again. Alex Hitchins +44 7788 423 969 -----Original Message----- From: Trippie [mailto:trippie@gmail.com] On Behalf Of Hugo Trippaers Sent: 28 January 2014 11:33 To: dev Subject: Re: Jetty on Windows Hey Alex, Did you reinitialize the database prior to running the jetty target? Cheers, Hugo On 28 jan. 2014, at 11:42, Alex Hitchins wrot= e: > All, > > I'm successfully getting the UI to build and getting it to run on my wind= ows machine through Jetty. That said, I always get the following error from= the command line (at bottom of email). I notice it's a SQL issue regards t= o auto scaling - is this my configuration that's broken or is this a known = issue? > > ERROR [c.c.s.StatsCollector] (StatsCollector-2:ctx-752f7e49) Error > trying to mon itor autoscaling > com.cloud.utils.exception.CloudRuntimeException: DB Exception on: > com.mysql.jdbc > .JDBC4PreparedStatement@41c319ee: SELECT autoscale_vmgroups.id, > autoscale_vmgrou ps.uuid, autoscale_vmgroups.zone_id, > autoscale_vmgroups.domain_id, autoscale_vmg roups.account_id, > autoscale_vmgroups.load_balancer_id, autoscale_vmgroups.min_me mbers, > autoscale_vmgroups.max_members, autoscale_vmgroups.member_port, > autoscale _vmgroups.interval, autoscale_vmgroups.last_interval, autoscale= _vmgroups.profile _id, autoscale_vmgroups.removed, autoscale_vmgroups.creat= ed, autoscale_vmgroups. > state FROM autoscale_vmgroups WHERE autoscale_vmgroups.removed IS NULL > at > com.cloud.utils.db.GenericDaoBase.executeList(GenericDaoBase.java:112 > 4) > at com.cloud.utils.db.GenericDaoBase.listAll(GenericDaoBase.java:1= 147) > at com.cloud.utils.db.GenericDaoBase.listAll(GenericDaoBase.java:1= 133) > at sun.reflect.GeneratedMethodAccessor94.invoke(Unknown Source) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces > sorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:606) > at > org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflecti > on(AopUtils.java:317) > at > org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJo > inpoint(ReflectiveMethodInvocation.java:183) > at > org.springframework.aop.framework.ReflectiveMethodInvocation.proceed( > ReflectiveMethodInvocation.java:150) > at > com.cloud.utils.db.TransactionContextInterceptor.invoke(TransactionCo > ntextInterceptor.java:34) > at > org.springframework.aop.framework.ReflectiveMethodInvocation.proceed( > ReflectiveMethodInvocation.java:161) > at > org.springframework.aop.interceptor.ExposeInvocationInterceptor.invok > e(ExposeInvocationInterceptor.java:91) > at > org.springframework.aop.framework.ReflectiveMethodInvocation.proceed( > ReflectiveMethodInvocation.java:172) > at > org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynami > cAopProxy.java:204) > at com.sun.proxy.$Proxy235.listAll(Unknown Source) > at > com.cloud.server.StatsCollector$AutoScaleMonitor.runInContext(StatsCo > llector.java:649) > at > org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(Ma > nagedContextRunnable.java:49) > at > org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.ca > ll(DefaultManagedContext.java:56) > at > org.apache.cloudstack.managed.context.impl.DefaultManagedContext.call > WithContext(DefaultManagedContext.java:103) > at > org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runW > ithContext(DefaultManagedContext.java:53) > at > org.apache.cloudstack.managed.context.ManagedContextRunnable.run(Mana > gedContextRunnable.java:46) > at > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:47 > 1) > at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304= ) > at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutur= eTask. > access$301(ScheduledThreadPoolExecutor.java:178) > at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutur= eTask. > run(ScheduledThreadPoolExecutor.java:293) > at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExe= cutor. > java:1145) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor > .java:615) > at java.lang.Thread.run(Thread.java:744) > Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: > Unknown co lumn 'autoscale_vmgroups.last_interval' in 'field list' > at > sun.reflect.GeneratedConstructorAccessor89.newInstance(Unknown Source > ) > at > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC > onstructorAccessorImpl.java:45) > at java.lang.reflect.Constructor.newInstance(Constructor.java:526) > at com.mysql.jdbc.Util.handleNewInstance(Util.java:411) > at com.mysql.jdbc.Util.getInstance(Util.java:386) > at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1053) > at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4074) > at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4006) > at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2468) > at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2629) > at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2719) > at > com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.ja > va:2155) > at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement= .java: > 2318) > at > org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(Dele > gatingPreparedStatement.java:96) > at > org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(Dele > gatingPreparedStatement.java:96) > at > com.cloud.utils.db.GenericDaoBase.executeList(GenericDaoBase.java:111 > 8) > > > Regards, > > Alex Hitchins > ShapeBlue > > Need Enterprise Grade Support for Apache CloudStack? > Our CloudStack Infrastructure Support offers the best 24/7 SLA for CloudStack Environments. > > Apache CloudStack Bootcamp training courses > > **NEW!** CloudStack 4.2.1 > training > 18th-19th February 2014, Brazil. > Classroom > 17th-23rd March 2014, Region A. Instructor led, > On-line > 24th-28th March 2014, Region B. Instructor led, > On-line > 16th-20th June 2014, Region A. Instructor led, > On-line > 23rd-27th June 2014, Region B. Instructor led, > On-line > > This email and any attachments to it may be confidential and are intended= solely for the use of the individual to whom it is addressed. Any views or= opinions expressed are solely those of the author and do not necessarily r= epresent those of Shape Blue Ltd or related companies. If you are not the i= ntended recipient of this email, you must neither take any action based upo= n its contents, nor copy or show it to anyone. Please contact the sender if= you believe you have received this email in error. Shape Blue Ltd is a com= pany incorporated in England & Wales. ShapeBlue Services India LLP is a com= pany incorporated in India and is operated under license from Shape Blue Lt= d. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil a= nd is operated under license from Shape Blue Ltd. ShapeBlue is a registered= trademark. This email and any attachments to it may be confidential and are intended s= olely for the use of the individual to whom it is addressed. Any views or o= pinions expressed are solely those of the author and do not necessarily rep= resent those of Shape Blue Ltd or related companies. If you are not the int= ended recipient of this email, you must neither take any action based upon = its contents, nor copy or show it to anyone. Please contact the sender if y= ou believe you have received this email in error. Shape Blue Ltd is a compa= ny incorporated in England & Wales. ShapeBlue Services India LLP is a compa= ny incorporated in India and is operated under license from Shape Blue Ltd.= Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil and= is operated under license from Shape Blue Ltd. ShapeBlue is a registered t= rademark.