OID 11g to 12c Upgrade Fails with Error "java.net.ConnectException: Connection timed out"
(Doc ID 2442281.1)
Last updated on AUGUST 13, 2021
Applies to:
Oracle Internet Directory - Version 11.1.1.9.0 and laterOracle Platform Security for Java - Version 11.1.1.9.0 and later
Information in this document applies to any platform.
Symptoms
- Upgrading OID 11.1.1.9 to 12c Fails with the following error
[security] [WARNING] [] [oracle.security.opss.internal.runtime.ServiceContextManagerImpl] [tid: <TID>] [ecid: <ECID>] Bootstrap services are used by OPSS internally and clients should never need to directly read/write bootstrap credentials. If required, use Wlst or configuration management interfaces.
[2018-08-16T12:13:51.310+03:00] [OPSS] [INCIDENT_ERROR] [] [upgrade.OPSS.OPSS_SCHEMA_PLUGIN] <TID>] [ecid: <ECID>] Oracle Platform Security Services schema status check error. Check the exception for more details
[OPSS] [INCIDENT_ERROR] [] [upgrade.OPSS.OPSS_SCHEMA_PLUGIN] <TID>] [ecid: <ECID>] [[
oracle.security.jps.service.policystore.PolicyStoreConnectivityException: <LDAP_SERVER_IP_ADDRESS/HOSTNAME/>:<LDAP_PORT> java.net.ConnectException: Connection timed out (Connection timed out)
at oracle.security.jps.internal.common.ldap.connection.pool.AbstractConnectionPool.isPassingSanityConnectionTest(AbstractConnectionPool.java:150)
:
:
at java.lang.Thread.run(Thread.java:748)
Caused by: javax.naming.CommunicationException: <LDAP_SERVER_IP_ADDRESS/HOSTNAME/>:<LDAP_PORT> [Root exception is java.net.ConnectException: Connection timed out (Connection timed out)]
at com.sun.jndi.ldap.Connection.<init>(Connection.java:226)
:
:
at javax.naming.ldap.InitialLdapContext.<init>(InitialLdapContext.java:154)
at oracle.security.jps.internal.common.ldap.connection.pool.AbstractConnectionPool.isPassingSanityConnectionTest(AbstractConnectionPool.java:143)
... 19 more
Caused by: java.net.ConnectException: Connection timed out (Connection timed out)
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:589)
at java.net.Socket.connect(Socket.java:538)
at java.net.Socket.<init>(Socket.java:434)
at java.net.Socket.<init>(Socket.java:211)
at com.sun.jndi.ldap.Connection.createSocket(Connection.java:363)
at com.sun.jndi.ldap.Connection.<init>(Connection.java:203)
... 36 more
- The pre upgrade readiness report shows the following warning
- jps-config.xml file shows OID is configured as Security Store
<property name="bootstrap.security.principal.key" value="bootstrap_<ENCRYPTED_VALUE>"/>
<property name="oracle.security.jps.farm.name" value="cn=<FARMNAME>"/>
<property name="oracle.security.jps.ldap.root.name" value="cn=<JPS_ROOT_CONTAINER>"/>
<property name="ldap.url" value="ldap://<LDAP_SERVER_IP_ADDRESS/HOSTNAME/>:<LDAP_PORT>"/>
</propertySet>
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Cause |
Solution |
References |