sonar首次启动报错,百思不得。 2C

--> Wrapper Started as Daemon
Launching a JVM...
Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
Copyright 1999-2006 Tanuki Software, Inc. All Rights Reserved.

2015.12.15 17:22:49 INFO app[o.s.p.m.JavaProcessLauncher] Launch process[search]: /usr/local/jdk1.8/jre/bin/java -Djava.awt.headless=true -Xmx1G -Xms256m -Xss256k -Djava.net.preferIPv4Stack=true -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=75 -XX:+UseCMSInitiatingOccupancyOnly -XX:+HeapDumpOnOutOfMemoryError -Djava.io.tmpdir=/usr/local/sonar/temp -cp ./lib/common/*:./lib/search/* org.sonar.search.SearchServer /tmp/sq-process293857443061072123properties
2015.12.15 17:22:49 INFO es[o.s.p.ProcessEntryPoint] Starting search
2015.12.15 17:22:49 INFO es[o.s.s.SearchSettings] Elasticsearch listening on 127.0.0.1:9001
2015.12.15 17:22:49 INFO es[o.elasticsearch.node] [sonar-1450171368610] version[1.7.2], pid[2571], build[e43676b/2015-09-14T09:49:53Z]
2015.12.15 17:22:49 INFO es[o.elasticsearch.node] [sonar-1450171368610] initializing ...
2015.12.15 17:22:49 INFO es[o.e.plugins] [sonar-1450171368610] loaded [], sites []
2015.12.15 17:22:50 INFO es[o.elasticsearch.env] [sonar-1450171368610] using [1] data paths, mounts [[/ (/dev/sda3)]], net usable_space [111.1gb], net total_space [125.6gb], types [ext4]
2015.12.15 17:22:51 WARN es[o.e.bootstrap] JNA not found. native methods will be disabled.
2015.12.15 17:22:52 INFO es[o.elasticsearch.node] [sonar-1450171368610] initialized
2015.12.15 17:22:52 INFO es[o.elasticsearch.node] [sonar-1450171368610] starting ...
2015.12.15 17:22:52 INFO es[o.e.transport] [sonar-1450171368610] bound_address {inet[/127.0.0.1:9001]}, publish_address {inet[/127.0.0.1:9001]}
2015.12.15 17:22:52 INFO es[o.e.discovery] [sonar-1450171368610] sonarqube/OLzNZ47NQRa0wZYzKc659Q
2015.12.15 17:22:56 INFO es[o.e.cluster.service] [sonar-1450171368610] new_master [sonar-1450171368610][OLzNZ47NQRa0wZYzKc659Q][localhost][inet[/127.0.0.1:9001]]{rack_id=sonar-1450171368610}, reason: zen-disco-join (elected_as_master)
2015.12.15 17:22:56 INFO es[o.elasticsearch.node] [sonar-1450171368610] started
2015.12.15 17:22:56 INFO es[o.e.gateway] [sonar-1450171368610] recovered [1] indices into cluster_state
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=160m; support was removed in 8.0
2015.12.15 17:22:58 INFO app[o.s.p.m.Monitor] Process[search] is up
2015.12.15 17:22:58 INFO app[o.s.p.m.JavaProcessLauncher] Launch process[web]: /usr/local/jdk1.8/jre/bin/java -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djruby.management.enabled=false -Djruby.compile.invokedynamic=false -Xmx768m -Xms256m -XX:MaxPermSize=160m -XX:+HeapDumpOnOutOfMemoryError -Djava.net.preferIPv4Stack=true -Djava.io.tmpdir=/usr/local/sonar/temp -cp ./lib/common/*:./lib/server/*:/usr/local/sonar/lib/jdbc/mysql/mysql-connector-java-5.1.35.jar org.sonar.server.app.WebServer /tmp/sq-process3225582527192006271properties
2015.12.15 17:22:59 INFO web[o.s.p.ProcessEntryPoint] Starting web
2015.12.15 17:22:59 INFO web[o.s.s.app.Webapp] Webapp directory: /usr/local/sonar/web
2015.12.15 17:23:00 INFO web[o.a.c.h.Http11NioProtocol] Initializing ProtocolHandler ["http-nio-0.0.0.0-9000"]
2015.12.15 17:23:00 INFO web[o.a.t.u.n.NioSelectorPool] Using a shared selector for servlet write/read
2015.12.15 17:23:01 INFO web[o.e.plugins] [sonar-1450171368610] loaded [], sites []
2015.12.15 17:23:02 INFO web[o.s.s.p.ServerImpl] SonarQube Server / 5.2 / f045be98be3ba032b6b19d71574038eeeb91803b
2015.12.15 17:23:02 INFO web[o.sonar.db.Database] Create JDBC data source for jdbc:mysql://192.168.22.220:3306/sonar?useUnicode=true&characterEncoding=utf8&rewriteBatchedStatements=true&useConfigs=maxPerformance
2015.12.15 17:23:03 ERROR web[o.a.c.c.C.[.[.[/]] Exception sending context initialized event to listener instance of class org.sonar.server.platform.PlatformServletContextListener
org.sonar.api.utils.MessageException: Current version is too old. Please upgrade to Long Term Support version firstly.
2015.12.15 17:23:03 INFO web[jruby.rack] jruby 1.7.9 (ruby-1.8.7p370) 2013-12-06 87b108a on Java HotSpot(TM) 64-Bit Server VM 1.8.0_45-b14 [linux-amd64]
2015.12.15 17:23:03 INFO web[jruby.rack] using a shared (threadsafe!) runtime
2015.12.15 17:23:08 ERROR web[jruby.rack] initialization failed
org.jruby.rack.RackInitializationException: java.lang.NullPointerException
**
at org.jruby.rack.RackInitializationException.wrap(RackInitializationException.java:31) ~[jruby-rack-1.1.13.2.jar:na]
at org.jruby.rack.RackApplicationFactoryDecorator.init(RackApplicationFactoryDecorator.java:98) ~[jruby-rack-1.1.13.2.jar:na]
at org.jruby.rack.RackServletContextListener.contextInitialized(RackServletContextListener.java:50) ~[jruby-rack-1.1.13.2.jar:na]
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4720) [tomcat-embed-core-8.0.18.jar:8.0.18]
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5154) [tomcat-embed-core-8.0.18.jar:8.0.18]

1个回答

我也遇到了类似的问题 你的解决了么

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问
相关内容推荐