A Coherence Client Receives An Exception Using JAAS Authentication: "ClassNotFoundException: oracle.security.jps.internal.core.principals.JpsAnonymousUserImpl" (Doc ID 1330597.1)

Last updated on FEBRUARY 24, 2017

Applies to:

Oracle Coherence - Version 3.6.0 and later
Information in this document applies to any platform.
***Checked for relevance on 03-May-2013***

Symptoms

After upgrading from Coherence 3.4 to Coherence 3.6.1 a JAAS authenticated client session sending a request using a Coherence*Extend client to a proxy service running on dedicated Coherence cluster node:

2011-02-24 07:12:56.148/125.247 Oracle Coherence GE 3.6.1.1 <Error> (thread=Proxy:FNDTcpProxyService:TcpAcceptor, member=1): An exception occurred while deserializing an identity token: java.io.IOException: readObject failed: java.lang.ClassNotFoundException: oracle.security.jps.internal.core.principals.JpsAnonymousUserImpl
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:303)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:247)
at java.io.ObjectInputStream.resolveClass(ObjectInputStream.java:604)
at com.tangosol.io.ResolvingObjectInputStream.resolveClass(ResolvingObjectInputStream.java:68)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1575)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1496)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1732)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
at java.util.LinkedList.readObject(LinkedList.java:964)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:974)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1849)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
at java.io.ObjectInputStream.access$300(ObjectInputStream.java:188)
at java.io.ObjectInputStream$GetFieldImpl.readFields(ObjectInputStream.java:2109)
at java.io.ObjectInputStream.readFields(ObjectInputStream.java:520)
at javax.security.auth.Subject$SecureSet.readObject(Subject.java:1287)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

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