Intermittent Unable To Create And Persist User Session in OAAM Integrated Environment During Authentication (Doc ID 1579145.1)

Last updated on DECEMBER 12, 2016

Applies to:

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

Symptoms

 Intermittently users encounter an error during authentication via OAAM in an OAM integrated environment.  The following set of errors in the OAM logs are coincident with the login failure:

 

<Jul 10, 2013 9:46:39 AM EDT> <Warning> <oracle.oam.engine.authn> <BEA-000000> <DAP Token not received>
<Jul 10, 2013 9:46:49 AM EDT> <Error> <oracle.oam.controller> <OAM-02054> <SSO session creation failed.
oracle.security.am.common.utilities.exception.AmRuntimeException: Unable to create and persist user session
       at oracle.security.am.engines.sso.adapter.AbstractSessionAdapterImpl.createUpdateSession(AbstractSessionAdapterImpl.java:634)
       at oracle.security.am.engines.enginecontroller.SSOEngineController.createSession(SSOEngineController.java:2426)
       at oracle.security.am.engines.enginecontroller.SSOEngineController.processEvent(SSOEngineController.java:494)
       at oracle.security.am.controller.MasterController.processEvent(MasterController.java:589)
       at oracle.security.am.controller.MasterController.processRequest(MasterController.java:780)
       at oracle.security.am.proxy.oam.requesthandler.NGProvider.getSessionLessAuthnResponse(NGProvider.java:3244)
       at oracle.security.am.proxy.oam.requesthandler.NGProvider.getResponse(NGProvider.java:376)
       at oracle.security.am.proxy.oam.requesthandler.RequestHandler.handleRequest(RequestHandler.java:346)
       at oracle.security.am.proxy.oam.requesthandler.RequestHandler.handleMessage(RequestHandler.java:169)
       at oracle.security.am.proxy.oam.requesthandler.ControllerMessageBean.getResponseMessage(ControllerMessageBean.java:122)
       at oracle.security.am.proxy.oam.requesthandler.ControllerMessageBean_eo7ylc_MDOImpl.__WL_invoke(Unknown Source)
       at weblogic.ejb.container.internal.MDOMethodInvoker.invoke(MDOMethodInvoker.java:35)
       at oracle.security.am.proxy.oam.requesthandler.ControllerMessageBean_eo7ylc_MDOImpl.getResponseMessage(Unknown Source)
       at oracle.security.am.proxy.oam.mina.ObClientToProxyHandler.messageReceived(ObClientToProxyHandler.java:205)
       at org.apache.mina.common.DefaultIoFilterChain$TailFilter.messageReceived(DefaultIoFilterChain.java:743)
       at org.apache.mina.common.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:405)
       at org.apache.mina.common.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:40)
       at org.apache.mina.common.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:823)
       at org.apache.mina.common.IoFilterEvent.fire(IoFilterEvent.java:54)
       at org.apache.mina.common.IoEvent.run(IoEvent.java:62)
       at oracle.security.am.proxy.oam.mina.CommonJWorkImpl.run(CommonJWorkImpl.java:41)
       at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:184)
       at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
       at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
Caused By: oracle.security.am.engines.sme.exceptions.SmeSessionTimeOutException: OAMSSA-02042: Credentials for session 9b2cac86-5d78-452d-ad8c-c409c4e7b47b have expired.
       at oracle.security.am.engines.sme.mapstore.processors.AccessProcessor.isSessionTimeValid(AccessProcessor.java:196)
       at oracle.security.am.engines.sme.mapstore.processors.AccessProcessor.process(AccessProcessor.java:133)
       at oracle.security.am.engines.sme.mapstore.processors.DisconnectedAccessProcessor.process(DisconnectedAccessProcessor.java:73)
       at oracle.security.am.foundation.mapimpl.coherence.processor.ProcessorWrapper.process(ProcessorWrapper.java:90)
       at com.tangosol.util.processor.AbstractProcessor.processAll(AbstractProcessor.java:38)
       at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$Storage.invokeAll(PartitionedCache.CDB:25)
       at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache.onInvokeFilterRequest(PartitionedCache.CDB:89)
       at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$InvokeFilterRequest.run(PartitionedCache.CDB:1)
       at com.tangosol.coherence.component.net.message.requestMessage.DistributedCacheRequest.onReceived(DistributedCacheRequest.CDB:12)
       at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.onMessage(Grid.CDB:34)
       at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.onNotify(Grid.CDB:33)
       at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.PartitionedService.onNotify(PartitionedService.CDB:3)
       at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache.onNotify(PartitionedCache.CDB:3)
       at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:42)
       at java.lang.Thread.run(Thread.java:662)
>

 

A search of the database for the above session shows it is a UNIFIED-SESSION:

 

IAM_OAM.OAM_SESSION table:

9b2cac96-5d78-452d-ad8c-c409c4e7b47b f000vj4 UserStore UNIFIED-SESSION 10-JUL-13 12.42.48.816000000 AM 10-JUL-13 12.42.48.821000000 AM 10-JUL-13 12.42.48.830000000 AM 10-JUL-13 10.42.48.816000000 AM 10-JUL-13 12.42.48.830000000 AM 36000 28800

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