cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Syed Ahmed <sah...@cloudops.com>
Subject Re: Annotations Exception
Date Tue, 14 Feb 2017 21:18:53 GMT
It's been happening to me recently as well Mike. I think there was some
commit after which the management server takes way too long to start
spending time scanning annotations.

On Tue, Feb 14, 2017 at 4:07 PM, Tutkowski, Mike <Mike.Tutkowski@netapp.com>
wrote:

> In case this happens to anyone else, here is how I solved it (maxWait
> parameter):
>
> mvn –pl client jetty:run –Dnoredist –Dorg.eclipse.jetty.
> annotations.maxWait=240
>
> On 2/14/17, 1:20 PM, "Tutkowski, Mike" <Mike.Tutkowski@netapp.com> wrote:
>
>     Hi,
>
>     Anyone know why I might be getting this exception starting up the
> management server (with master)?
>
>     java.lang.Exception: Timeout scanning annotations
>         at org.eclipse.jetty.annotations.AnnotationConfiguration.
> scanForAnnotations(AnnotationConfiguration.java:578)
>         at org.eclipse.jetty.annotations.AnnotationConfiguration.
> configure(AnnotationConfiguration.java:448)
>         at org.eclipse.jetty.webapp.WebAppContext.configure(
> WebAppContext.java:479)
>         at org.eclipse.jetty.webapp.WebAppContext.startContext(
> WebAppContext.java:1337)
>         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:133)
>         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(
> MojoExecutor.java:208)
>         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(
> MojoExecutor.java:153)
>         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(
> MojoExecutor.java:145)
>         at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.
> buildProject(LifecycleModuleBuilder.java:108)
>         at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.
> buildProject(LifecycleModuleBuilder.java:76)
>         at org.apache.maven.lifecycle.internal.builder.singlethreaded.
> SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
>         at org.apache.maven.lifecycle.internal.LifecycleStarter.
> execute(LifecycleStarter.java:116)
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:361)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155)
>         at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)
>         at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:213)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:157)
>         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)
>
>     Thanks!
>     Mike
>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message