Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to change the JDBC driver?

915091Jul 17 2013 — edited Jul 17 2013

Hello,

we're working with the JDev 11.1.2.3.0 and since the new 12c driver is released we wanted to create a POC with some of the new features of the 12c JDBC driver. However, when i replace the jdbc driver in the path ../middleware/welsserver_10.3/server/lib of the Integrated Weblogic with the new one. I can not connect with the database anymore in the JDeveloper. I get an error like NoSuchFieldError in o.jdbc.driver.T4CConnection:1318 or Test failed: thinJndiLdapConnectTimeout when I test the connection settings.


So I assume it's not enought to just change the jar in this directory. What else do I have to do so that I could test some of the new feature?

Thanks in advance.

Comments

Timo Hahn

I'm not sure that you changed the drivers in the right directory. When I search for jdbc jars I find them in [installpath]\oracle_common\modules\oracle.jdbc_11.1.1\

Timo

915091

TimoHahn schrieb:

I'm not sure that you changed the drivers in the right directory. When I search for jdbc jars I find them in [installpath]\oracle_common\modules\oracle.jdbc_11.1.1\

Timo

According to this Using JDBC Drivers with WebLogic Server - 12c Release 1 (12.1.1) the directory should be WL_HOME\server\lib, or is the directory for the JDev?

Timo Hahn

You are mixing versions here. JDev 11.1.2.3.0 runs on wls 10.3.5 or 10.3.6 and nit on WLS12c!

The you need to be clear about where you want to do your tests: jdev (integrated wls) or stand alone wls

Depending on the answers to your questions you choose the directory fro your new jdbc drivers.

Timo

915091

TimoHahn schrieb:

I'm not sure that you changed the drivers in the right directory. When I search for jdbc jars I find them in [installpath]\oracle_common\modules\oracle.jdbc_11.1.1\

Timo

When I replace the driver in that directory. I got the same error.

1 - 4
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Aug 14 2013
Added on Jul 17 2013
4 comments
727 views