All Apps and Add-ons

Splunk DB Connect 2: Why am I getting "Error: Could not find or load main class com.splunk.dbx2.rpc.RPCServer"?

mmensch
Path Finder

Hi all,

I've checked the other posts regarding RPC connector.

My java home is in the correct spot and it is defined properly in the inputs.conf file.

The errors I am receiving are:

09/04/2015 13:30:17 [CRITICAL] [rpcstart.py] RPC server has been terminated abnormally with error [Error: Could not find or load main class com.splunk.dbx2.rpc.RPCServer].
0 Karma

ejharts2015
Communicator

This took me forever to figure out.... when I was importing the db drivers I somehow deleted the rpcserver-all.jar located at:

$SPLUNK_HOME$/etc/apps/splunk_app_db_connect/bin/lib/rpcserver-all.jar

Re-uploaded this missing jar from the original tar.gz off the Splunk app store, restarted the server and was golden!

Get Updates on the Splunk Community!

Splunk Decoded: Service Maps vs Service Analyzer Tree View vs Flow Maps

It’s Monday morning, and your phone is buzzing with alert escalations – your customer-facing portal is running ...

What’s New in Splunk Observability – September 2025

What's NewWe are excited to announce the latest enhancements to Splunk Observability, designed to help ITOps ...

Fun with Regular Expression - multiples of nine

Fun with Regular Expression - multiples of nineThis challenge was first posted on Slack #regex channel ...