memory leaks - SonarQube: java.lang.IllegalStateException: Webapp did not start at..: the SonarQube server was automatically closed after I started the server -


i trying deploy sonarqube @ remote ubuntu machine. started server, , status info 'sonarqube running'. after few minutes, server automatically closed. got exception:

2016.11.08 16:41:53 warn  web[][o.a.c.l.webappclassloaderbase] web application [root] appears have started thread named [abandoned connection cleanup thread] has failed stop it. create 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.11.08 16:41:53 warn  web[][o.a.c.l.webappclassloaderbase] web application [root] appears have started thread named [timer-0] has failed stop it. create 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.11.08 16:41:53 info  web[][o.a.c.h.http11nioprotocol] starting protocolhandler ["http-nio-127.0.0.1-9000"] 2016.11.08 16:41:53 info  web[][o.s.s.a.tomcataccesslog] web server started 2016.11.08 16:41:53 info  web[][o.s.s.a.embeddedtomcat] http connector enabled on port 9000 2016.11.08 16:41:53 warn  web[][o.s.p.processentrypoint] fail start web java.lang.illegalstateexception: webapp did not start         @ org.sonar.server.app.embeddedtomcat.isup(embeddedtomcat.java:84) ~[sonar-server-6.1.jar:na]         @ org.sonar.server.app.webserver.isup(webserver.java:46) [sonar-server-6.1.jar:na]         @ org.sonar.process.processentrypoint.launch(processentrypoint.java:105) ~[sonar-process-6.1.jar:na]         @ org.sonar.server.app.webserver.main(webserver.java:67) [sonar-server-6.1.jar:na] 2016.11.08 16:41:53 info  web[][o.a.c.h.http11nioprotocol] pausing protocolhandler ["http-nio-127.0.0.1-9000"] 2016.11.08 16:41:54 info  web[][o.a.c.h.http11nioprotocol] stopping protocolhandler ["http-nio-127.0.0.1-9000"] 2016.11.08 16:41:54 info  web[][o.a.c.h.http11nioprotocol] destroying protocolhandler ["http-nio-127.0.0.1-9000"] 2016.11.08 16:41:54 info  web[][o.s.s.a.tomcataccesslog] web server stopped 2016.11.08 16:41:54 info  app[][o.s.p.m.monitor] process[es] stopping 2016.11.08 16:41:55 info   es[][o.s.p.stopwatcher]  stopping process 2016.11.08 16:41:55 info   es[][o.elasticsearch.node]  [sonarqube] stopping ... 2016.11.08 16:41:55 info   es[][o.elasticsearch.node]  [sonarqube] stopped 2016.11.08 16:41:55 info   es[][o.elasticsearch.node]  [sonarqube] closing ... 2016.11.08 16:41:55 info   es[][o.elasticsearch.node]  [sonarqube] closed 

below versions:

  • java: jdk 1.8.0_111
  • ubuntu: ubuntu 14.04
  • mysql: 5.6.34
  • sonarqube: 6.1

below full logs

