WLS 9.2 MP3 - SERIALIZATION/DESERIALIZATION JAVA.LANG.CLASSNOTFOUNDEXCEPTION (Doc ID 1075071.1)

Last updated on JUNE 09, 2016

Applies to:

Oracle WebLogic Server - Version 9.2 to 10.3.2
Information in this document applies to any platform.
***Checked for relevance on 01-JAN-2014***

Symptoms

Customer is using equinox framework (based on OSGi framework) in a non clustered environment having session persistence turned off (say just a single server). The equinox core servlet uses the code snippet where the customer is loading the class within the thread scope and creating a session attribute within the same thread scope. After 10 seconds customer is invalidating the sessions. At this point weblogic server uses a different thread to invalidate the session. Since the new thread doesn't know about the other thread scope, it fails to deserialize and a "ClassNotFound" exception is found.

************************************
#### <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default
(self-tuning)'> <> <> <> <1249533298654> deserialize session data.
This error could indicate that a component was deployed on a cluster member
but not other members of that cluster. Make sure that any component deployed
on a server that is part of a cluster is also deployed on all other members of that cluster
at weblogic.j2ee.ApplicationManager.loadClass(ApplicationManager.java:218)
*************************************

Changes

None.

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