-1
--> Wrapper Started as Console 
Launching a JVM... 
2016.09.12 20:04:22 INFO web[o.s.s.a.TomcatContexts] Webapp directory: D:\sonarqube-5.6\sonarqube-5.6\web 
2016.09.12 20:04:22 INFO web[o.a.c.h.Http11NioProtocol] Initializing ProtocolHandler ["http-nio-127.0.0.1-9000"] 
Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org 
    Copyright 1999-2006 Tanuki Software, Inc. All Rights Reserved. 

2016.09.12 20:04:22 INFO web[o.a.t.u.n.NioSelectorPool] Using a shared selector for servlet write/read 
2016.09.12 20:04:22 INFO app[o.s.a.AppFileSystem] Cleaning or creating temp directory D:\sonarqube-5.6\sonarqube-5.6\temp 
2016.09.12 20:04:22 INFO app[o.s.p.m.JavaProcessLauncher] Launch process[es]: C:\Program Files\Java\jdk1.8.0_101\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=D:\sonarqube-5.6\sonarqube-5.6\temp -javaagent:C:\Program Files\Java\jdk1.8.0_101\jre\lib\management-agent.jar -cp ./lib/common/*;./lib/search/* org.sonar.search.SearchServer D:\sonarqube-5.6\sonarqube-5.6\temp\sq-process2331191922867561813properties 
2016.09.12 20:04:23 INFO web[o.s.s.p.ServerImpl] SonarQube Server/5.6/074f3d1169f9688d15af4aff67e7e672cbeed782 
2016.09.12 20:04:23 INFO web[o.sonar.db.Database] Create JDBC data source for jdbc:mysql://localhost:3306/eisonar?useUnicode=true&characterEncoding=utf8&rewriteBatchedStatements=true&useConfigs=maxPerformance 
2016.09.12 20:04:23 INFO es[o.s.p.ProcessEntryPoint] Starting es 
2016.09.12 20:04:23 INFO es[o.s.s.EsSettings] Elasticsearch listening on 127.0.0.1:9001 
2016.09.12 20:04:23 INFO es[o.elasticsearch.node] [sonar-1473690862599] version[1.7.5], pid[5104], build[00f95f4/2016-02-02T09:55:30Z] 
2016.09.12 20:04:23 INFO es[o.elasticsearch.node] [sonar-1473690862599] initializing ... 
2016.09.12 20:04:23 INFO es[o.e.plugins] [sonar-1473690862599] loaded [], sites [] 
2016.09.12 20:04:24 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. 
2016.09.12 20:04:24 ERROR web[o.a.c.c.StandardContext] One or more listeners failed to start. Full details will be found in the appropriate container log file 
2016.09.12 20:04:24 ERROR web[o.a.c.c.StandardContext] Context [] startup failed due to previous errors 
2016.09.12 20:04:24 WARN web[o.a.c.l.WebappClassLoaderBase] The web application [ROOT] appears to have started a thread named [Abandoned connection cleanup thread] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread: 
java.lang.Object.wait(Native Method) 
java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:143) 
com.mysql.jdbc.AbandonedConnectionCleanupThread.run(AbandonedConnectionCleanupThread.java:43) 
2016.09.12 20:04:24 WARN web[o.a.c.l.WebappClassLoaderBase] The web application [ROOT] appears to have started a thread named [Timer-0] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread: 
java.lang.Object.wait(Native Method) 
java.util.TimerThread.mainLoop(Timer.java:552) 
java.util.TimerThread.run(Timer.java:505) 
2016.09.12 20:04:24 INFO web[o.a.c.h.Http11NioProtocol] Starting ProtocolHandler ["http-nio-127.0.0.1-9000"] 
2016.09.12 20:04:24 INFO web[o.s.s.a.TomcatAccessLog] Web server is started 
2016.09.12 20:04:24 INFO web[o.s.s.a.EmbeddedTomcat] HTTP connector enabled on port 9000 
2016.09.12 20:04:24 WARN web[o.s.p.ProcessEntryPoint] Fail to start web 
java.lang.IllegalStateException: Webapp did not start 
    at org.sonar.server.app.EmbeddedTomcat.isUp(EmbeddedTomcat.java:84) ~[sonar-server-5.6.jar:na] 
    at org.sonar.server.app.WebServer.isUp(WebServer.java:47) [sonar-server-5.6.jar:na] 
    at org.sonar.process.ProcessEntryPoint.launch(ProcessEntryPoint.java:105) ~[sonar-process-5.6.jar:na] 
    at org.sonar.server.app.WebServer.main(WebServer.java:68) [sonar-server-5.6.jar:na] 
2016.09.12 20:04:24 INFO web[o.a.c.h.Http11NioProtocol] Pausing ProtocolHandler ["http-nio-127.0.0.1-9000"] 
2016.09.12 20:04:24 INFO es[o.elasticsearch.env] [sonar-1473690862599] using [1] data paths, mounts [[Project_Source (D:)]], net usable_space [76.9gb], net total_space [99.9gb], types [NTFS] 
2016.09.12 20:04:25 INFO web[o.a.c.h.Http11NioProtocol] Stopping ProtocolHandler ["http-nio-127.0.0.1-9000"] 
2016.09.12 20:04:25 INFO web[o.a.c.h.Http11NioProtocol] Destroying ProtocolHandler ["http-nio-127.0.0.1-9000"] 
2016.09.12 20:04:25 INFO web[o.s.s.a.TomcatAccessLog] Web server is stopped 
2016.09.12 20:04:25 WARN es[o.e.bootstrap] JNA not found. native methods will be disabled. 
2016.09.12 20:04:25 INFO app[o.s.p.m.Monitor] Process[es] is stopping 
2016.09.12 20:04:25 INFO es[o.s.p.StopWatcher] Stopping process 
2016.09.12 20:04:26 INFO es[o.elasticsearch.node] [sonar-1473690862599] initialized 
2016.09.12 20:04:26 INFO es[o.elasticsearch.node] [sonar-1473690862599] starting ... 
2016.09.12 20:04:26 INFO es[o.s.p.StopWatcher] Stopping process 
2016.09.12 20:04:26 INFO es[o.elasticsearch.node] [sonar-1473690854594] stopping ... 
2016.09.12 20:04:26 INFO es[o.elasticsearch.node] [sonar-1473690854594] stopped 
2016.09.12 20:04:26 INFO es[o.elasticsearch.node] [sonar-1473690854594] closing ... 
2016.09.12 20:04:26 INFO es[o.elasticsearch.node] [sonar-1473690854594] closed 
2016.09.12 20:04:26 INFO es[o.e.transport] [sonar-1473690862599] bound_address {inet[/127.0.0.1:9001]}, publish_address {inet[/127.0.0.1:9001]} 
2016.09.12 20:04:26 INFO es[o.e.discovery] [sonar-1473690862599] sonarqube/o61SSzjpRiyDs0g8T3cORw 
2016.09.12 20:04:26 INFO app[o.s.p.m.Monitor] Process[es] is stopped 
<-- Wrapper Stopped 
2016.09.12 20:04:29 INFO es[o.e.cluster.service] [sonar-1473690862599] new_master [sonar-1473690862599][o61SSzjpRiyDs0g8T3cORw][SonarQube][inet[/127.0.0.1:9001]]{rack_id=sonar-1473690862599}, reason: zen-disco-join (elected_as_master) 
2016.09.12 20:04:29 INFO es[o.elasticsearch.node] [sonar-1473690862599] started 
2016.09.12 20:04:29 INFO es[o.e.gateway] [sonar-1473690862599] recovered [0] indices into cluster_state 
2016.09.12 20:04:29 INFO app[o.s.p.m.Monitor] Process[es] is up 
2016.09.12 20:04:29 INFO app[o.s.p.m.JavaProcessLauncher] Launch process[web]: C:\Program Files\Java\jdk1.8.0_101\jre\bin\java -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djruby.management.enabled=false -Djruby.compile.invokedynamic=false -Xmx512m -Xms128m -XX:+HeapDumpOnOutOfMemoryError -Djava.net.preferIPv4Stack=true -Djava.io.tmpdir=D:\sonarqube-5.6\sonarqube-5.6\temp -javaagent:C:\Program Files\Java\jdk1.8.0_101\jre\lib\management-agent.jar -cp ./lib/common/*;./lib/server/*;D:\sonarqube-5.6\sonarqube-5.6\lib\jdbc\mysql\mysql-connector-java-5.1.35.jar org.sonar.server.app.WebServer D:\sonarqube-5.6\sonarqube-5.6\temp\sq-process8086380433005857585properties 
2016.09.12 20:04:29 INFO app[o.s.p.m.Monitor] Process[web] is stopping 
2016.09.12 20:04:30 INFO web[o.s.p.ProcessEntryPoint] Starting web 
2016.09.12 20:04:30 INFO web[o.s.s.a.TomcatContexts] Webapp directory: D:\sonarqube-5.6\sonarqube-5.6\web 
2016.09.12 20:04:30 INFO web[o.a.c.h.Http11NioProtocol] Initializing ProtocolHandler ["http-nio-127.0.0.1-9000"] 
2016.09.12 20:04:30 INFO web[o.a.t.u.n.NioSelectorPool] Using a shared selector for servlet write/read 
2016.09.12 20:04:31 INFO web[o.s.s.p.ServerImpl] SonarQube Server/5.6/074f3d1169f9688d15af4aff67e7e672cbeed782 
2016.09.12 20:04:31 INFO web[o.sonar.db.Database] Create JDBC data source for jdbc:mysql://localhost:3306/eisonar?useUnicode=true&characterEncoding=utf8&rewriteBatchedStatements=true&useConfigs=maxPerformance 
2016.09.12 20:04:32 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. 
2016.09.12 20:04:32 ERROR web[o.a.c.c.StandardContext] One or more listeners failed to start. Full details will be found in the appropriate container log file 
2016.09.12 20:04:32 ERROR web[o.a.c.c.StandardContext] Context [] startup failed due to previous errors 
2016.09.12 20:04:32 WARN web[o.a.c.l.WebappClassLoaderBase] The web application [ROOT] appears to have started a thread named [Abandoned connection cleanup thread] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread: 
java.lang.Object.wait(Native Method) 
java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:143) 
com.mysql.jdbc.AbandonedConnectionCleanupThread.run(AbandonedConnectionCleanupThread.java:43) 
2016.09.12 20:04:32 WARN web[o.a.c.l.WebappClassLoaderBase] The web application [ROOT] appears to have started a thread named [Timer-0] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread: 
java.lang.Object.wait(Native Method) 
java.util.TimerThread.mainLoop(Timer.java:552) 
java.util.TimerThread.run(Timer.java:505) 
2016.09.12 20:04:32 INFO web[o.a.c.h.Http11NioProtocol] Starting ProtocolHandler ["http-nio-127.0.0.1-9000"] 
2016.09.12 20:04:32 INFO web[o.s.s.a.TomcatAccessLog] Web server is started 
2016.09.12 20:04:32 INFO web[o.s.s.a.EmbeddedTomcat] HTTP connector enabled on port 9000 
2016.09.12 20:04:32 WARN web[o.s.p.ProcessEntryPoint] Fail to start web 
java.lang.IllegalStateException: Webapp did not start 
    at org.sonar.server.app.EmbeddedTomcat.isUp(EmbeddedTomcat.java:84) ~[sonar-server-5.6.jar:na] 
    at org.sonar.server.app.WebServer.isUp(WebServer.java:47) [sonar-server-5.6.jar:na] 
    at org.sonar.process.ProcessEntryPoint.launch(ProcessEntryPoint.java:105) ~[sonar-process-5.6.jar:na] 
    at org.sonar.server.app.WebServer.main(WebServer.java:68) [sonar-server-5.6.jar:na] 
2016.09.12 20:04:32 INFO web[o.a.c.h.Http11NioProtocol] Pausing ProtocolHandler ["http-nio-127.0.0.1-9000"] 
2016.09.12 20:04:33 INFO web[o.a.c.h.Http11NioProtocol] Stopping ProtocolHandler ["http-nio-127.0.0.1-9000"] 
2016.09.12 20:04:33 INFO web[o.a.c.h.Http11NioProtocol] Destroying ProtocolHandler ["http-nio-127.0.0.1-9000"] 
2016.09.12 20:04:33 INFO web[o.s.s.a.TomcatAccessLog] Web server is stopped 
2016.09.12 20:04:33 INFO app[o.s.p.m.Monitor] Process[web] is stopped 
<-- Wrapper Stopped 

사용중인 Sonarqube 버전은 5.6이며, MySQL 버전 5.7입니다. sonar 5.x 버전은 기본적으로 포트 9000 및 9001 포트 2 개를 사용하기 때문에 일부 포트 문제 인 것으로 보입니다.SonarOube : StartSonar.bat가 오류를 발생시킵니다. java.lang.IllegalStateException : Webapp가 시작되지 않았습니다.

+0

디버깅 도움말 ("이 코드가 작동하지 않는 이유는 무엇입니까?")에는 원하는 동작, 특정 문제 또는 오류 및 질문 자체에서이를 재현하는 데 필요한 가장 짧은 코드가 포함되어야합니다. 분명한 문제 성명이없는 질문은 다른 독자에게 유용하지 않습니다. 참조 : [최소한의 완전하고 검증 가능한 예제를 만드는 방법] (http://stackoverflow.com/help/mcve). – Squazz

+1

다른 사람들에게 "최대한 빨리"하도록 요청해서는 안됩니다. 응답 기회가 줄어들어 사용자를 괴롭 히게됩니다. 인내심을 갖고 돈을 내지 않으면 서 도움을 줄 수있는 사람들의 노력에 감사해야합니다. –

답변

2

ERROR 로그가 누락되었습니다. "현재 버전이 너무 오래되었습니다. 먼저 Long Term Support 버전으로 업그레이드하십시오 . " SonarQube의 이전 버전 3.x 또는 < 4.5.x를 업그레이드하려고합니다. 먼저 4.5.x로 업그레이드 한 다음 5.6으로 이동해야합니다.

+0

미성년자, 사이먼 : 그 오류 메시지의 영어는 조금 찔러 넣었습니다. '장기 지원 버전으로 먼저 업그레이드 해주시기 바랍니다 '라는 글을 수정할 수 있습니까? – halfer