更新后声纳损坏:"The plugins 'findbugs' and 'java' must have exactly the same version as they belong to



自从我升级到最新版本(通过apt-get升级)以来,ubuntu 12.1上的声纳实例就坏了。Web UI 不可访问,并返回 503:

HTTP ERROR: 503
Problem accessing /. Reason:
    Service Unavailable
Powered by Jetty://

这是错误日志:

STATUS | wrapper  | 2013/10/24 08:56:11 | --> Wrapper Started as Daemon
STATUS | wrapper  | 2013/10/24 08:56:11 | Launching a JVM...
INFO   | jvm 1    | 2013/10/24 08:56:12 | Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
INFO   | jvm 1    | 2013/10/24 08:56:12 |   Copyright 1999-2006 Tanuki Software, Inc.  All Rights Reserved.
INFO   | jvm 1    | 2013/10/24 08:56:12 | 
INFO   | jvm 1    | 2013/10/24 08:56:12 | 2013-10-24 08:56:12.314:INFO:oejs.Server:jetty-7.6.11.v20130520
2013.10.24 08:56:14 INFO  o.s.s.p.ServerImpl  SonarQube Server / 3.7.3 / b241d9e47bbe7694cbe7574817240cef214fd316
2013.10.24 08:56:14 INFO  o.s.c.p.Database  Create JDBC datasource for jdbc:mysql://127.0.0.1:3306/sonar?useUnicode=true&characterEncoding=utf8&rewriteBatchedStatements=true
2013.10.24 08:56:16 INFO  o.s.s.p.DefaultServerFileSystem  SonarQube home: /opt/sonar
2013.10.24 08:56:16 INFO  o.s.s.p.DefaultServerFileSystem  Deploy dir: /opt/sonar/war/sonar-server/deploy
2013.10.24 08:56:16 INFO  org.sonar.INFO  Install plugins...
2013.10.24 08:56:16 INFO  o.s.s.p.PluginDeployer  Deploy plugin Findbugs / 1.3 / 4d7d78e9340e39f53bbf202ed16d1253e6507c36
2013.10.24 08:56:16 INFO  o.s.s.p.PluginDeployer  Deploy plugin JaCoCo / 1.4 / a4f903a3386ed8611cfd2cb9ef4d8e60ca32bff1
2013.10.24 08:56:16 INFO  o.s.s.p.PluginDeployer  Deploy plugin English Pack / 3.7.3 / b241d9e47bbe7694cbe7574817240cef214fd316
2013.10.24 08:56:16 INFO  o.s.s.p.PluginDeployer  Deploy plugin SCM Activity / 1.6 / 98fb6ca20f0829d6ead2ab029221ddd781b6e971
2013.10.24 08:56:16 INFO  o.s.s.p.PluginDeployer  Deploy plugin Maven Batch Plugin / 3.7.3 / b241d9e47bbe7694cbe7574817240cef214fd316
2013.10.24 08:56:16 INFO  o.s.s.p.PluginDeployer  Deploy plugin Surefire / 1.4 / a4f903a3386ed8611cfd2cb9ef4d8e60ca32bff1
2013.10.24 08:56:16 INFO  o.s.s.p.PluginDeployer  Deploy plugin Duplications / 3.7.3 / b241d9e47bbe7694cbe7574817240cef214fd316
2013.10.24 08:56:16 INFO  o.s.s.p.PluginDeployer  Deploy plugin Checkstyle / 1.4 / a4f903a3386ed8611cfd2cb9ef4d8e60ca32bff1
2013.10.24 08:56:16 INFO  o.s.s.p.PluginDeployer  Deploy plugin PMD / 1.4 / a4f903a3386ed8611cfd2cb9ef4d8e60ca32bff1
2013.10.24 08:56:16 INFO  o.s.s.p.PluginDeployer  Deploy plugin Java / 1.4 / a4f903a3386ed8611cfd2cb9ef4d8e60ca32bff1
2013.10.24 08:56:16 INFO  o.s.s.p.PluginDeployer  Deploy plugin Core / 3.7.3 / b241d9e47bbe7694cbe7574817240cef214fd316
2013.10.24 08:56:16 INFO  o.s.s.p.PluginDeployer  Deploy plugin Database Cleaner / 3.7.3 / b241d9e47bbe7694cbe7574817240cef214fd316
2013.10.24 08:56:16 INFO  o.s.s.p.PluginDeployer  Deploy plugin Technical Debt / 1.2.1
2013.10.24 08:56:16 INFO  o.s.s.p.PluginDeployer  Deploy plugin Squid for Java / 1.3 / 4d7d78e9340e39f53bbf202ed16d1253e6507c36
2013.10.24 08:56:16 INFO  o.s.s.p.PluginDeployer  Deploy plugin Design / 3.7.3 / b241d9e47bbe7694cbe7574817240cef214fd316
2013.10.24 08:56:16 INFO  o.s.s.p.PluginDeployer  Deploy plugin Email notifications / 3.7.3 / b241d9e47bbe7694cbe7574817240cef214fd316
2013.10.24 08:56:16 INFO  org.sonar.INFO  Install plugins done: 264 ms
2013.10.24 08:56:16 ERROR o.s.s.p.Platform  The plugins 'findbugs' and 'java' must have exactly the same version as they belong to the same group.
org.sonar.updatecenter.common.exception.IncompatiblePluginVersionException: The plugins 'findbugs' and 'java' must have exactly the same version as they belong to the same group.
    at org.sonar.updatecenter.common.PluginReferential.getParentRelease(PluginReferential.java:132) ~[sonar-update-center-common-1.8.jar:na]
    at org.sonar.updatecenter.common.PluginReferential.setParent(PluginReferential.java:120) ~[sonar-update-center-common-1.8.jar:na]
    at org.sonar.updatecenter.common.PluginReferentialManifestConverter.fromPluginManifests(PluginReferentialManifestConverter.java:54) ~[sonar-update-center-common-1.8.jar:na]
    at org.sonar.server.plugins.PluginReferentialMetadataConverter.getInstalledPluginReferential(PluginReferentialMetadataConverter.java:40) ~[classes/:na]
    at org.sonar.server.plugins.InstalledPluginReferentialFactory.init(InstalledPluginReferentialFactory.java:48) ~[classes/:na]
    at org.sonar.server.plugins.InstalledPluginReferentialFactory.start(InstalledPluginReferentialFactory.java:37) ~[classes/:na]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.6.0_27]
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.6.0_27]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.6.0_27]
    at java.lang.reflect.Method.invoke(Method.java:616) ~[na:1.6.0_27]
    at org.picocontainer.lifecycle.ReflectionLifecycleStrategy.invokeMethod(ReflectionLifecycleStrategy.java:110) ~[picocontainer-2.14.3.jar:na]
    at org.picocontainer.lifecycle.ReflectionLifecycleStrategy.start(ReflectionLifecycleStrategy.java:89) ~[picocontainer-2.14.3.jar:na]
    at org.picocontainer.injectors.AbstractInjectionFactory$LifecycleAdapter.start(AbstractInjectionFactory.java:84) ~[picocontainer-2.14.3.jar:na]
    at org.picocontainer.behaviors.AbstractBehavior.start(AbstractBehavior.java:169) ~[picocontainer-2.14.3.jar:na]
    at org.picocontainer.behaviors.Stored$RealComponentLifecycle.start(Stored.java:132) ~[picocontainer-2.14.3.jar:na]
    at org.picocontainer.behaviors.Stored.start(Stored.java:110) ~[picocontainer-2.14.3.jar:na]
    at org.picocontainer.DefaultPicoContainer.potentiallyStartAdapter(DefaultPicoContainer.java:1015) ~[picocontainer-2.14.3.jar:na]
    at org.picocontainer.DefaultPicoContainer.startAdapters(DefaultPicoContainer.java:1008) ~[picocontainer-2.14.3.jar:na]
    at org.picocontainer.DefaultPicoContainer.start(DefaultPicoContainer.java:766) ~[picocontainer-2.14.3.jar:na]
    at org.sonar.api.platform.ComponentContainer.startComponents(ComponentContainer.java:91) ~[sonar-plugin-api-3.7.3.jar:na]
    at org.sonar.server.platform.Platform.startDatabaseConnectors(Platform.java:251) ~[classes/:na]
    at org.sonar.server.platform.Platform.init(Platform.java:189) ~[classes/:na]
    at org.sonar.server.platform.PlatformLifecycleListener.contextInitialized(PlatformLifecycleListener.java:33) [classes/:na]
    at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:746) [jetty-server-7.6.11.v20130520.jar:7.6.11.v20130520]
    at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:238) [jetty-servlet-7.6.11.v20130520.jar:7.6.11.v20130520]
    at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1240) [jetty-webapp-7.6.11.v20130520.jar:7.6.11.v20130520]
    at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:689) [jetty-server-7.6.11.v20130520.jar:7.6.11.v20130520]
    at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:482) [jetty-webapp-7.6.11.v20130520.jar:7.6.11.v20130520]
    at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) [jetty-util-7.6.11.v20130520.jar:7.6.11.v20130520]
    at org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229) [jetty-server-7.6.11.v20130520.jar:7.6.11.v20130520]
    at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) [jetty-util-7.6.11.v20130520.jar:7.6.11.v20130520]
    at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95) [jetty-server-7.6.11.v20130520.jar:7.6.11.v20130520]
    at org.eclipse.jetty.server.Server.doStart(Server.java:281) [jetty-server-7.6.11.v20130520.jar:7.6.11.v20130520]
    at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) [jetty-util-7.6.11.v20130520.jar:7.6.11.v20130520]
    at org.sonar.application.JettyEmbedder.start(JettyEmbedder.java:67) [sonar-application-3.7.3.jar:na]
    at org.sonar.application.StartServer.main(StartServer.java:48) [sonar-application-3.7.3.jar:na]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.6.0_27]
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.6.0_27]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.6.0_27]
    at java.lang.reflect.Method.invoke(Method.java:616) ~[na:1.6.0_27]
    at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240) [wrapper-3.2.3.jar:3.2.3]
    at java.lang.Thread.run(Thread.java:679) [na:1.6.0_27]
