SSO JAZN Error NotSerializableException oracle.security.jazn.oc4j.CachingRealmUserManager (Doc ID 394686.1)

Last updated on NOVEMBER 05, 2016

Applies to:

Oracle Containers for J2EE - Version: 10.1.2.0.2
This problem can occur on any platform.

Symptoms

-- Problem Statement:
On 10.1.2.0.2 in Production:
When attempting to run application on a SSO server, the following error occurs:

ERROR
06/08/17 15:40:34 TestApp: Error serializing session object
java.io.NotSerializableException: oracle.security.jazn.oc4j.CachingRealmUserManager
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1054)
at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1332)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1304)
at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1247)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)
at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1332)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1304)
at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1247)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:278)
at com.evermind.server.ApplicationServer.writeSimpleObject(ApplicationServer.java:3413)
at com.evermind.server.http.ClusteredHttpService.sendSessionValueUpdate(ClusteredHttpService.java:186)
at com.evermind.server.http.ClusteredHttpSession.setAttribute(ClusteredHttpSession.java:79)
at oracle.security.jazn.oc4j.RealmUserManager.getUser(Unknown Source)
at oracle.security.jazn.oc4j.FilterUserManager.getUser(Unknown Source)
at com.evermind.server.http.AJPRequestHandler.loadRemoteUser(AJPRequestHandler.java:425)
at com.evermind.server.http.AJPRequestHandler.initRequest(AJPRequestHandler.java:479)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:194)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:133)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
at java.lang.Thread.run(Thread.java:534)

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