Error “java.sql.SQLException:io Exception:The Network Adapter Could Not Establish Connection”

Environment Details

OAM server details: Osinfra application server version is 10.1.4.3 and OAM components version is 10.1.4.3. OID is used for data store.  One of the target applications called Oracle Financial; we tried to register OF application as partner application in OSSO and tried to execute the script from OF server. Unable to register OF as partner application of OSSO. The Error is

java.sql.SQLException: Io exception: The Network Adapter could not establish the connection atoracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:111) atoracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:145) atoracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:254) atoracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:386) atoracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:413) atoracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:164)Reason: •Ports are not opened between servers (OF, SSO DB) or host entry does not exist.Solution:1. Ensure that the database server host name exists in the etc/hosts file in both server or not.

2. If ports are not opened between the servers then please open the ports.

3. Re-execute the script, it will work fine.

Comments are closed.

Scroll to Top