All Apps and Add-ons

splunk db connect error No java path specified for stanza rpcstart://default

pop1989
Explorer

hi,everybody
now ,I install the app "splunk connect db v2" on splunk ,but when create connections the error occured "
Validating connection with URL [jdbc:oracle:thin:@BWPRDDB:1521:XE] failed, please verify that the connection is configured correctly."
in log dbx2.log ,I find the following error
"root@BWPRDCI:/opt/splunk_install/splunk/var/log/splunk>more more dbx2.log
more: A file or directory in the path name does not exist.
05/15/2015 10:04:14 [CRITICAL] [rpcstart.py] No java path specified for stanza rpcstart://default
05/15/2015 10:04:14 [CRITICAL] [rpcstart.py] RPC server has been terminated abnormally with error [No java path specified].
05/15/2015 10:04:29 [CRITICAL] [rpcstart.py] No java path specified for stanza rpcstart://default"
I have set java_home=/usr/java8_64/jre ,but the error still occured

Tags (1)

seanbarbour
New Member

to get mine working I had to use the directory /usr/java/jre1.8.0_74/. once I added this in the setup everything started to work.

0 Karma

jcoates_splunk
Splunk Employee
Splunk Employee

that looks like you haven't configured the java environment properly. Is the RPC Service running (this is the red or green light in the center of the navigation bar)?

0 Karma

esix_splunk
Splunk Employee
Splunk Employee

Post your inputs.conf from the DBX2 app.

Thanks
Eric

0 Karma
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: Classic British Rock Bands

This puzzle series (first published here) is based on extracting information from statements about well-known ...

New to the Community? Join Us for an Exclusive Post .conf26 Welcome Session (Plus a ...

Keep the .conf26 Energy Going: Welcome to the Splunk Community! Whether we scanned your badge at the Community ...

Accelerate Splunk App Development with AI

  Learn how to automate the repetitive parts of your build cycle.   Register to Attend   Join our Tech Talk ...