Caused by: java.util.NoSuchElementException: null
    at org.sonar.updatecenter.common.Artifact.getRelease(Artifact.java:68) ~[sonar-update-center-common-1.8.jar:na]
    at org.sonar.updatecenter.common.PluginReferential.getParentRelease(PluginReferential.java:130) ~[sonar-update-center-common-1.8.jar:na]
    ... 41 common frames omitted
INFO   | jvm 1    | 2013/10/24 08:56:16 | 2013-10-24 08:56:16.508:WARN:oejw.WebAppContext:Failed startup of context o.e.j.w.WebAppContext{/,file:/opt/sonar/war/sonar-server/},file:/opt/sonar/war/sonar-server
INFO   | jvm 1    | 2013/10/24 08:56:16 | org.sonar.updatecenter.common.exception.IncompatiblePluginVersionException: The plugins 'findbugs' and 'java' must have exactly the same version as they belong to the same group.
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.sonar.updatecenter.common.PluginReferential.getParentRelease(PluginReferential.java:132)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.sonar.updatecenter.common.PluginReferential.setParent(PluginReferential.java:120)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.sonar.updatecenter.common.PluginReferentialManifestConverter.fromPluginManifests(PluginReferentialManifestConverter.java:54)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.sonar.server.plugins.PluginReferentialMetadataConverter.getInstalledPluginReferential(PluginReferentialMetadataConverter.java:40)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.sonar.server.plugins.InstalledPluginReferentialFactory.init(InstalledPluginReferentialFactory.java:48)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.sonar.server.plugins.InstalledPluginReferentialFactory.start(InstalledPluginReferentialFactory.java:37)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at java.lang.reflect.Method.invoke(Method.java:616)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.picocontainer.lifecycle.ReflectionLifecycleStrategy.invokeMethod(ReflectionLifecycleStrategy.java:110)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.picocontainer.lifecycle.ReflectionLifecycleStrategy.start(ReflectionLifecycleStrategy.java:89)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.picocontainer.injectors.AbstractInjectionFactory$LifecycleAdapter.start(AbstractInjectionFactory.java:84)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.picocontainer.behaviors.AbstractBehavior.start(AbstractBehavior.java:169)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.picocontainer.behaviors.Stored$RealComponentLifecycle.start(Stored.java:132)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.picocontainer.behaviors.Stored.start(Stored.java:110)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.picocontainer.DefaultPicoContainer.potentiallyStartAdapter(DefaultPicoContainer.java:1015)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.picocontainer.DefaultPicoContainer.startAdapters(DefaultPicoContainer.java:1008)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.picocontainer.DefaultPicoContainer.start(DefaultPicoContainer.java:766)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.sonar.api.platform.ComponentContainer.startComponents(ComponentContainer.java:91)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.sonar.server.platform.Platform.startDatabaseConnectors(Platform.java:251)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.sonar.server.platform.Platform.init(Platform.java:189)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.sonar.server.platform.PlatformLifecycleListener.contextInitialized(PlatformLifecycleListener.java:33)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:746)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:238)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1240)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:689)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:482)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.eclipse.jetty.server.Server.doStart(Server.java:281)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.sonar.application.JettyEmbedder.start(JettyEmbedder.java:67)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.sonar.application.StartServer.main(StartServer.java:48)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at java.lang.reflect.Method.invoke(Method.java:616)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at java.lang.Thread.run(Thread.java:679)
INFO   | jvm 1    | 2013/10/24 08:56:16 | Caused by: 
INFO   | jvm 1    | 2013/10/24 08:56:16 | java.util.NoSuchElementException
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.sonar.updatecenter.common.Artifact.getRelease(Artifact.java:68)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.sonar.updatecenter.common.PluginReferential.getParentRelease(PluginReferential.java:130)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.sonar.updatecenter.common.PluginReferential.setParent(PluginReferential.java:120)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.sonar.updatecenter.common.PluginReferentialManifestConverter.fromPluginManifests(PluginReferentialManifestConverter.java:54)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.sonar.server.plugins.PluginReferentialMetadataConverter.getInstalledPluginReferential(PluginReferentialMetadataConverter.java:40)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.sonar.server.plugins.InstalledPluginReferentialFactory.init(InstalledPluginReferentialFactory.java:48)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.sonar.server.plugins.InstalledPluginReferentialFactory.start(InstalledPluginReferentialFactory.java:37)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at java.lang.reflect.Method.invoke(Method.java:616)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.picocontainer.lifecycle.ReflectionLifecycleStrategy.invokeMethod(ReflectionLifecycleStrategy.java:110)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.picocontainer.lifecycle.ReflectionLifecycleStrategy.start(ReflectionLifecycleStrategy.java:89)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.picocontainer.injectors.AbstractInjectionFactory$LifecycleAdapter.start(AbstractInjectionFactory.java:84)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.picocontainer.behaviors.AbstractBehavior.start(AbstractBehavior.java:169)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.picocontainer.behaviors.Stored$RealComponentLifecycle.start(Stored.java:132)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.picocontainer.behaviors.Stored.start(Stored.java:110)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.picocontainer.DefaultPicoContainer.potentiallyStartAdapter(DefaultPicoContainer.java:1015)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.picocontainer.DefaultPicoContainer.startAdapters(DefaultPicoContainer.java:1008)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.picocontainer.DefaultPicoContainer.start(DefaultPicoContainer.java:766)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.sonar.api.platform.ComponentContainer.startComponents(ComponentContainer.java:91)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.sonar.server.platform.Platform.startDatabaseConnectors(Platform.java:251)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.sonar.server.platform.Platform.init(Platform.java:189)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.sonar.server.platform.PlatformLifecycleListener.contextInitialized(PlatformLifecycleListener.java:33)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:746)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:238)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1240)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:689)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:482)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.eclipse.jetty.server.Server.doStart(Server.java:281)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.sonar.application.JettyEmbedder.start(JettyEmbedder.java:67)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.sonar.application.StartServer.main(StartServer.java:48)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at java.lang.reflect.Method.invoke(Method.java:616)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at java.lang.Thread.run(Thread.java:679)
INFO   | jvm 1    | 2013/10/24 08:56:16 | 2013-10-24 08:56:16.533:INFO:oejs.AbstractConnector:Started SelectChannelConnector@0.0.0.0:9000

我尝试过:

将插件文件夹中的软件包更新到声纳生态系统的最新软件包,不,它们都是声纳-*-1.4.jar

如何在不访问声纳的情况下更新查找错误和 java 插件?

更新后

/opt/sonar/extensions/plugins

目录包含来自 SonarEcosystem 的 jar,确保权限正确,就我而言:

ls -lsa
44 -rw-r--r-- 1 sonar adm   44212 Oct 24 09:34 sonar-java-plugin-1.4.jar

重新启动时,请确保等到 Sonar 启动:

 tail -f /opt/sonar/logs/sonar.log

按照插件文档中粗体的说明进行操作:

升级到 2.4

无法自动升级到 2.4 版本 2.4 将Java从多个插件的"生态系统"转变为单个插件, 独立插件,包含以前大部分功能 包含在生态系统中。具体来说,鱿鱼,Surefire和Jacoco 已被卷入 Java 插件。查找虫已被拆分 变成一个独立的可选插件。要继续使用它,请升级它 到 2.4 版。不幸的是,SonarQube的更新中心无法处理 优雅地切换。您可以使用更新中心下载 插件的新版本。但是,您必须手动删除 Surefire、JaCoCo 和 Squid for Java 插件 从$SONARQUBE_HOME/扩展/插件。

rm /opt/sonar/extensions/plugins/sonar-surefire-plugin-*
rm /opt/sonar/extensions/plugins/sonar-jacoco-plugin-*
rm /opt/sonar/extensions/plugins/sonar-squid-plugin-*

如果您使用的是新的 2.4 Java 插件,则可以删除 Squid、Surefire 和 Jacoco 插件。它们现在都整合到一个插件中:

http://docs.sonarqube.org/display/SONAR/Java+Plugin

2.4版将Java从多个插件的"生态系统"中移开 到一个独立的插件,其中包含大多数 以前包含在生态系统中的功能。具体说来 Squid,Surefire和Jacoco已被整合到Java插件中。 FindBugs已被拆分为一个独立的可选插件。自 继续使用它,将其升级到版本 2.4。不幸 SonarQube 的更新中心无法正常处理切换。你可以 使用更新中心下载新版本的插件。 但是,您必须手动删除 Surefire、JaCoCo 和 Squid Java 插件来自 $SONARQUBE_HOME/extensions/plugins。

要解决2.4版本的问题,需要删除Squid,Surefire和Jacoco。

相关内容

最新更新