Most likely the issue is caused by the java jre/jdk version used. I had ran into this error on jre 1.6. Once I have upgraded to jre 1.7, the error has stopped occurring. I only needed the ojdbc6.jar in $SPLUNK_HOME/etc/apps/dbx/bin/lib and it has been working fine.
The latest jre/jdk can be obtained here:
http://www.oracle.com/technetwork/java/javase/downloads/index.html
... View more