OAM Deployments Failing In New OAM Domain Caused By: java.net.UnknownHostException: AdminServerHostname is not a local address (Doc ID 2114147.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Access Manager - Version 11.1.2.3.0 and later
Information in this document applies to any platform.

Symptoms

In a newly-created OAM domain, three deployments fail to start

oam_admin (11.1.2.0.0)
oam_policy_mgr (11.1.2.0.0)
oam_server (11.1.2.0.0)

oam-server1 is the host for the admin server. The host for the managed server is oam-server2. oam-server1 & oam-server 2 are two different machines.


Attempting to start the oam_server deployment from the admin console puts this in the log:
<Feb 27, 2016 9:23:07 AM EST> <Warning> <HTTP> <BEA-101162> <User defined listener oracle.security.am.lifecycle.ApplicationLifecycle failed: java.lang.ExceptionInInitializerError.
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.<init>(NotificationLockHelper.java:142)
at oracle.security.am.admin.config.util.NotificationLockHelper.<init>(NotificationLockHelper.java:114)
Truncated. see log file for complete stacktrace
Caused By: java.lang.IllegalArgumentException: unresolvable localhost apa-wex-1265
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: AdminServerHostname 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
>
<Feb 27, 2016 9:23:07 AM EST> <Error> <Deployer> <BEA-149231> <Unable to set the activation state to true for the application 'oam_server [Version=11.1.2.0.0]'.
weblogic.application.ModuleException:
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1520)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:484)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
Truncated. see log file for complete stacktrace
Caused By: java.net.UnknownHostException: AdminServerHostname 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