Sonarqube(5.4 / 5.2.1) is not getting started with JDK 7 & mysql 5.2.1 -
i have attached images related problem
hardware:
jdk-7 (its requirement) mysql 5.7.17 sonarqube5.4 or 5.2.1
process following start sonar:
1.after downloading sonarqube, did below configuration sonar.properties
sonar.jdbc.username=root sonar.jdbc.password=root sonar.jdbc.url=jdbc:mysql://localhost:3306/sonar?useunicode=true&characterencoding=utf8&rewritebatchedstatements=true&useconfigs=maxperformance sonar.jdbc.driverclassname=com.mysql.jdbc.driver sonar.jdbc.maxwait=10000 sonar.web.host=localhost sonar.web.context=/ sonar.web.port=9092
wrapper.conf
wrapper.java.command=java wrapper.java.additional.1=-djava.awt.headless=true wrapper.java.mainclass=org.tanukisoftware.wrapper.wrappersimpleapp wrapper.java.classpath.1=../../lib/jsw/*.jar wrapper.java.classpath.2=../../lib/*.jar wrapper.java.library.path.1=./lib wrapper.app.parameter.1=org.sonar.application.app wrapper.java.initmemory=3 wrapper.java.maxmemory=32 wrapper.console.format=pm wrapper.console.loglevel=info wrapper.logfile=../../logs/sonar.log wrapper.logfile.format=m wrapper.logfile.loglevel=info wrapper.syslog.loglevel=none wrapper.console.title=sonarqube wrapper.single_invocation=true wrapper.ntservice.name=sonarqube wrapper.ntservice.displayname=sonarqube wrapper.ntservice.description=sonarqube wrapper.ntservice.dependency.1= [getting response on cmd in admin mode[![\]\[1\][1]][1]wrapper.ntservice.starttype=auto_start wrapper.ntservice.interactive=false wrapper.disable_restarts=true wrapper.ping.timeout=0 wrapper.shutdown.timeout=3000 wrapper.jvm_exit.timeout=3000
log file
createservice failed - specified service exists. (0x431) starting sonarqube service... sonarqube service launched, failed start. --> wrapper started console launching jvm... wrapper (version 3.2.3) http://wrapper.tanukisoftware.org copyright 1999-2006 tanuki software, inc. rights reserved. 2017.04.06 17:50:53 info app[o.s.a.appfilesystem] cleaning or creating temp directory c:\sonar\sonarqube-5.4\temp 2017.04.06 17:50:53 info app[o.s.p.m.javaprocesslauncher] launch process[search]: c:\program files\java\jre7\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=c:\sonar\sonarqube-5.4\temp -cp ./lib/common/*;./lib/search/* org.sonar.search.searchserver c:\users\lokesh~1.kum\appdata\local\temp\sq-process7155234219752233605properties 2017.04.06 17:50:54 info es[o.s.p.processentrypoint] starting search 2017.04.06 17:50:54 info es[o.s.s.searchsettings] elasticsearch listening on 127.0.0.1:9001 2017.04.06 17:50:54 info es[o.elasticsearch.node] [sonar-1491481253018] version[1.7.2], pid[9596], build[e43676b/2015-09-14t09:49:53z] 2017.04.06 17:50:54 info es[o.elasticsearch.node] [sonar-1491481253018] initializing ... 2017.04.06 17:50:54 info es[o.e.plugins] [sonar-1491481253018] loaded [], sites [] 2017.04.06 17:50:55 info es[o.elasticsearch.env] [sonar-1491481253018] using [1] data paths, mounts [[(c:)]], net usable_space [162.2gb], net total_space [221.2gb], types [ntfs] 2017.04.06 17:50:57 warn es[o.e.bootstrap] jna not found. native methods disabled. 2017.04.06 17:50:58 info es[o.elasticsearch.node] [sonar-1491481253018] initialized 2017.04.06 17:50:58 info es[o.elasticsearch.node] [sonar-1491481253018] starting ... 2017.04.06 17:50:58 info es[o.e.transport] [sonar-1491481253018] bound_address {inet[/127.0.0.1:9001]}, publish_address {inet[/127.0.0.1:9001]} 2017.04.06 17:50:58 info es[o.e.discovery] [sonar-1491481253018] sonarqube/trekx7zhs3yceme6kemqtg 2017.04.06 17:51:01 info es[o.e.cluster.service] [sonar-1491481253018] new_master [sonar-1491481253018][trekx7zhs3yceme6kemqtg][ntpc01401][inet[/127.0.0.1:9001]]{rack_id=sonar-1491481253018}, reason: zen-disco-join (elected_as_master) 2017.04.06 17:51:01 info es[o.elasticsearch.node] [sonar-1491481253018] started 2017.04.06 17:51:01 info es[o.e.gateway] [sonar-1491481253018] recovered [6] indices cluster_state 2017.04.06 17:51:05 info app[o.s.p.m.monitor] process[search] 2017.04.06 17:51:05 info app[o.s.p.m.javaprocesslauncher] launch process[web]: c:\program files\java\jre7\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=c:\sonar\sonarqube-5.4\temp -cp ./lib/common/*;./lib/server/*;c:\sonar\sonarqube-5.4\lib\jdbc\mysql\mysql-connector-java-5.1.35.jar org.sonar.server.app.webserver c:\users\lokesh~1.kum\appdata\local\temp\sq-process1860280482306293638properties 2017.04.06 17:51:06 info web[o.s.p.processentrypoint] starting web 2017.04.06 17:51:07 info web[o.s.s.a.tomcatcontexts] webapp directory: c:\sonar\sonarqube-5.4\web 2017.04.06 17:51:07 info web[o.a.c.h.http11nioprotocol] initializing protocolhandler ["http-nio-127.0.0.1-9092"] 2017.04.06 17:51:07 info web[o.a.t.u.n.nioselectorpool] using shared selector servlet write/read 2017.04.06 17:51:10 info web[o.s.s.p.serverimpl] sonarqube server / 5.4 / 7b02df9be3cd9448699b5857586e1c6e2b28c007 2017.04.06 17:51:10 info web[o.sonar.db.database] create jdbc data source jdbc:mysql://localhost:3306/sonar?useunicode=true&characterencoding=utf8&rewritebatchedstatements=true&useconfigs=maxperformance 2017.04.06 17:51:10 info web[o.e.plugins] [sonar-1491481253018] loaded [], sites [] 2017.04.06 17:51:12 info web[o.s.s.p.defaultserverfilesystem] sonarqube home: c:\sonar\sonarqube-5.4 2017.04.06 17:51:13 info web[o.s.s.p.serverpluginrepository] deploy plugin c# / 4.4 / 5b9adce1c37c4ef907b316ea4500ed5d7c4629c4 2017.04.06 17:51:13 info web[o.s.s.p.serverpluginrepository] deploy plugin git / 1.0 / 9ce9d330c313c296fab051317cc5ad4b26319e07 2017.04.06 17:51:13 info web[o.s.s.p.serverpluginrepository] deploy plugin java / 3.10 / e55d43e814fd68587a7a9e0f37089492b34445cc 2017.04.06 17:51:13 info web[o.s.s.p.serverpluginrepository] deploy plugin javascript / 2.10 / 88475229068f817583013a08facf2b45d0357829 2017.04.06 17:51:13 info web[o.s.s.p.serverpluginrepository] deploy plugin svn / 1.2 / d04c3cdb21f48905dd8300d1129ec90281aa6db2 2017.04.06 17:51:14 info web[o.s.s.p.railsappsdeployer] deploying ruby on rails applications 2017.04.06 17:51:14 info web[o.s.s.p.platform] db needs migration, entering safe mode 2017.04.06 17:51:15 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.7.0-b147 [windows 7-amd64] 2017.04.06 17:51:15 info web[jruby.rack] using shared (threadsafe!) runtime 2017.04.06 17:51:37 info web[dbmigration] == initialschema: migrating ================================================== 2017.04.06 17:51:37 info web[dbmigration] -- create_table(:projects, {}) 2017.04.06 17:51:37 info web[dbmigration] -> 0.2160s 2017.04.06 17:51:37 info web[dbmigration] -> 0 rows 017.04.06 17:54:47 info web[dbmigration] == increaseprojectsnamecolumnssize: migrating ================================ 2017.04.06 17:54:47 info web[dbmigration] == increaseprojectsnamecolumnssize: migrated (0.1080s) ======================= 2017.04.06 17:54:47 info web[dbmigration] 2017.04.06 17:54:53 info web[o.s.s.p.updatecenterclient] update center: http://update.sonarsource.org/update-center.properties (no proxy) 2017.04.06 17:54:55 info web[o.s.s.n.notificationservice] notification service started (delay 60 sec.) 2017.04.06 17:54:56 info web[o.s.s.s.indexsynchronizer] index rules 2017.04.06 17:54:56 info web[o.s.s.s.indexsynchronizer] index activerules 2017.04.06 17:54:56 info web[o.s.s.s.registermetrics] register metrics 2017.04.06 17:54:57 info web[o.s.s.s.registerdebtmodel] register technical debt model 2017.04.06 17:54:57 info web[o.s.s.r.registerrules] register rules
a fatal error has been detected java runtime environment:
exception_access_violation (0xc0000005) @ pc=0x000000000252fbd9, pid=9596, tid=8112
jre version: 7.0-b147 java vm: java hotspot(tm) 64-bit server vm (21.0-b17 mixed mode windows-amd64 compressed oops) problematic frame: j org.apache.lucene.analysis.en.porterstemfilter.incrementtoken()z
failed write core dump. minidumps not enabled default on client versions of windows
an error report file more information saved as: c:\sonar\sonarqube-5.4\hs_err_pid9596.log
if submit bug report, please visit: http://bugreport.sun.com/bugreport/crash.jsp
2017.04.06 17:55:01 info app[o.s.p.m.monitor] process[web] stopping 2017.04.06 17:55:01 error web[jruby.rack] initialization failed org.jruby.rack.rackinitializationexception: org.elasticsearch.client.transport.nonodeavailableexception: none of configured nodes available: [[sonar-1491481253018][trekx7zhs3yceme6kemqtg][ntpc01401][inet[/127.0.0.1:9001]]{rack_id=sonar-1491481253018}] @ org.jruby.rack.rackinitializationexception.wrap(rackinitializationexception.java:31) ~[jruby-rack-1.1.13.2.jar:na] @ org.jruby.rack.rackapplicationfactorydecorator.init(rackapplicationfactorydecorator.java:98) ~[jruby-rack-1.1.13.2.jar:na] @ org.jruby.rack.rackservletcontextlistener.contextinitialized(rackservletcontextlistener.java:50) ~[jruby-rack-1.1.13.2.jar:na] @ org.sonar.server.platform.rubyrailscontextlistener.contextinitialized(rubyrailscontextlistener.java:35) [sonar-server-5.4.jar:na] @ org.apache.catalina.core.standardcontext.listenerstart(standardcontext.java:4812) [tomcat-embed-core-8.0.30.jar:8.0.30] @ org.apache.catalina.core.standardcontext.startinternal(standardcontext.java:5255) [tomcat-embed-core-8.0.30.jar:8.0.30] @ org.apache.catalina.util.lifecyclebase.start(lifecyclebase.java:150) [tomcat-embed-core-8.0.30.jar:8.0.30] @ org.apache.catalina.core.containerbase$startchild.call(containerbase.java:1408) [tomcat-embed-core-8.0.30.jar:8.0.30] @ org.apache.catalina.core.containerbase$startchild.call(containerbase.java:1398) [tomcat-embed-core-8.0.30.jar:8.0.30] @ java.util.concurrent.futuretask$sync.innerrun(unknown source) [na:1.7.0] @ java.util.concurrent.futuretask.run(unknown source) [na:1.7.0] @ java.util.concurrent.threadpoolexecutor.runworker(unknown source) [na:1.7.0] @ java.util.concurrent.threadpoolexecutor$worker.run(unknown source) [na:1.7.0] @ java.lang.thread.run(unknown source) [na:1.7.0] caused by: org.elasticsearch.client.transport.nonodeavailableexception: none of configured nodes available: [[sonar-1491481253018][trekx7zhs3yceme6kemqtg][ntpc01401][inet[/127.0.0.1:9001]]{rack_id=sonar-1491481253018}] @ org.elasticsearch.client.transport.transportclientnodesservice$retrylistener.onfailure(transportclientnodesservice.java:242) ~[elasticsearch-1.7.2.jar:na] @ org.elasticsearch.action.transportactionnodeproxy$1.handleexception(transportactionnodeproxy.java:78) ~[elasticsearch-1.7.2.jar:na] @ org.elasticsearch.transport.transportservice$adapter$3.run(transportservice.java:468) ~[elasticsearch-1.7.2.jar:na] ... 3 common frames omitted caused by: org.elasticsearch.transport.nodedisconnectedexception: [sonar-1491481253018][inet[/127.0.0.1:9001]][indices:data/write/bulk] disconnected 2017.04.06 17:55:01 info web[o.s.p.stopwatcher] stopping process 2017.04.06 17:55:02 info web[o.a.c.h.http11nioprotocol] starting protocolhandler ["http-nio-127.0.0.1-9092"] 2017.04.06 17:55:02 info web[o.s.s.a.tomcataccesslog] web server started 2017.04.06 17:55:02 info web[o.a.c.h.http11nioprotocol] pausing protocolhandler ["http-nio-127.0.0.1-9092"] 2017.04.06 17:55:02 info web[o.s.s.a.embeddedtomcat] http connector enabled on port 9092 2017.04.06 17:55:02 info web[o.s.s.n.notificationservice] notification service stopped 2017.04.06 17:55:02 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(unknown source) com.mysql.jdbc.abandonedconnectioncleanupthread.run(abandonedconnectioncleanupthread.java:43) 2017.04.06 17:55:02 warn web[o.a.c.l.webappclassloaderbase] web application [root] appears have started thread named [jrubyjit-1] has failed stop it. create memory leak. stack trace of thread: sun.misc.unsafe.park(native method) java.util.concurrent.locks.locksupport.park(unknown source) java.util.concurrent.locks.abstractqueuedsynchronizer$conditionobject.await(unknown source) java.util.concurrent.linkedblockingqueue.take(unknown source) java.util.concurrent.threadpoolexecutor.gettask(unknown source) java.util.concurrent.threadpoolexecutor.runworker(unknown source) java.util.concurrent.threadpoolexecutor$worker.run(unknown source) java.lang.thread.run(unknown source) 2017.04.06 17:55:02 warn web[o.a.c.l.webappclassloaderbase] web application [root] appears have started thread named [jrubyjit-2] has failed stop it. create memory leak. stack trace of thread: sun.misc.unsafe.park(native method) java.util.concurrent.locks.locksupport.park(unknown source) java.util.concurrent.locks.abstractqueuedsynchronizer$conditionobject.await(unknown source) java.util.concurrent.linkedblockingqueue.take(unknown source) java.util.concurrent.threadpoolexecutor.gettask(unknown source) java.util.concurrent.threadpoolexecutor.runworker(unknown source) java.util.concurrent.threadpoolexecutor$worker.run(unknown source) java.lang.thread.run(unknown source) 2017.04.06 17:55:02 info web[o.a.c.h.http11nioprotocol] stopping protocolhandler ["http-nio-127.0.0.1-9092"] 2017.04.06 17:55:02 info web[o.a.c.h.http11nioprotocol] destroying protocolhandler ["http-nio-127.0.0.1-9092"] 2017.04.06 17:55:02 info web[o.s.s.a.tomcataccesslog] web server stopped
strategy have tried:
created/deleted temp folder in c:\windows\system32\config\systemprofile\appdata\local & starting service & start sonar => same issue
clean/delete temp sonarqube & run => same issue
my need jdk-7 changed 5.4 / 5.2.1 both => => same issue
wrapper.java.command=gave jdk/bin/java path => same issue
restarted & reinstall scratch => same issue
please me, in advance
Comments
Post a Comment