# Integrating elastic search with sonarqube

**URL:** <https://discuss.elastic.co/t/integrating-elastic-search-with-sonarqube/148975>\
**Category:** Elasticsearch\
**Created:** [September 18, 2018, 12:21pm UTC](https://discuss.elastic.co/t/integrating-elastic-search-with-sonarqube/148975 "2018-09-18T12:21:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Farmer](https://avatars.discourse-cdn.com/v4/letter/f/e495f1/32.png) [@Farmer](https://discuss.elastic.co/u/Farmer)\
**Post date:** [September 18, 2018, 12:21pm UTC](https://discuss.elastic.co/t/integrating-elastic-search-with-sonarqube/148975/1 "2018-09-18T12:21:09Z")

</div>

# **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/](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) [http://wrapper.tanukisoftware.org](http://wrapper.tanukisoftware.org)  
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[][o.s.a.es.EsSettings] Elasticsearch listening on /127.0.0.1:9200 2018.09.18 17:11:29 WARN app[][o.s.a.es.EsSettings] 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 -Djdk.io.permissionsUseCanonicalPath=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 **sonar.properties** file provided below:  
sonar.search.port=9200  
sonar.search.host=127.0.0.1  
sonar.search.httpPort=9200  
Entries below might not be relevant, but provided for reference  
sonar.web.host=127.0.0.1  
sonar.web.context=/sonar  
sonar.path.data=data  
sonar.path.temp=temp

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [October 16, 2018, 12:21pm UTC](https://discuss.elastic.co/t/integrating-elastic-search-with-sonarqube/148975/2 "2018-10-16T12:21:14Z")

</div>

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