Oracle, WebLogic and “The Network Adapter could not establish the connection”
Today I battled a periodic error, where my development WebLogic would not start, due to connection problems against the database. It was kinda strange, because other Java tools like DbVisualizer had no trouble. The exception:
Error starting JDBC transaction. Cause: java.sql.SQLException: Io-exeption: The Network Adapter could not establish the connection.
..turned out to lead me in the wrong direction.
I have had these kind of exceptions before, saying “The Network Adapter could not establish the connection”, and it has always been a problem of network connectivity. But this time, it was due to a driver misconfiguration. Or at least, an update of the ojdbc14.jar inside weblogic lib directory made the problem go away.
I do not know which version of ojdbc14.jar that came with my weblogic 8.1, but I dropped a v10.2.0.2.0 there, and it worked.
April 28, 2009
Tags: jdbc, oracle Posted in: Programming

Leave a Reply