Help connecting "Oracle Application Server" 10.1.3 OC4J  to Oracle 12c using Thin JDBC Driver

steveo2 used Ask the Experts™

I have a OC4J application running in oracle application server 10g.  It currently connects to an 11Gr2 database using an oracle thin jdbc connection.  I'm trying to connect the same app to a 12C data again using the thin jdbc connection with no success.  this is the error.

Unable to establish connection for one or more OC4J instances in the group. Below are the results for each OC4J instance.
"my OC4J: on "my site" - Failed due to error: "Exception occurred testing connection. Exception: java.sql.SQLException: Io exception: Got minus one from a read call."

I'm assuming it's due to a jdbc version issue.  I can connect via sqldeveloper to both dbs.  Any thoughts with updating the jdbc on the application server side would be appreciated.  thanks
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Most Valuable Expert 2012
Distinguished Expert 2018

My guess is the 10g JDBC driver cannot connect to a 12c database.

There is a client compatibility cross reference somewhere that says what will connect to what but I don't know where it is off the top of my head.

Not sure how to update just the JDBC driver to a higher version and still keep 10g apps.
I checked out oracle Jdbc compatabilty.  Turns out the OAS 10g can talk with 12CR1 but not R2.

thanks for pointing me in the right direction.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial