我没有在网络浏览器中获得声纳

时间:2012-12-04 08:58:17

标签: sonarqube

我在opensuse 11.4 64位系统中安装了声纳服务器。我配置了我的数据库并从终端启动了声纳服务器。然后我拿起了我的网络浏览器并打开了http://localhost:9000/sonar。但是我得到了以下屏幕。 HTTP错误:503

访问/声纳的问题。原因是:

SERVICE_UNAVAILABLE

为什么会这样?请参阅下面的错误日志。任何人请帮帮我

STATUS | wrapper  | 2012/12/04 14:20:39 | --> Wrapper Started as Daemon
STATUS | wrapper  | 2012/12/04 14:20:39 | Launching a JVM...
INFO   | jvm 1    | 2012/12/04 14:20:39 | Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
INFO   | jvm 1    | 2012/12/04 14:20:39 |   Copyright 1999-2006 Tanuki Software, Inc.  All Rights Reserved.
INFO   | jvm 1    | 2012/12/04 14:20:39 | 
INFO   | jvm 1    | 2012/12/04 14:20:39 | 2012-12-04 14:20:39.615:INFO::Logging to STDERR via org.mortbay.log.StdErrLog
INFO   | jvm 1    | 2012/12/04 14:20:39 | 2012-12-04 14:20:39.652:INFO::jetty-6.1.25
INFO   | jvm 1    | 2012/12/04 14:20:39 | 2012-12-04 14:20:39.815:INFO::NO JSP Support for /sonar, did not find org.apache.jasper.servlet.JspServlet
2012.12.04 14:20:40 INFO  o.s.s.p.ServerImpl  Sonar Server / 3.3.2 / 614afef12ae442ad50831a7bc604664378e31088
2012.12.04 14:20:41 INFO  o.s.s.d.EmbeddedDatabase  Starting embedded database on port 9001 with url jdbc:h2:tcp://localhost:9001/sonar
2012.12.04 14:20:41 INFO  o.s.s.d.EmbeddedDatabase  Embedded database started. Data stored in: /home/tom/sonar-3.3.2/data
2012.12.04 14:20:41 WARN  o.s.c.p.DefaultDatabase  H2 database should be used for evaluation purpose only
2012.12.04 14:20:41 INFO  o.s.c.p.Database  Create JDBC datasource for jdbc:h2:tcp://localhost:9001/sonar
2012.12.04 14:20:43 INFO  o.s.s.p.DefaultServerFileSystem  Sonar home: /home/tom/sonar-3.3.2
2012.12.04 14:20:43 INFO  o.s.s.p.DefaultServerFileSystem  Deploy dir: /home/tom/sonar-3.3.2/war/sonar-server/deploy
2012.12.04 14:20:43 INFO  org.sonar.INFO  Install plugins...
2012.12.04 14:20:43 INFO  o.s.s.p.PluginDeployer  Deploy plugin Findbugs / 3.3.2 / 614afef12ae442ad50831a7bc604664378e31088
2012.12.04 14:20:43 INFO  o.s.s.p.PluginDeployer  Deploy plugin JaCoCo / 3.3.2 / 614afef12ae442ad50831a7bc604664378e31088
2012.12.04 14:20:43 INFO  o.s.s.p.PluginDeployer  Deploy plugin English Pack / 3.3.2 / 614afef12ae442ad50831a7bc604664378e31088
2012.12.04 14:20:43 INFO  o.s.s.p.PluginDeployer  Deploy plugin Surefire / 3.3.2 / 614afef12ae442ad50831a7bc604664378e31088
2012.12.04 14:20:43 INFO  o.s.s.p.PluginDeployer  Deploy plugin Duplications / 3.3.2 / 614afef12ae442ad50831a7bc604664378e31088
2012.12.04 14:20:43 INFO  o.s.s.p.PluginDeployer  Deploy plugin Checkstyle / 3.3.2 / 614afef12ae442ad50831a7bc604664378e31088
2012.12.04 14:20:43 INFO  o.s.s.p.PluginDeployer  Deploy plugin PMD / 3.3.2 / 614afef12ae442ad50831a7bc604664378e31088
2012.12.04 14:20:43 INFO  o.s.s.p.PluginDeployer  Deploy plugin Core / 3.3.2 / 614afef12ae442ad50831a7bc604664378e31088
2012.12.04 14:20:43 INFO  o.s.s.p.PluginDeployer  Deploy plugin Java / 1.0 / 5ac4cf695248bc7385cb3377216cd86340bda0b0
2012.12.04 14:20:43 INFO  o.s.s.p.PluginDeployer  Deploy plugin Database Cleaner / 3.3.2 / 614afef12ae442ad50831a7bc604664378e31088
2012.12.04 14:20:43 INFO  o.s.s.p.PluginDeployer  Deploy plugin Cobertura / 3.3.2 / 614afef12ae442ad50831a7bc604664378e31088
2012.12.04 14:20:43 INFO  o.s.s.p.PluginDeployer  Deploy plugin Squid for Java / 1.0 / 5ac4cf695248bc7385cb3377216cd86340bda0b0
2012.12.04 14:20:43 INFO  o.s.s.p.PluginDeployer  Deploy plugin Design / 3.3.2 / 614afef12ae442ad50831a7bc604664378e31088
2012.12.04 14:20:43 INFO  o.s.s.p.PluginDeployer  Deploy plugin Email notifications / 3.3.2 / 614afef12ae442ad50831a7bc604664378e31088
2012.12.04 14:20:43 INFO  org.sonar.INFO  Install plugins done: 152 ms
2012.12.04 14:20:43 INFO  o.s.s.p.ApplicationDeployer  Deploy Ruby on Rails applications
2012.12.04 14:20:43 INFO  org.sonar.INFO  Start components...
2012.12.04 14:20:43 INFO  o.s.j.s.AbstractDatabaseConnector  Initializing Hibernate
2012.12.04 14:20:45 INFO  org.sonar.INFO  Notification service started (delay 60 sec.)
2012.12.04 14:20:45 INFO  org.sonar.INFO  Deploy GWT plugins...
2012.12.04 14:20:45 INFO  org.sonar.INFO  Deploy org.sonar.plugins.core.testdetailsviewer.TestsViewer to /home/tom/sonar-3.3.2/war/sonar-server/deploy/gwt
2012.12.04 14:20:45 INFO  org.sonar.INFO  Deploy org.sonar.plugins.design.ui.libraries.LibrariesPage to /home/tom/sonar-3.3.2/war/sonar-server/deploy/gwt
2012.12.04 14:20:45 INFO  org.sonar.INFO  Deploy org.sonar.plugins.design.ui.page.DesignPage to /home/tom/sonar-3.3.2/war/sonar-server/deploy/gwt
2012.12.04 14:20:45 INFO  org.sonar.INFO  Deploy GWT plugins done: 131 ms
2012.12.04 14:20:45 INFO  org.sonar.INFO  Load metrics...
2012.12.04 14:20:47 INFO  org.sonar.INFO  cleaning alert thresholds...
2012.12.04 14:20:47 INFO  org.sonar.INFO  Load metrics done: 2085 ms
2012.12.04 14:20:47 INFO  org.sonar.INFO  Register rules [findbugs/java]...
2012.12.04 14:20:48 INFO  org.sonar.INFO  414 rules
2012.12.04 14:20:49 INFO  org.sonar.INFO  Register rules [findbugs/java] done: 1110 ms
2012.12.04 14:20:49 INFO  org.sonar.INFO  Register rules [checkstyle/java]...
2012.12.04 14:20:49 INFO  org.sonar.INFO  129 rules
2012.12.04 14:20:49 INFO  org.sonar.INFO  Register rules [checkstyle/java] done: 789 ms
2012.12.04 14:20:49 INFO  org.sonar.INFO  Register rules [pmd/java]...
2012.12.04 14:20:50 INFO  org.sonar.INFO  232 rules
2012.12.04 14:20:50 INFO  org.sonar.INFO  Register rules [pmd/java] done: 1077 ms
2012.12.04 14:20:50 INFO  org.sonar.INFO  Register rules [pmd-unit-tests/java]...
2012.12.04 14:20:50 INFO  org.sonar.INFO  10 rules
2012.12.04 14:20:51 INFO  org.sonar.INFO  Register rules [pmd-unit-tests/java] done: 160 ms
2012.12.04 14:20:51 INFO  org.sonar.INFO  Register rules [squid/java]...
2012.12.04 14:20:51 INFO  org.sonar.INFO  17 rules
2012.12.04 14:20:51 INFO  org.sonar.INFO  Register rules [squid/java] done: 187 ms
2012.12.04 14:20:51 INFO  org.sonar.INFO  Register rules [common-java/java]...
2012.12.04 14:20:51 INFO  org.sonar.INFO  4 rules
2012.12.04 14:20:51 INFO  org.sonar.INFO  Register rules [common-java/java] done: 27 ms
2012.12.04 14:20:51 INFO  org.sonar.INFO  Disable deprecated user rules...
2012.12.04 14:20:51 INFO  org.sonar.INFO  Disable deprecated user rules done: 91 ms
2012.12.04 14:20:51 INFO  o.s.s.s.RegisterNewProfiles  Register Quality Profiles...

1 个答案:

答案 0 :(得分:1)

我看到你正在使用Sonar的独立版本,它默认在“http:// localhost:9000”URL上运行在Jetty上(没有'/ sonar'应用程序上下文)。

因此,除非您修改了Jetty部署配置,否则您应该查看“http:// localhost:9000”而不是“http:// localhost:9000 / sonar”。