Coherence OAM Server Throws java.net.UnknownHostException

(Doc ID 2271265.1)

Last updated on MAY 29, 2017

Applies to:

Oracle Coherence - Version 3.7.1.13 to 12.2.1.2.0 [Release AS10g to 12c]
Information in this document applies to any platform.

Symptoms

On : 3.7.1.13 version, Oracle Coherence

OAM Admin Server and OAM Server1 are running on MACHINE1 and OAM Server2 is running on MACHINE2

OAM Server 2 is not joining the cluster and throwing below error

java.lang.ExceptionInInitializerError
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
at oracle.security.am.admin.config.util.GenericFactory.getManager(GenericFactory.java:335)
Truncated. see log file for complete stacktrace
Caused By: oracle.security.am.admin.config.exceptions.ObjectCreationException: Cannot get implementation for type ConfigNotificationListeners.
at oracle.security.am.admin.config.util.GenericFactory.readObject(GenericFactory.java:243)
at oracle.security.am.admin.config.util.GenericFactory.validateAndGetObjectForMap(GenericFactory.java:120)
at oracle.security.am.admin.config.util.GenericFactory.getInstance(GenericFactory.java:104)
at oracle.security.am.admin.config.util.NotificationLockHelper.(NotificationLockHelper.java:142)
at oracle.security.am.admin.config.util.NotificationLockHelper.(NotificationLockHelper.java:114)
Truncated. see log file for complete stacktrace
Caused By: java.lang.IllegalArgumentException: unresolvable localhost MACHINE1
at com.tangosol.internal.net.cluster.LegacyXmlClusterDependencies.configureUnicastListener(LegacyXmlClusterDependencies.java:199)
at com.tangosol.internal.net.cluster.LegacyXmlClusterDependencies.fromXml(LegacyXmlClusterDependencies.java:62)
at com.tangosol.coherence.component.util.SafeCluster.configure(SafeCluster.CDB:3)
at com.tangosol.net.CacheFactory.ensureCluster(CacheFactory.java:426)
at com.tangosol.net.DefaultConfigurableCacheFactory.ensureServiceInternal(DefaultConfigurableCacheFactory.java:973)
Truncated. see log file for complete stacktrace
Caused By: java.net.UnknownHostException: MACHINE1 is not a local address
at com.tangosol.net.InetAddressHelper.getLocalAddress(InetAddressHelper.java:118)
at com.tangosol.internal.net.cluster.LegacyXmlClusterDependencies.configureUnicastListener(LegacyXmlClusterDependencies.java:195)
at com.tangosol.internal.net.cluster.LegacyXmlClusterDependencies.fromXml(LegacyXmlClusterDependencies.java:62)
at com.tangosol.coherence.component.util.SafeCluster.configure(SafeCluster.CDB:3)
at com.tangosol.net.CacheFactory.ensureCluster(CacheFactory.java:426)
Truncated. see log file for complete stacktrace

 

Cause

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