All Apps and Add-ons

Splunk DB Connect: The Java Bridge server is not running

otman01
Communicator

Hello everyone,

My problem is that the Javabridge is not running. This is an extract of the dbx.log (I don't see any problem ) any help?

2015-08-07 11:03:24.805 main:INFO:SplunkContext - Splunk Context initialized: SplunkContext{env=SplunkEnvironment{SPLUNK_HOME=/opt/splunk,SPLUNK_DB=/opt/splunk/var/lib/splunk}}
2015-08-07 11:03:25.193 main:INFO:Splunkd - Scheduling REST session keep-alive with an interval of 5m
2015-08-07 11:03:26.915 main:INFO:Splunkd - Initialized Splunkd REST service service=127.0.0.1:8089 sessionKey=74MOvDcFSxZnzAMsXInCZZiSSOzRyoItbpKC^gZbNqynzzrF3HuCCs_MKI7SmxJpHK1ZnnFbZvRNDq6Yw7Q4yLYClUtubLZUmN
2015-08-07 11:03:27.100 main:INFO:SplunkContext - Splunk Context initialized: SplunkContext{env=SplunkEnvironment{SPLUNK_HOME=/opt/splunk,SPLUNK_DB=/opt/splunk/var/lib/splunk}}
2015-08-07 11:03:27.457 main:INFO:Splunkd - Scheduling REST session keep-alive with an interval of 5m
2015-08-07 11:03:29.228 main:INFO:Splunkd - Initialized Splunkd REST service service=127.0.0.1:8089 sessionKey=74MOvDcFSxZnzAMsXInCZZiSSOzRyoItbpKC^gZbNqynzzrF3HuCCs_MKI7SmxJpHK1ZnnFbZvRNDq6Yw7Q4yLYClUtubLZUmN
2015-08-07 11:03:29.433 main:INFO:SplunkContext - Splunk Context initialized: SplunkContext{env=SplunkEnvironment{SPLUNK_HOME=/opt/splunk,SPLUNK_DB=/opt/splunk/var/lib/splunk}}
2015-08-07 11:03:29.729 main:INFO:Splunkd - Scheduling REST session keep-alive with an interval of 5m
0 Karma

woodcock
Esteemed Legend

The documentation is very clear about the prerequisites for DB Connect (see link below). Did you install Java Run Time on your Search Head? Make sure that you did EVERYTHING in this link:

http://docs.splunk.com/Documentation/DBX/2.0.4/DeployDBX/Prerequisites

0 Karma

otman01
Communicator

thank you woodcock,
I will take a look and I will response after .

0 Karma

otman01
Communicator
  • ERROR Java process returned error code 1! Error: Initializing Splunk context... Environment: SplunkEnvironment{SPLUNK_HOME=/opt/splunk,SPLUNK_DB=/opt/splunk/var/lib/splunk} Configuring Log4j... Exception in thread "main" com.splunk.env.SplunkEnvironmentException: Error running InitializationTask com.splunk.dbx.sql.factory.DatabaseFactoryInitializer: com.splunk.config.SplunkConfigurationException
  • ERROR Command output: None
  • INFO Checking for obsolete java libraries in /opt/splunk/etc/apps/dbx/bin/lib
  • INFO Started JavaBridgeServer PID=4388
0 Karma

otman01
Communicator

thank you ppabb, this is what the jbridge.log continat

0 Karma

jnussbaum_splun
Splunk Employee
Splunk Employee

Could you paste what's in the jbridge.log file? Also - what version of java are you running?

0 Karma

otman01
Communicator
  • ERROR Java process returned error code 1! Error: Initializing Splunk context... Environment: SplunkEnvironment{SPLUNK_HOME=/opt/splunk,SPLUNK_DB=/opt/splunk/var/lib/splunk} Configuring Log4j... Exception in thread "main" com.splunk.env.SplunkEnvironmentException: Error running InitializationTask com.splunk.dbx.sql.factory.DatabaseFactoryInitializer: com.splunk.config.SplunkConfigurationException
  • ERROR Command output: None
  • INFO Checking for obsolete java libraries in /opt/splunk/etc/apps/dbx/bin/lib
  • INFO Started JavaBridgeServer PID=4388
0 Karma

otman01
Communicator

I respond as answer, because is too long.

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!

May 2026 Splunk Expert Sessions: Security & Observability

Level Up Your Operations: May 2026 Splunk Expert Sessions Whether you are refining your security posture or ...

Network to App: Observability Unlocked [May & June Series]

In today’s digital landscape, your environment is no longer confined to the data center. It spans complex ...

SPL2 Deep Dives, AppDynamics Integrations, SAML Made Simple and Much More on Splunk ...

Splunk Lantern is Splunk’s customer success center that provides practical guidance from Splunk experts on key ...