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!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...