My Oracle Support Banner

WLS 9.2 MP3 - Serialization/Deserialization java.lang.ClassNotFoundException (Doc ID 1075071.1)

Last updated on DECEMBER 16, 2023

Applies to:

Oracle WebLogic Server - Version 9.2 to 10.3.2
Information in this document applies to any platform.


An equinox framework (based on OSGi framework) in a non clustered environment is being used that has session persistence turned off (say just a single server). The equinox core servlet uses the code snippet where it 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.




To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.