Oracle failure "The Network Adapter could not establish the connection" when using TNSNamesFile in JBoss EWS
Issue
-
The following URL is used to configure Oracle to connect to the database using the
tnsnames.ora
filejdbc:oracle:thin:TNSNamesFile=/config/my/path/tnsnames.ora;TNSServerName=MYTEST.DB1
-
Connection attempts fail with the following exception
... IO Error: The Network Adapter could not establish the connection
Environment
- Red Hat JBoss Enterprise Web Server (EWS) 3.1
- Oracle
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.