Blog Archive for September 20, 2010

Java can't connect to Oracle Database

September 20, 2010

I had a problem talking to my Oracle database from Java. Python worked fine. SQL*Plus worked fine. telnet to the Oracle port worked fine. Any connections from Java would give an error with the root cause of:

Io exception: The Network Adapter could not establish the connection.

This had me …