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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...