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!

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...