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
Get Updates on the Splunk Community!

Splunk Answers Content Calendar, June Edition

Get ready for this week’s post dedicated to Splunk Dashboards! We're celebrating the power of community by ...

What You Read The Most: Splunk Lantern’s Most Popular Articles!

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

See your relevant APM services, dashboards, and alerts in one place with the updated ...

As a Splunk Observability user, you have a lot of data you have to manage, prioritize, and troubleshoot on a ...