--> wrapper started daemon launching jvm... wrapper (version 3.2.3) http://wrapper.tanukisoftware.org   copyright 1999-2006 tanuki software, inc.  rights reserved.  wrappersimpleapp: unable locate class org.sonar.application.app: java.lang.unsupportedclassversionerror: org/sonar/application/app : unsupported major.minor version 52.0  wrappersimpleapp usage:   java org.tanukisoftware.wrapper.wrappersimpleapp {app_class} [app_arguments]  where:   app_class:      qualified class name of application run.   app_arguments:  arguments passed                   application. <-- wrapper stopped --> wrapper started daemon launching jvm... wrapper (version 3.2.3) http://wrapper.tanukisoftware.org   copyright 1999-2006 tanuki software, inc.  rights reserved.  wrappersimpleapp: unable locate class org.sonar.application.app: java.lang.unsupportedclassversionerror: org/sonar/application/app : unsupported major.minor version 52.0  wrappersimpleapp usage:   java org.tanukisoftware.wrapper.wrappersimpleapp {app_class} [app_arguments]  where:   app_class:      qualified class name of application run.   app_arguments:  arguments passed                   application. <-- wrapper stopped --> wrapper started daemon launching jvm... wrapper (version 3.2.3) http://wrapper.tanukisoftware.org   copyright 1999-2006 tanuki software, inc.  rights reserved.  wrappersimpleapp: unable locate class org.sonar.application.app: java.lang.unsupportedclassversionerror: org/sonar/application/app : unsupported major.minor version 52.0 "sonar.log" 21127l, 1883274c                                                                                                                                    1,1           top  java.util.concurrent.synchronousqueue.poll(synchronousqueue.java:941)  java.util.concurrent.threadpoolexecutor.gettask(threadpoolexecutor.java:1066)  java.util.concurrent.threadpoolexecutor.runworker(threadpoolexecutor.java:1127)  java.util.concurrent.threadpoolexecutor$worker.run(threadpoolexecutor.java:617)  java.lang.thread.run(thread.java:745) 2016.11.08 21:14:58 warn  web[][o.a.c.l.webappclassloaderbase] web application [root] appears have started thread named [abandoned connection cleanup thread] has failed stop it. create 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.11.08 21:14:58 warn  web[][o.a.c.l.webappclassloaderbase] web application [root] appears have started thread named [timer-0] has failed stop it. create 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.11.08 21:14:58 info  web[][o.a.c.h.http11nioprotocol] starting protocolhandler ["http-nio-127.0.0.1-9000"] 2016.11.08 21:14:58 info  web[][o.s.s.a.tomcataccesslog] web server started 2016.11.08 21:14:58 info  web[][o.s.s.a.embeddedtomcat] http connector enabled on port 9000 2016.11.08 21:14:58 warn  web[][o.s.p.processentrypoint] fail start web java.lang.illegalstateexception: webapp did not start         @ org.sonar.server.app.embeddedtomcat.isup(embeddedtomcat.java:84) ~[sonar-server-6.1.jar:na]         @ org.sonar.server.app.webserver.isup(webserver.java:46) [sonar-server-6.1.jar:na]         @ org.sonar.process.processentrypoint.launch(processentrypoint.java:105) ~[sonar-process-6.1.jar:na]         @ org.sonar.server.app.webserver.main(webserver.java:67) [sonar-server-6.1.jar:na] 2016.11.08 21:14:58 info  web[][o.a.c.h.http11nioprotocol] pausing protocolhandler ["http-nio-127.0.0.1-9000"] 2016.11.08 21:14:59 info  web[][o.a.c.h.http11nioprotocol] stopping protocolhandler ["http-nio-127.0.0.1-9000"] 2016.11.08 21:14:59 info  web[][o.a.c.h.http11nioprotocol] destroying protocolhandler ["http-nio-127.0.0.1-9000"] 2016.11.08 21:14:59 info  web[][o.s.s.a.tomcataccesslog] web server stopped 2016.11.08 21:14:59 info  app[][o.s.p.m.monitor] process[es] stopping 2016.11.08 21:15:00 info   es[][o.s.p.stopwatcher]  stopping process 2016.11.08 21:15:00 info   es[][o.elasticsearch.node]  [sonarqube] stopping ... 2016.11.08 21:15:00 info   es[][o.elasticsearch.node]  [sonarqube] stopped 2016.11.08 21:15:00 info   es[][o.elasticsearch.node]  [sonarqube] closing ... 2016.11.08 21:15:00 info   es[][o.elasticsearch.node]  [sonarqube] closed 2016.11.08 21:15:00 info  app[][o.s.p.m.monitor] process[es] stopped 

the famous message "unsupported major.minor version 52.0" means java 8 not being used whereas required. should check jdk 1.8.0_111 in path. if not, alternative edit property wrapper.java.command in conf/wrapper.conf.


Comments

Popular posts from this blog

php - How to add and update images or image url in Volusion using Volusion API -

javascript - jQuery UI Splitter/Resizable for unlimited amount of columns -

javascript - IE9 error '$'is not defined -