Integrating elastic search with sonarqube

Event: Starting sonarqube
Error message in sonarqube console & sonar.log: "Waiting for Elasticsearch to be up and running"
Actions performed:
1. Started elastic search by running "elasticsearch.bat" in the "elasticsearch-6.4.0\bin" folder.
2. Confirmed that elastic search is up at the URL: http://localhost:9200/
JSON displayed at the above URL: {
"name" : "jcj1BDh",
"cluster_name" : "elasticsearch",
"cluster_uuid" : "T1ke4ACrTMWU0zXalrh43w",
"version" : {
"number" : "6.4.0",
"build_flavor" : "default",
"build_type" : "zip",
"build_hash" : "595516e",
"build_date" : "2018-08-17T23:18:47.308994Z",
"build_snapshot" : false,
"lucene_version" : "7.4.0",
"minimum_wire_compatibility_version" : "5.6.0",
"minimum_index_compatibility_version" : "5.0.0"
"tagline" : "You Know, for Search"
3. Started SonarQube by running the file "StartSonar.bat" in the folder "sonarqube-7.3\bin\windows-x86-64"
4. Relevant snippet from sonar.log provided below:

--> Wrapper Started as Console
Launching a JVM...
Wrapper (Version 3.2.3)
Copyright 1999-2006 Tanuki Software, Inc. All Rights Reserved.

2018.09.18 17:11:29 INFO app[][o.s.a.AppFileSystem] Cleaning or creating temp directory D:\CoreJava\SonarQube\sonarqube-7.3\temp
2018.09.18 17:11:29 INFO app[][] Elasticsearch listening on /
2018.09.18 17:11:29 WARN app[][] Elasticsearch HTTP connector is enabled on port 9200. MUST NOT BE USED FOR PRODUCTION
2018.09.18 17:11:29 INFO app[][o.s.a.p.ProcessLauncherImpl] Launch process[[key='es', ipcIndex=1, logFilenamePrefix=es]] from [D:\CoreJava\SonarQube\sonarqube-7.3\elasticsearch]: C:\Program Files\Java\jre1.8.0_131\bin\java -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=75 -XX:+UseCMSInitiatingOccupancyOnly -XX:+AlwaysPreTouch -server -Xss1m -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djna.nosys=true -Dio.netty.noUnsafe=true -Dio.netty.noKeySetOptimization=true -Dio.netty.recycler.maxCapacityPerThread=0 -Dlog4j.shutdownHookEnabled=false -Dlog4j2.disable.jmx=true -Dlog4j.skipJansi=true -Xms512m -Xmx512m -XX:+HeapDumpOnOutOfMemoryError -Delasticsearch -Des.path.home=D:\CoreJava\SonarQube\sonarqube-7.3\elasticsearch -cp lib/* org.elasticsearch.bootstrap.Elasticsearch -Epath.conf=D:\CoreJava\SonarQube\sonarqube-7.3\temp\conf\es
2018.09.18 17:11:29 INFO app[][o.s.a.SchedulerImpl] Waiting for Elasticsearch to be up and running
2018.09.18 17:11:29 INFO app[][o.e.p.PluginsService] no modules loaded
2018.09.18 17:11:29 INFO app[][o.e.p.PluginsService] loaded plugin [org.elasticsearch.transport.Netty4Plugin]
2018.09.18 17:11:34 WARN app[][o.s.a.p.AbstractProcessMonitor] Process exited with exit value [es]: 1
2018.09.18 17:11:34 INFO app[][o.s.a.SchedulerImpl] Process [es] is stopped
2018.09.18 17:11:34 INFO app[][o.s.a.SchedulerImpl] SonarQube is stopped
<-- Wrapper Stopped

5. Relevant entries in the file provided below:
Entries below might not be relevant, but provided for reference

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.