Security

How to fix error setting up java environment for the dbx?

skender27
Contributor

Hi,

I put the path to java environment (C:\Program Files (x86)\Java\jre1.8.0_45) for splunk db connect for Splunk Enterprise (local use, not distributed), but I get the following error:
Encountered the following error while trying to update: In handler 'localapps': Error while posting to url=/servicesNS/nobody/dbx/dbx/install/java

Any suggestion since I am relatively new to Splunk?

Thanks,
Skender

0 Karma

jcoates_splunk
Splunk Employee
Splunk Employee

If the machine is at all underpowered or has any latency, you could be running into a known issue with Windows and REST APIs that causes setup tasks to timeout. SPL-86716 is the reference to check if you open a ticket. If Linux is an option, that should work better.

Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...