I have recently changed my Oracle 9 databse to a new database (still Oracle 9). I have an application that connects to the database. I have changed the configuration file to point to my new databases IP address. When I load my application I get the error below. Based on my research, it seems the issue is an out of date driver. My application used to use classes12_01.zip. I have now replaced this driver with ojdbc14.jar. I am still getting this error. I believe I am able to create the driver correctly. The issue happens when My driver tries to find my new database in the connection pool. It says it doesn’t exist.
Has anyone got a solution to my problem.
Wed Mar 21 11:44:18 GMT+00:00 2012:<E> <JDBC Pool> Failed to create connection pool "xxxPool"
weblogic.common.ResourceException: weblogic.common.ResourceException:
Could not create pool connection. The DBMS driver exception was:
java.lang.ArrayIndexOutOfBoundsException: 7
at oracle.security.o3logon.C1.r(C1)
at oracle.security.o3logon.C1.l(C1)
at oracle.security.o3logon.C0.e(C0)
at oracle.security.o3logon.O3LoginClientHelper.getEPasswd(O3LoginClientHelper)
at oracle.jdbc.ttc7.O3log.<init>(O3log.java:287)
at oracle.jdbc.ttc7.TTC7Protocol.logon(TTC7Protocol.java:227)
at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:198)
at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:251)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:224)
Your driver ought to be the best match of JDK and Oracle version you can find.
ojbbc14.jar is still very much out of date. JDK 7 is the standard today.
WebLogic is certified with a particular JDK version when you install it. Which version of WebLogic are you using? Which JDK is it certified for? Which version of Oracle?
With all three of those answers in hand, you can select a JDBC driver. But not before. Both of your classes12 and ojbdc14 choices are likely to be incorrect.
I’m guessing that WebLogic is using JDK6, so you should get ojdbc6.jar for your version of Oracle.