Not Redirected To Login Screen When Both OAM_SERVERS are up for a HA setup (Doc ID 1325147.1)

Last updated on NOVEMBER 08, 2016

Applies to:

Oracle Access Manager - Version 11.1.1.3.0 to 11.1.1.3.0 [Release 11g]
IBM AIX on POWER Systems (64-bit)
IBM AIX on POWER Systems (32-bit)

Symptoms

Setup works fine when either of the OAM_SERVERS for the High Availability setup is up. But when both OAM_SERVERS are running, you are not redirected to the login page.

Following exception is seen in oam-diagnostic.log:


[2011-05-17T18:16:49.211-04:00] [oam_server1] [ERROR] [OAM-02054] [oracle.oam.controller] [tid: NioProcessor-1] [userId: <anonymous>] [ecid: 0000Izzf2y^2RP0_vx0FyX1Doha200001N,0] [APP: oam_server] [dcid: 942f3cf366f42a91:4b7f0133:12fffa1f4f6:-8000-0000000000000010] 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.SMEAdapter.createUpdateSession(SMEAdapter.java:306)
at oracle.security.am.engines.enginecontroller.SSOEngineController.processEvent(SSOEngineController.java:421)
at oracle.security.am.controller.MasterController.processEvent(MasterController.java:331)
at oracle.security.am.controller.MasterController.processRequest(MasterController.java:491)
at oracle.security.am.proxy.oam.requesthandler.NGProvider.getAuthenticateWAuditResponse(NGProvider.java:720)
at oracle.security.am.proxy.oam.requesthandler.NGProvider.getResponse(NGProvider.java:228)
at oracle.security.am.proxy.oam.requesthandler.RequestHandler.handleMessage(RequestHandler.java:311)
at oracle.security.am.proxy.oam.requesthandler.ControllerMessageBean.getResponseMessage(ControllerMessageBean.java:75)
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:207)
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.filter.codec.ProtocolCodecFilter$ProtocolDecoderOutputImpl.flush(ProtocolCodecFilter.java:379)
at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:173)
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.DefaultIoFilterChain$HeadFilter.messageReceived(DefaultIoFilterChain.java:607)
at org.apache.mina.common.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:405)
at org.apache.mina.common.DefaultIoFilterChain.fireMessageReceived(DefaultIoFilterChain.java:399)
at org.apache.mina.common.AbstractPollingIoProcessor.read(AbstractPollingIoProcessor.java:425)
at org.apache.mina.common.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:387)
at org.apache.mina.common.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:379)
at org.apache.mina.common.AbstractPollingIoProcessor.access$400(AbstractPollingIoProcessor.java:43)
at org.apache.mina.common.AbstractPollingIoProcessor$Worker.run(AbstractPollingIoProcessor.java:678)
at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:51)
at oracle.security.am.proxy.oam.mina.CommonJWorkImpl.run(CommonJWorkImpl.java:41)
at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:183)
at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)
Caused by: java.lang.IllegalArgumentException: Bad arguments
at java.lang.Throwable.<init>(Throwable.java:67)
at javax.crypto.Cipher.update(Unknown Source)
at javax.crypto.CipherOutputStream.write(Unknown Source)
at java.io.DataOutputStream.write(DataOutputStream.java:102)
at com.tangosol.io.WrapperBufferOutput.write(WrapperBufferOutput.java:84)
at com.tangosol.io.WrapperDataOutputStream.write(WrapperDataOutputStream.java:135)
at java.io.ObjectOutputStream$BlockDataOutputStream.write(ObjectOutputStream.java:1812)
at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1504)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483)
at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1401)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1159)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:332)
at com.tangosol.util.ExternalizableHelper.writeSerializable(ExternalizableHelper.java:2181)
at com.tangosol.util.ExternalizableHelper.writeObject(ExternalizableHelper.java:2368)
at com.tangosol.util.filter.ComparisonFilter.writeExternal(ComparisonFilter.java:215)
at com.tangosol.util.ExternalizableHelper.writeExternalizableLite(ExternalizableHelper.java:1994)
at com.tangosol.util.ExternalizableHelper.writeObject(ExternalizableHelper.java:2364)
at com.tangosol.io.DefaultSerializer.serialize(DefaultSerializer.java:51)
at com.tangosol.coherence.component.util.daemon.queueProcessor.Service.writeObject(Service.CDB:4)
at com.tangosol.coherence.component.net.Message.writeObject(Message.CDB:1)
at com.tangosol.coherence.component.net.message.requestMessage.distributedCacheRequest.partialRequest.FilterRequest.write(FilterRequest.CDB:7)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache$InvokeFilterRequest.write(DistributedCache.CDB:3)
at com.tangosol.coherence.component.util.daemon.queueProcessor.packetProcessor.PacketPublisher.packetizeMessage(PacketPublisher.CDB:137)
at com.tangosol.coherence.component.util.daemon.queueProcessor.packetProcessor.PacketPublisher$InQueue.add(PacketPublisher.CDB:8)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.dispatchMessage(Grid.CDB:50)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.post(Grid.CDB:35)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache$BinaryMap.sendPartitionedRequest(DistributedCache.CDB:101)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache$BinaryMap.invokeAll(DistributedCache.CDB:18)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache$BinaryMap.invokeAll(DistributedCache.CDB:1)
at com.tangosol.util.ConverterCollections$ConverterInvocableMap.invokeAll(ConverterCollections.java:2162)
at com.tangosol.util.ConverterCollections$ConverterNamedCache.invokeAll(ConverterCollections.java:2606)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache$ViewMap.invokeAll(DistributedCache.CDB:46)
at com.tangosol.coherence.component.util.SafeNamedCache.invokeAll(SafeNamedCache.CDB:1)
at com.tangosol.net.cache.NearCache.invokeAll(NearCache.java:431)
at oracle.security.am.foundation.mapimpl.coherence.CoherenceMapImpl.invokeAll(CoherenceMapImpl.java:741)
at oracle.security.am.engines.sme.mapimpl.SessionStoreImpl.invokeAll(SessionStoreImpl.java:76)
at oracle.security.am.engines.sme.mgr.AbstractSessionManager.findSession(AbstractSessionManager.java:430)
at oracle.security.am.engines.sso.adapter.SMEAdapter.createUpdateSession(SMEAdapter.java:264)
... 32 more

Changes

Configured High Availability setup on AIX platform

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