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.orafilejdbc: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 of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
