<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Splunk_DB Connect V3 picks up wrong JAVA_HOME Version in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-V3-picks-up-wrong-JAVA-HOME-Version/m-p/341727#M41249</link>
    <description>&lt;P&gt;Yes the 1.7 version is needed for the other version. &lt;/P&gt;

&lt;P&gt;After I replace the old 1.7 path with the 1.8 path in the UI and click on Save of Task server settings, the dbx_settings.conf file is reflecting as below.&lt;/P&gt;

&lt;P&gt;bash-4.2$ more dbx_settings.conf&lt;BR /&gt;
[java]&lt;BR /&gt;
javaHome = /opt/applocal/asts/vendor/java/jdk/jdk1.8.0_121&lt;/P&gt;

&lt;P&gt;But still the UI shows the error message "Unable to communicate to task server" and the app is down.&lt;/P&gt;

&lt;P&gt;I dont find customized.java.path in any of the files. I only see this commnds.conf. Where do I check for this?&lt;BR /&gt;
 $SPLUNK_HOME/etc/app/splunk_app_db_connect/local/commands.conf&lt;BR /&gt;
[dbxquery]&lt;BR /&gt;
filename = customized.java.path&lt;/P&gt;

&lt;P&gt;[dbxoutput]&lt;BR /&gt;
filename = customized.java.path&lt;/P&gt;

&lt;P&gt;[dbxlookup]&lt;BR /&gt;
filename = customized.java.path&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 13:46:19 GMT</pubDate>
    <dc:creator>saranya_fmr</dc:creator>
    <dc:date>2020-09-29T13:46:19Z</dc:date>
    <item>
      <title>Splunk_DB Connect V3 picks up wrong JAVA_HOME Version</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-V3-picks-up-wrong-JAVA-HOME-Version/m-p/341725#M41247</link>
      <description>&lt;P&gt;During the DB Connect install , Splunk picks up the old version as seen below. &lt;BR /&gt;
This version of 1.7 is set as JAVA_HOME for a different agent (Udeploy agent) installed in the same host.&lt;BR /&gt;
&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/2813i984388880EE0EE94/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;We set JAVA_HOME to point to the jdk 1.8u121 in the .bashrc file for the splunk account. But still it picks this old version.&lt;/P&gt;

&lt;P&gt;I tried providing the latest version path and clicked on SAVE to restart the task server , but still DB Connect is not up as shown below.&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/2814iBC8E74CC78F35504/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;But a manual restart of splunk on the host fixes this and DB Connect is UP and fine. But as per Splunk doc , we just need to provide the right java path and save . Splunk restart is not required at all.&lt;/P&gt;

&lt;P&gt;Firstly , how to make Splunk pick the right JAVA version?&lt;/P&gt;

&lt;P&gt;Secondly , why not providing the rigth JAVA PATH and saving it make it work? Why is Splunk resrart required?&lt;/P&gt;</description>
      <pubDate>Sun, 23 Apr 2017 15:32:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-V3-picks-up-wrong-JAVA-HOME-Version/m-p/341725#M41247</guid>
      <dc:creator>saranya_fmr</dc:creator>
      <dc:date>2017-04-23T15:32:02Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk_DB Connect V3 picks up wrong JAVA_HOME Version</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-V3-picks-up-wrong-JAVA-HOME-Version/m-p/341726#M41248</link>
      <description>&lt;P&gt;Does the 1.7 Java path existin on your system? Is it required?&lt;/P&gt;

&lt;P&gt;Can you check the dbx_settings.conf file for JDK path?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;$SPLUNK_HOME/etc/app/splunk_app_db_connect/local
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Also based on the OS in your case &lt;STRONG&gt;linux_x86_64\bin&lt;/STRONG&gt;,you can check the same folder in DB Connect app's Splunk folder for the path in &lt;STRONG&gt;customized.java.path&lt;/STRONG&gt; whether it is JDK 1.8 or 1.7.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 13:46:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-V3-picks-up-wrong-JAVA-HOME-Version/m-p/341726#M41248</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2020-09-29T13:46:13Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk_DB Connect V3 picks up wrong JAVA_HOME Version</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-V3-picks-up-wrong-JAVA-HOME-Version/m-p/341727#M41249</link>
      <description>&lt;P&gt;Yes the 1.7 version is needed for the other version. &lt;/P&gt;

&lt;P&gt;After I replace the old 1.7 path with the 1.8 path in the UI and click on Save of Task server settings, the dbx_settings.conf file is reflecting as below.&lt;/P&gt;

&lt;P&gt;bash-4.2$ more dbx_settings.conf&lt;BR /&gt;
[java]&lt;BR /&gt;
javaHome = /opt/applocal/asts/vendor/java/jdk/jdk1.8.0_121&lt;/P&gt;

&lt;P&gt;But still the UI shows the error message "Unable to communicate to task server" and the app is down.&lt;/P&gt;

&lt;P&gt;I dont find customized.java.path in any of the files. I only see this commnds.conf. Where do I check for this?&lt;BR /&gt;
 $SPLUNK_HOME/etc/app/splunk_app_db_connect/local/commands.conf&lt;BR /&gt;
[dbxquery]&lt;BR /&gt;
filename = customized.java.path&lt;/P&gt;

&lt;P&gt;[dbxoutput]&lt;BR /&gt;
filename = customized.java.path&lt;/P&gt;

