OAM 11g on HPUnix : Errors Starting Oam_server For OAM "AMInitServlet" Failed To Preload On Startup (Doc ID 1941245.1)

Last updated on JUNE 12, 2016

Applies to:

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

Symptoms

OAM 11.1.1.7.0
Java 1.6.0.16
os.arch = IA64N
os.name = HP-UX
os.version = B.11.31


NO Webtier installed  on this machine
startup log shows instance is configured with   -Djava.net.preferIPV4stack=true

OAMdomain.log

A. Error 1

####<Oct 22, 2014 12:08:11 PM IST> <Error> <Coherence> <xxxxxxxx> <AdminServer> <Logger@19607430 3.5.3/465p2> <<anonymous>> <> <0000K^q^blCFw000jzwkno1KHp17000003> <14139
59891985> <BEA-000000> <2014-10-22 12:08:11.985/187.350 Oracle Coherence GE 3.5.3/465p2 <Error> (thread=Cluster, member=n/a): Node /192.168.30.58:9095 is not allowed to create a new cluster; WKA list: [IFMISDCACSM1/127.0.0.1:9095]>
####<Oct 22, 2014 12:08:11 PM IST> <Error> <Coherence> <xxxxxxxx> <AdminServer> <Logger@19607430 3.5.3/465p2> <<anonymous>> <> <0000K^q^blCFw000jzwkno1KHp17000003> <14139
59891995> <BEA-000000> <2014-10-22 12:08:11.990/187.355 Oracle Coherence GE 3.5.3/465p2 <Error> (thread=[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-
tuning)', member=n/a): Error while starting cluster: java.lang.RuntimeException: Failed to start Service "Cluster" (ServiceState=SERVICE_STOPPED, STATE_ANNOUNCE)
       at com.tangosol.coherence.component.util.daemon.queueProcessor.Service.start(Service.CDB:38)
       at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.start(Grid.CDB:38)

 

B. Error 2


####<Oct 22, 2014 12:08:57 PM IST> <Error> <oracle.oam.foundation.access> <IFMISDCACSM1> <AdminServer> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-
tuning)'> <<anonymous>> <> <0000K^q^blCFw000jzwkno1KHp17000003> <1413959937434> <BEA-000000> <Exception on bootstrap of component ExtensibilityLifecycle.
java.lang.ExceptionInInitializerError
       at oracle.security.am.extensibility.lifecycle.utils.LifecycleUtil.initDistribution(LifecycleUtil.java:30)
       at oracle.security.am.extensibility.lifecycle.ExtensibilityLifecycleImpl.initialize(ExtensibilityLifecycleImpl.java:37)
       at oracle.security.am.lifecycle.ApplicationLifecycle.initComponentBootstrap(ApplicationLifecycle.java:158)
       at oracle.security.am.lifecycle.ApplicationLifecycle.contextInitialized(ApplicationLifecycle.java:88)



####<Oct 22, 2014 12:15:09 PM IST> <Error> <HTTP> <xxxxxxxx> <oam_server1> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <0000K^qaQekFw000jzwkno1KHp90000003> <1413960309954> <BEA-101216> <Servlet: "AMInitServlet" failed to preload on startup in Web application: "oam".
java.lang.ExceptionInInitializerError
       at oracle.security.am.engines.sso.adapter.AbstractSessionAdapterImpl.checkAndInit(AbstractSessionAdapterImpl.java:92)
       at oracle.security.am.engines.sso.adapter.AbstractSessionAdapterImpl.<init>(AbstractSessionAdapterImpl.java:75)
       at oracle.security.am.engines.sso.adapter.MultipleUserSessionAdapterImpl.<init>(MultipleUserSessionAdapterImpl.java:56)
       at oracle.security.am.engines.sso.adapter.MultipleUserSessionAdapterImpl.<clinit>(MultipleUserSessionAdapterImpl.java:45)


      at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
       at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
Caused By: oracle.security.am.common.utilities.exception.AmRuntimeException: OAM Server Key initialization failed.
       at oracle.security.am.engines.sso.adapter.OAMSessionConfiguration$ConfigListener.configurationChanged(OAMSessionConfiguration.java:148)
       at oracle.security.am.engines.sso.adapter.OAMSessionConfiguration.registerConfigChangeListener(OAMSessionConfiguration.java:73)
       at oracle.security.am.engines.sso.adapter.OAMSessionConfiguration.<init>(OAMSessionConfiguration.java:67)
       at oracle.security.am.engines.sso.adapter.OAMSessionConfiguration.<clinit>(OAMSessionConfiguration.java:57)
       at oracle.security.am.engines.sso.adapter.AbstractSessionAdapterImpl.checkAndInit(AbstractSessionAdapterImpl.java:92)


       at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
Caused By: javax.crypto.BadPaddingException: Given final block not properly padded
       at com.sun.crypto.provider.CipherCore.doFinal(CipherCore.java:810)
       at com.sun.crypto.provider.CipherCore.doFinal(CipherCore.java:675)
       at com.sun.crypto.provider.AESCipher.engineDoFinal(AESCipher.java:313)
       at javax.crypto.Cipher.doFinal(Cipher.java:2087)
       at oracle.security.am.common.utilities.crypto.AESEncrypter.decrypt(AESEncrypter.java:159)
       at oracle.security.am.common.utilities.crypto.OAMKeyStore.decryptKeyData(OAMKeyStore.java:292)


ANS- This is because bootstraping failed and oam-config.xml is not updated. 

Changes

 New Install

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