Installation

Java Bridge Server not working after JDK upgrade

sroback_splunk
Splunk Employee
Splunk Employee

Hi.

We updated JDK on our Red Hat servers from version 1.6 to 1.7. Now our DB Connect App shows the Java Bridge Server is not running. And the dbx.log contains the following error messages:

2014-05-02 10:30:05.286 dbx6162:ERROR:TailDatabaseMonitor - Error while executing database monitor: com.splunk.dbx.DbxException: Error getting database connection: Pool not open
com.splunk.dbx.DbxException: Error getting database connection: Pool not open
at com.splunk.dbx.sql.factory.PooledConnectionFactory.getConnection(PooledConnectionFactory.java:72)
at com.splunk.dbx.sql.Database.getConnection(Database.java:508)
at com.splunk.dbx.sql.Database.prepare(Database.java:206)
at com.splunk.dbx.monitor.impl.TailDatabaseMonitor.performMonitoring(TailDatabaseMonitor.java:94)
at com.splunk.dbx.monitor.DatabaseMonitorExecutor.executeMonitor(DatabaseMonitorExecutor.java:126)
at com.splunk.dbx.monitor.DatabaseMonitorExecutor.call(DatabaseMonitorExecutor.java:102)
at com.splunk.dbx.monitor.DatabaseMonitorExecutor.call(DatabaseMonitorExecutor.java:37)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)
Caused by: java.lang.IllegalStateException: Pool not open
at org.apache.commons.pool.BaseKeyedObjectPool.assertOpen(BaseKeyedObjectPool.java:156)
at org.apache.commons.pool.impl.GenericKeyedObjectPool.borrowObject(GenericKeyedObjectPool.java:1109)
at com.splunk.dbx.sql.factory.PooledConnectionFactory.getConnection(PooledConnectionFactory.java:70)
... 14 more

Anyone know what might be causing this? Recommendations for a fix? Thanks!

1 Solution

ilink_splunk
Splunk Employee
Splunk Employee

This error occurs when the JDK version referenced in the path to JAVA_HOME inside the DB Connect app does not match the JDK version installed on the server. dbx.log will show an "Error_getting_database_connection:_Pool_not_open" message. The resolution for this issue can be found in the troubleshooting section of the DB Connect app docs.

View solution in original post

ilink_splunk
Splunk Employee
Splunk Employee

This error occurs when the JDK version referenced in the path to JAVA_HOME inside the DB Connect app does not match the JDK version installed on the server. dbx.log will show an "Error_getting_database_connection:_Pool_not_open" message. The resolution for this issue can be found in the troubleshooting section of the DB Connect app docs.

Get Updates on the Splunk Community!

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...

Introducing Splunk Enterprise 9.2

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