All Apps and Add-ons

Splunk DB Connect 2: Why is the Setup page saying I have the wrong JRE Installation Path?

rubeniturrieta
Communicator

Hi guys

I'm trying to set up Splunk DB Connect 2, but I can't save the Setup because it's saying that the JRE Installation Path is wrong. Splunk is running under Windows with Java SE 8.

alt text

How to solve this?

Any help, i'll be grateful

Regards

1 Solution

masonmorales
Influencer

Here's how you can configure it manually:

1) Go to: C:\Program Files\Splunk\etc\apps\splunk_app_db_connect\local
2) Create a new file name app.conf (if you create it using right click -> new -> text document, ensure that Windows Explorer is not hiding known file extensions, or it'll really be called app.conf.txt and it won't work)
3) Open the app.conf file in a text edit and add the following to it:

[install]
is_configured = 1

4) Save and close the app.conf file
5) Open the following file in a text editor: C:\Program Files\Splunk\etc\apps\splunk_app_db_connect\local\inputs.conf
6) Update the following

 [rpcstart://default]
javahome = C:\Program Files\Java\jre1.8.0_60

7) Restart Splunk via command prompt

"C:\Program Files\Splunk\bin\splunk.exe" restart

View solution in original post

masonmorales
Influencer

Here's how you can configure it manually:

1) Go to: C:\Program Files\Splunk\etc\apps\splunk_app_db_connect\local
2) Create a new file name app.conf (if you create it using right click -> new -> text document, ensure that Windows Explorer is not hiding known file extensions, or it'll really be called app.conf.txt and it won't work)
3) Open the app.conf file in a text edit and add the following to it:

[install]
is_configured = 1

4) Save and close the app.conf file
5) Open the following file in a text editor: C:\Program Files\Splunk\etc\apps\splunk_app_db_connect\local\inputs.conf
6) Update the following

 [rpcstart://default]
javahome = C:\Program Files\Java\jre1.8.0_60

7) Restart Splunk via command prompt

"C:\Program Files\Splunk\bin\splunk.exe" restart

rubeniturrieta
Communicator

It's working!, thanks you very much!

0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...