All Apps and Add-ons

db connect oracle error

a212830
Champion

Hi,

I installed db connect, including the jdk. I am now attempting to connect to oracle, and I'm getting a "JDBC driver (oracle.jdbc.OracleDriver) for database type Oracle is not installed" error.

I'm assuming that Oracle drivers are needed. Is that correct? If so, where do they get installed within splunk?

0 Karma
1 Solution

rsennett_splunk
Splunk Employee
Splunk Employee

The installation location isn't unique to Splunk.
It is JAVA that has to find it so you can put it anywhere on the JAVA classpath or more commonly in the extensions directory of the JRE.
For JAVA JRE this is $JAVA_HOME/jre/lib/ext (i.e. /usr/lib64/jvm/jre-1.6.0-ibm/lib/ext)

The file will be ojdbc5.jar for Java 1.5, or ojdbc6.jar for version 1.6

You might look here for the version you need:

http://www.oracle.com/technetwork/database/enterprise-edition/jdbc-112010-090769.html

Of course, you'll adjust that if you're not on Oracle 11g Release 2

With Splunk... the answer is always "YES!". It just might require more regex than you're prepared for!

View solution in original post

rsennett_splunk
Splunk Employee
Splunk Employee

The installation location isn't unique to Splunk.
It is JAVA that has to find it so you can put it anywhere on the JAVA classpath or more commonly in the extensions directory of the JRE.
For JAVA JRE this is $JAVA_HOME/jre/lib/ext (i.e. /usr/lib64/jvm/jre-1.6.0-ibm/lib/ext)

The file will be ojdbc5.jar for Java 1.5, or ojdbc6.jar for version 1.6

You might look here for the version you need:

http://www.oracle.com/technetwork/database/enterprise-edition/jdbc-112010-090769.html

Of course, you'll adjust that if you're not on Oracle 11g Release 2

With Splunk... the answer is always "YES!". It just might require more regex than you're prepared for!
Get Updates on the Splunk Community!

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 ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...