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!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...