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!

Deep Dive: Accelerate threat investigation with Splunk’s AI Assistant in Security

AI is one of the biggest topics in the market today, and for security teams, its value goes far beyond the ...

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...

Detection Engineering Office Hours: Real-World Troubleshooting & Q&A

[REGISTER HERE] This thread is for the Community Office Hours session on Detection Engineering Office Hours: ...