Fusion Middleware Control Fails to Start OHS with oracle.as.management .opmn.optic .OpticBadConnectE
Fusion Middleware Control Fails to Start OHS with oracle.as.management.opmn.optic.OpticBadConnectExc
Titleimage
Posted by Patrick Hamou on 2016:04:19 20:53:39
Applies to
Oracle Fusion Middleware - Version 11.1.1.6.0 and later
Information in this document applies to any platform.
Symptoms
When attempting to start Oracle HTTP Server from Enterprise Manager 11g Fusion Middleware Control (fmwctl), the following error occurs.
ERROR
-----------------------
oracle.as.management.opmn.optic.OpticBadConnectException: Could not get secure socket for host and port 6701
at oracle.as.management.opmn.optic.OpmnSSL.getSecureSocket(OpmnSSL.java:52)
at oracle.as.management.opmn.optic.OpmnPhone.dialOpmn(OpmnPhone.java:733)
at oracle.as.management.opmn.optic.OpmnPhone.getSocketForCall(OpmnPhone.java:455)
at oracle.as.management.opmn.optic.OpmnPhone.makePhoneCall(OpmnPhone.java:315)
at oracle.as.management.opmn.optic.OpmnPhone.request(OpmnPhone.java:270)
at oracle.as.management.opmn.optic.OpmnQuery.getBuf(OpmnQuery.java:482)
at oracle.as.management.opmn.optic.OpmnQuery.getDom(OpmnQuery.java:602)
at oracle.as.management.opmn.optic.OpmnQuery.getProc(OpmnQuery.java:750)
at oracle.as.management.mbeans.opmn.Opmn.queryProcessStatus(Opmn.java:322)
at oracle.as.management.mbeans.opmn.Opmn.getStatus(Opmn.java:79)
Caused By: java.net.UnknownHostException: host.domain
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:195)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:529)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:570)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.(SSLSocketImpl.java:371)
at com.sun.net.ssl.internal.ssl.SSLSocketFactoryImpl.createSocket(SSLSocketFactoryImpl.java:71)
at oracle.as.management.opmn.optic.OpmnSSL.getSecureSocket(OpmnSSL.java:48)
at oracle.as.management.opmn.optic.OpmnPhone.dialOpmn(OpmnPhone.java:733)
at oracle.as.management.opmn.optic.OpmnPhone.getSocketForCall(OpmnPhone.java:455)
at oracle.as.management.opmn.optic.OpmnPhone.makePhoneCall(OpmnPhone.java:315)
at oracle.as.management.opmn.optic.OpmnPhone.request(OpmnPhone.java:270)
at oracle.as.management.opmn.optic.OpmnQuery.getBuf(OpmnQuery.java:482)
at oracle.as.management.mbeans.opmn.Opmn.manageProcess(Opmn.java:239)
at oracle.as.management.mbeans.opmn.Opmn.startProcess(Opmn.java:103)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
where<hostname1>referes to the original host name of the machine.
Changes
The machine host name was changed from hostname1 to hostname2
Cause
After the host name change from hostname1 to hostname2, config.xml and topology.xml still contain entries for the old host, 'hostname1'.
As a result, OPMN attempts to make a connection to the old host name and port, which fails as reported in the error:
oracle.as.management.opmn.optic.OpticBadConnectException: Could not get secure socket for host <hostname1> and port 6701
Solution
- Take a backup of the domain and instance configuration.
- Update the configuration following:
Oracle Fusion Middleware Administrator's Guide 11g Release 1 (11.1.1)
Part Number E10105-14
15 Changing Network Configurations - Retry the start command.
Posted by Patrick Hamou on 2016:04:19 20:53:39