&lt;P&gt;[dbxlookup]&lt;BR /&gt;
filename = customized.java.path&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 13:46:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-V3-picks-up-wrong-JAVA-HOME-Version/m-p/341727#M41249</guid>
      <dc:creator>saranya_fmr</dc:creator>
      <dc:date>2020-09-29T13:46:19Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk_DB Connect V3 picks up wrong JAVA_HOME Version</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-V3-picks-up-wrong-JAVA-HOME-Version/m-p/341728#M41250</link>
      <description>&lt;P&gt;Folder linux_x86_64 should be present at the root path where ever DB Connect 3 is installed in Splunk directory.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;$SPLUNK_HOME/etc/app/splunk_app_db_connect/linux_x86_64/bin
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 29 Sep 2020 13:46:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-V3-picks-up-wrong-JAVA-HOME-Version/m-p/341728#M41250</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2020-09-29T13:46:22Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk_DB Connect V3 picks up wrong JAVA_HOME Version</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-V3-picks-up-wrong-JAVA-HOME-Version/m-p/341729#M41251</link>
      <description>&lt;P&gt;yes , it takes 1.8&lt;BR /&gt;
bash-4.2$ more customized.java.path&lt;BR /&gt;
/opt/applocal/asts/vendor/java/jdk/jdk1.8.0_121/bin/java&lt;BR /&gt;
bash-4.2$&lt;/P&gt;</description>
      <pubDate>Mon, 24 Apr 2017 07:32:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-V3-picks-up-wrong-JAVA-HOME-Version/m-p/341729#M41251</guid>
      <dc:creator>saranya_fmr</dc:creator>
      <dc:date>2017-04-24T07:32:59Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk_DB Connect V3 picks up wrong JAVA_HOME Version</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-V3-picks-up-wrong-JAVA-HOME-Version/m-p/341730#M41252</link>
      <description>&lt;P&gt;@saranya_fmr - Sounds like you did a good job cross checking with the docs but still ran into some break/fix issues. I encourage you to open a support ticket with Splunk. Let's make sure that whatever the root cause gets documented and fixed and the supporting documentation is clear. Cool?&lt;/P&gt;</description>
      <pubDate>Tue, 25 Apr 2017 12:14:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-V3-picks-up-wrong-JAVA-HOME-Version/m-p/341730#M41252</guid>
      <dc:creator>sloshburch</dc:creator>
      <dc:date>2017-04-25T12:14:12Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk_DB Connect V3 picks up wrong JAVA_HOME Version</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-V3-picks-up-wrong-JAVA-HOME-Version/m-p/341731#M41253</link>
      <description>&lt;P&gt;Silly me, I see you DID open a support case already! Great job!&lt;/P&gt;</description>
      <pubDate>Tue, 25 Apr 2017 12:24:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-V3-picks-up-wrong-JAVA-HOME-Version/m-p/341731#M41253</guid>
      <dc:creator>sloshburch</dc:creator>
      <dc:date>2017-04-25T12:24:29Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk_DB Connect V3 picks up wrong JAVA_HOME Version</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-V3-picks-up-wrong-JAVA-HOME-Version/m-p/341732#M41254</link>
      <description>&lt;P&gt;This appears to be a bug. Look for DBX-4124 in the &lt;A href="http://docs.splunk.com/Documentation/DBX/latest/ReleaseNotes/Releasenotes"&gt;Release Notes&lt;/A&gt; to see when it is updated. In the interim, a restart appears to be the only workaround.&lt;/P&gt;</description>
      <pubDate>Wed, 17 May 2017 12:32:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-V3-picks-up-wrong-JAVA-HOME-Version/m-p/341732#M41254</guid>
      <dc:creator>sloshburch</dc:creator>
      <dc:date>2017-05-17T12:32:45Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk_DB Connect V3 picks up wrong JAVA_HOME Version</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-V3-picks-up-wrong-JAVA-HOME-Version/m-p/341733#M41255</link>
      <description>&lt;P&gt;Try adding "/jre" to your JAVA_HOME path.  From what I have read, it requires a JRE, and not the JDK.&lt;/P&gt;</description>
      <pubDate>Wed, 17 May 2017 17:11:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-V3-picks-up-wrong-JAVA-HOME-Version/m-p/341733#M41255</guid>
      <dc:creator>russellliss</dc:creator>
      <dc:date>2017-05-17T17:11:33Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk_DB Connect V3 picks up wrong JAVA_HOME Version</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-V3-picks-up-wrong-JAVA-HOME-Version/m-p/341734#M41256</link>
      <description>&lt;P&gt;I had a similar problem and ended up modifying&lt;/P&gt;

&lt;P&gt;$SPLUNK_HOME/etc/apps/splunk_app_db_connect/linux_x86_64/bin/customized.java.path which appears to retain whatever path was configured when the app was setup.&lt;/P&gt;

&lt;P&gt;I changed the contents to:&lt;/P&gt;

&lt;P&gt;/usr/java/latest/bin/java &lt;/P&gt;

&lt;P&gt;so it'll cover me the next time I upgrade.&lt;/P&gt;

&lt;P&gt;I don't know if this is recommended, but it did work.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 20:44:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-V3-picks-up-wrong-JAVA-HOME-Version/m-p/341734#M41256</guid>
      <dc:creator>pkeller</dc:creator>
      <dc:date>2020-09-29T20:44:44Z</dc:date>
    </item>
  </channel>
</rss>

