Application Server Configuration Assistants Fail Due to ONS Port Conflicts with Database Home

(Doc ID 369403.1)

Last updated on APRIL 13, 2016

Applies to:

Oracle Fusion Middleware - Version: to - Release: AS10gR2 to AS10gR2
Information in this document applies to any platform.
Checked for relevance on 02-Mar-2012


- Trying to install 10.1.2.x Identity Management against a Metadata Repository that resides in a 10.2 database.
- The database resides on the same server.
- The install fails on the SSO Configuration Assistant with the following errors reported to $ORACLE_HOME/cfgtoollogs file:

config_em_integ=truejava.sql.SQLException: Io exception: JNDI Package
failurejavax.naming.CommunicationException: kedo:389 [Root exception is
Address already in use]
at oracle.jdbc.driver.DatabaseError.throwSqlException(
at oracle.jdbc.driver.DatabaseError.throwSqlException(
at oracle.jdbc.driver.DatabaseError.throwSqlException(
at oracle.jdbc.driver.T4CConnection.logon(
at oracle.jdbc.driver.PhysicalConnection.<init>(
at oracle.jdbc.driver.T4CConnection.<init>(
at oracle.jdbc.driver.T4CDriverExtension.getConnection(
at oracle.jdbc.driver.OracleDriver.connect(
at java.sql.DriverManager.getConnection(
at java.sql.DriverManager.getConnection(

- "netstat -a" shows lots of open connections (over 100) to the ons local port e.g:

tcp 0 0 localhost.localdomain:54559 localhost.localdomain:6101 TIME_WAIT
tcp 0 0 localhost.localdomain:54558 localhost.localdomain:6101 TIME_WAIT


- Its also possible that the OC4J Configuration Assistant fails instead.
- Errors from $ORACLE_HOME/cfgtoollogs/

Initializing DCM...ERROR: Caught exception while initializing DCM.
oracle.ias.repository.schema.SchemaException: Unable to establish secure connection to Oracle
Internet Directory Server ldap:// Base Excep
tion : javax.naming.CommunicationException: host.domain:636 [Root exception is Address already in use]
at oracle.ias.repository.IASSchema.getDBPassword(
at oracle.ias.repository.SchemaManager.getDBPassword(
at oracle.ias.sysmgmt.persistence.SeedDbAccess.getDBPassword(Unknown Source)
at oracle.ias.sysmgmt.persistence.PersistenceManager.getSeedInfo(Unknown Source)
at oracle.ias.sysmgmt.persistence.PersistenceManager.<init>(Unknown Source)
at oracle.ias.sysmgmt.persistence.PersistenceManager.


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms