Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 02831200D3D for ; Mon, 13 Nov 2017 20:17:07 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 00E0C160BF3; Mon, 13 Nov 2017 19:17:07 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id A6B02160BF0 for ; Mon, 13 Nov 2017 20:17:05 +0100 (CET) Received: (qmail 63281 invoked by uid 500); 13 Nov 2017 19:17:04 -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 63269 invoked by uid 99); 13 Nov 2017 19:17:04 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Nov 2017 19:17:04 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 761F3180830 for ; Mon, 13 Nov 2017 19:17:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.879 X-Spam-Level: * X-Spam-Status: No, score=1.879 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id UmaqsneGYxR7 for ; Mon, 13 Nov 2017 19:16:59 +0000 (UTC) Received: from mail-ot0-f180.google.com (mail-ot0-f180.google.com [74.125.82.180]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 0B3525FC64 for ; Mon, 13 Nov 2017 19:16:58 +0000 (UTC) Received: by mail-ot0-f180.google.com with SMTP id g104so2503586otg.7 for ; Mon, 13 Nov 2017 11:16:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=a63g9xnghnyve/GPMzphhTfiAQkx5L7WrVc8HhoNPdk=; b=Hf+niOzEso+EK2waz4cnjonwinRBRepsW5uWCq7c42dK7Owe2s4BtnDtgysJoyuhab 2eaJg65eolDwq5zlsCTMGfcy8RQYf27y8Bijp3+K6ZL4XhbnDyLVeqyTDolsRv79tNK9 nky1gt3+NmlqaAyx5JrFBGmcnOTeYUK84YeKwQITt/1x9OqChXy7VJ2hqs/VslsLcSKe Pfe3xm8EqXgs/wG5MH5wfW8qo5sbyQmddrLosWLWd6cb5e3GcdaMIHwqJI/ltj33RKq2 J44i8ErrST8u5RNtYsSU8/H0j+sUYH/AiRgItn9Imb1gpYVJkRhR4eFj/LZH6+4960HD kIpQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=a63g9xnghnyve/GPMzphhTfiAQkx5L7WrVc8HhoNPdk=; b=d7DhOVAP/huYe+0FWe9O3vh28ykuryvGK/7uBmNvJZE96n6sVpJwbit4paBg/MkUdm c/Qgddx9ucoz5jflvyOoxVyvhyy9/crjTx0UdxSAfrWIMQ7g4hiWOCg/S7jTGXphW2X3 LE8ATmvRd+/AkkZSJ3gCSaIHghmn1Mox1tBZLVXL/MnPVpDuNKs2+BACpLxQLktd/DJ7 hYnIm5NOvpMpSjPXO+eOwlrVoITyAd/sJHq1H1XOdWkqN1p0OuPioN8arxPZodHnxDwL b0r7LvvdXmuGYXKXlf9tcGScK57cv1lgimG2VqbRJTmpH3UL72qTKeDykqoqm4zhajJl pYXQ== X-Gm-Message-State: AJaThX7JpDVc+fTjkoCGOKNUv2UehCToUA94ESc1u8yO6KQx22YpV9CB W26MR1+IgOldG30fXMOu0oHM+4AoTyWo++QG13NXIw== X-Google-Smtp-Source: AGs4zMa3wM0BPzLPODbaxAhOmXDr+MWh6oBgmRQCjm/l2HwSXgkddy6ch4E8piDpNT+YlvQdc7QXKQpmPSPLn93lxPg= X-Received: by 10.157.34.200 with SMTP id y66mr5433649ota.276.1510600616555; Mon, 13 Nov 2017 11:16:56 -0800 (PST) MIME-Version: 1.0 Received: by 10.157.11.161 with HTTP; Mon, 13 Nov 2017 11:16:56 -0800 (PST) In-Reply-To: References: From: =?UTF-8?Q?Rafael_Weing=C3=A4rtner?= Date: Mon, 13 Nov 2017 17:16:56 -0200 Message-ID: Subject: Re: jetty simulator problem To: "dev@cloudstack.apache.org" Content-Type: multipart/alternative; boundary="94eb2c030a0a25bbcf055de21d4d" archived-at: Mon, 13 Nov 2017 19:17:07 -0000 --94eb2c030a0a25bbcf055de21d4d Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable The error changed! That is good... It is a misconfiguration with dependencies between modules. How are you running the simulator? On Mon, Nov 13, 2017 at 5:13 PM, Daan Hoogland wrote: > didn't work:( trying with only some parts removed now > > Caused by: org.springframework.beans.factory. > NoSuchBeanDefinitionException: > No qualifying bean of type > 'org.apache.cloudstack.engine.subsystem.api.storage.SnapshotService' > available: expected at least 1 bean which qualifies as autowire candidate= . > Dependency annotations: {@javax.inject.Inject()} > at > org.springframework.beans.factory.support.DefaultListableBeanFactory. > raiseNoMatchingBeanFound > (DefaultListableBeanFactory.java:1501) > > On Mon, Nov 13, 2017 at 7:27 PM, Rafael Weing=C3=A4rtner < > rafaelweingartner@gmail.com> wrote: > > > These beans declarations do not make much sense. They are declared twic= e, > > once in the XML (spring-engine-storage-snapshot-core-context.xml), and > the > > second declaration is executed through the use of annotations > (@Component) > > in those classes. This exception is happening because there is a > > configuration in the XML saying that one bean is depending on the other= . > > You can simply remove lines 30-40 from the XML file to fix this. > > > > > > > > Side note: Spring automatically build the chain of dependencies between > > beans to execute the dependency injection properly. The configuration > > "depends-on" you find in the XML "bean" element is to define an exotic > and > > not obvious dependency. > > > > > > On Mon, Nov 13, 2017 at 3:48 PM, Daan Hoogland > > wrote: > > > > > I'm looking at a problem, any one recognises this on master? simulato= r > > does > > > not start cleanly. > > > > > > [WARNING] Failed startup of context o.e.j.m.p.JettyWebAppContext@ > > 51de5efa > > > {/client,file:/Users/dahn/apache/cloudstack/client/ > > > target/classes/META-INF/webapp/,STARTING}{file:/Users/ > > > dahn/apache/cloudstack/client/target/classes/META-INF/webapp/} > > > org.springframework.beans.factory.BeanCreationException: Error > creating > > > bean with name 'snapshotDataFactoryImpl' defined in URL > > > [jar:file:/Users/dahn/.m2/repository/org/apache/ > cloudstack/cloud-engine- > > > storage-snapshot/4.11.0.0-SNAPSHOT/cloud-engine-storage- > > > snapshot-4.11.0.0-SNAPSHOT.jar!/META-INF/cloudstack/core/ > > > spring-engine-storage-snapshot-core-context.xml]: > > > Circular depends-on relationship between 'snapshotDataFactoryImpl' an= d > > > 'volumeDataFactoryImpl' > > > at > > > org.springframework.beans.factory.support. > AbstractBeanFactory.doGetBean > > > (AbstractBeanFactory.java:300) > > > at > > > org.springframework.beans.factory.support.AbstractBeanFactory.getBean > > > (AbstractBeanFactory.java:200) > > > at > > > org.springframework.beans.factory.support. > AbstractBeanFactory.doGetBean > > > (AbstractBeanFactory.java:304) > > > at > > > org.springframework.beans.factory.support.AbstractBeanFactory.getBean > > > (AbstractBeanFactory.java:200) > > > at > > > org.springframework.beans.factory.support.DefaultListableBeanFactory. > > > preInstantiateSingletons > > > (DefaultListableBeanFactory.java:756) > > > at > > > org.springframework.context.support.AbstractApplicationContext. > > > finishBeanFactoryInitialization > > > (AbstractApplicationContext.java:868) > > > at > > > org.springframework.context.support.AbstractApplicationContext.refres= h > > > (AbstractApplicationContext.java:549) > > > at > > > org.apache.cloudstack.spring.module.model.impl. > > DefaultModuleDefinitionSet. > > > loadContext > > > (DefaultModuleDefinitionSet.java:145) > > > at > > > org.apache.cloudstack.spring.module.model.impl. > > > DefaultModuleDefinitionSet$2.with > > > (DefaultModuleDefinitionSet.java:122) > > > at > > > org.apache.cloudstack.spring.module.model.impl. > > DefaultModuleDefinitionSet. > > > withModule > > > (DefaultModuleDefinitionSet.java:245) > > > at > > > org.apache.cloudstack.spring.module.model.impl. > > DefaultModuleDefinitionSet. > > > withModule > > > (DefaultModuleDefinitionSet.java:250) > > > at > > > org.apache.cloudstack.spring.module.model.impl. > > DefaultModuleDefinitionSet. > > > withModule > > > (DefaultModuleDefinitionSet.java:250) > > > at > > > org.apache.cloudstack.spring.module.model.impl. > > DefaultModuleDefinitionSet. > > > withModule > > > (DefaultModuleDefinitionSet.java:233) > > > at > > > org.apache.cloudstack.spring.module.model.impl. > > DefaultModuleDefinitionSet. > > > loadContexts > > > (DefaultModuleDefinitionSet.java:117) > > > at > > > org.apache.cloudstack.spring.module.model.impl. > > DefaultModuleDefinitionSet. > > > load > > > (DefaultModuleDefinitionSet.java:79) > > > at > > > org.apache.cloudstack.spring.module.factory.ModuleBasedContextFactory= . > > > loadModules > > > (ModuleBasedContextFactory.java:37) > > > at > > > org.apache.cloudstack.spring.module.factory. > CloudStackSpringContext.init > > > (CloudStackSpringContext.java:71) > > > at > > > org.apache.cloudstack.spring.module.factory. > > CloudStackSpringContext. > > > (CloudStackSpringContext.java:58) > > > at > > > org.apache.cloudstack.spring.module.factory. > > CloudStackSpringContext. > > > (CloudStackSpringContext.java:62) > > > at > > > org.apache.cloudstack.spring.module.web.CloudStackContextLoaderListen= e > > > r.contextInitialized > > > (CloudStackContextLoaderListener.java:52) > > > at > > > org.eclipse.jetty.server.handler.ContextHandler.callContextInitialize= d > > > (ContextHandler.java:800) > > > at > > > org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialize= d > > > (ServletContextHandler.java:444) > > > at org.eclipse.jetty.server.handler.ContextHandler.startContext > > > (ContextHandler.java:791) > > > at org.eclipse.jetty.servlet.ServletContextHandler.startContext > > > (ServletContextHandler.java:294) > > > at org.eclipse.jetty.webapp.WebAppContext.startWebapp > > > (WebAppContext.java:1349) > > > at org.eclipse.jetty.maven.plugin.JettyWebAppContext.startWebapp > > > (JettyWebAppContext.java:297) > > > at org.eclipse.jetty.webapp.WebAppContext.startContext > > > (WebAppContext.java:1342) > > > at org.eclipse.jetty.server.handler.ContextHandler.doStart > > > (ContextHandler.java:741) > > > at org.eclipse.jetty.webapp.WebAppContext.doStart > > > (WebAppContext.java:505) > > > at org.eclipse.jetty.maven.plugin.JettyWebAppContext.doStart > > > (JettyWebAppContext.java:366) > > > at org.eclipse.jetty.util.component.AbstractLifeCycle.start > > > (AbstractLifeCycle.java:68) > > > at org.eclipse.jetty.util.component.ContainerLifeCycle.start > > > (ContainerLifeCycle.java:132) > > > at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart > > > (ContainerLifeCycle.java:114) > > > at org.eclipse.jetty.server.handler.AbstractHandler.doStart > > > (AbstractHandler.java:61) > > > at org.eclipse.jetty.server.handler.ContextHandlerCollection. > doStart > > > (ContextHandlerCollection.java:163) > > > at org.eclipse.jetty.util.component.AbstractLifeCycle.start > > > (AbstractLifeCycle.java:68) > > > at org.eclipse.jetty.util.component.ContainerLifeCycle.start > > > (ContainerLifeCycle.java:132) > > > at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart > > > (ContainerLifeCycle.java:114) > > > at org.eclipse.jetty.server.handler.AbstractHandler.doStart > > > (AbstractHandler.java:61) > > > at org.eclipse.jetty.util.component.AbstractLifeCycle.start > > > (AbstractLifeCycle.java:68) > > > at org.eclipse.jetty.util.component.ContainerLifeCycle.start > > > (ContainerLifeCycle.java:132) > > > at org.eclipse.jetty.server.Server.start (Server.java:387) > > > at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart > > > (ContainerLifeCycle.java:114) > > > at org.eclipse.jetty.server.handler.AbstractHandler.doStart > > > (AbstractHandler.java:61) > > > at org.eclipse.jetty.server.Server.doStart (Server.java:354) > > > at org.eclipse.jetty.maven.plugin.JettyServer.doStart > > > (JettyServer.java:73) > > > at org.eclipse.jetty.util.component.AbstractLifeCycle.start > > > (AbstractLifeCycle.java:68) > > > at org.eclipse.jetty.maven.plugin.AbstractJettyMojo.startJetty > > > (AbstractJettyMojo.java:535) > > > at org.eclipse.jetty.maven.plugin.AbstractJettyMojo.execute > > > (AbstractJettyMojo.java:358) > > > at org.eclipse.jetty.maven.plugin.JettyRunMojo.execute > > > (JettyRunMojo.java:167) > > > at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo > > > (DefaultBuildPluginManager.java:134) > > > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > > > (MojoExecutor.java:208) > > > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > > > (MojoExecutor.java:154) > > > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > > > (MojoExecutor.java:146) > > > at > > > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder. > buildProject > > > (LifecycleModuleBuilder.java:117) > > > at > > > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder. > buildProject > > > (LifecycleModuleBuilder.java:81) > > > at > > > org.apache.maven.lifecycle.internal.builder.singlethreaded. > > > SingleThreadedBuilder.build > > > (SingleThreadedBuilder.java:51) > > > at org.apache.maven.lifecycle.internal.LifecycleStarter.execute > > > (LifecycleStarter.java:128) > > > at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:309= ) > > > at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:194= ) > > > at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:107) > > > at org.apache.maven.cli.MavenCli.execute (MavenCli.java:955) > > > at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:290) > > > at org.apache.maven.cli.MavenCli.main (MavenCli.java:194) > > > at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) > > > at sun.reflect.NativeMethodAccessorImpl.invoke > > > (NativeMethodAccessorImpl.java:62) > > > at sun.reflect.DelegatingMethodAccessorImpl.invoke > > > (DelegatingMethodAccessorImpl.java:43) > > > at java.lang.reflect.Method.invoke (Method.java:498) > > > at org.codehaus.plexus.classworlds.launcher.Launcher. > launchEnhanced > > > (Launcher.java:289) > > > at org.codehaus.plexus.classworlds.launcher.Launcher.launch > > > (Launcher.java:229) > > > at org.codehaus.plexus.classworlds.launcher.Launcher. > > mainWithExitCode > > > (Launcher.java:415) > > > at org.codehaus.plexus.classworlds.launcher.Launcher.main > > > (Launcher.java:356) > > > [WARNING] !RequestLog > > > > > > > > > -- > > > Daan > > > > > > > > > > > -- > > Rafael Weing=C3=A4rtner > > > > > > -- > Daan > --=20 Rafael Weing=C3=A4rtner --94eb2c030a0a25bbcf055de21d4d--