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!

Index This | What travels the world but is also stuck in place?

April 2026 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Discover New Use Cases: Unlock Greater Value from Your Existing Splunk Data

Realizing the full potential of your Splunk investment requires more than just understanding current usage; it ...

Continue Your Journey: Join Session 2 of the Data Management and Federation Bootcamp ...

As data volumes continue to grow and environments become more distributed, managing and optimizing data ...