My Oracle Support Banner

java.io.NotSerializableException Error During Passivation of Stateful EJB (Doc ID 2100109.1)

Last updated on SEPTEMBER 13, 2023

Applies to:

Oracle WebLogic Server - Version 12.1.3.0.0 and later
Information in this document applies to any platform.

Symptoms

NotSerializableException is thrown during passivation of a stateful session bean that injects another bean via @EJB and SessionContext via @Resource.


Error occurred during passivation: java.io.NotSerializableException: com.lsy.cosma.test.bean.AuthorizerBean_kfg6tq_AuthorizerLocalImpl
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1183)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347)
at weblogic.ejb.container.utils.Serializer.writeObject(Serializer.java:52)
at com.lsy.cosma.test.bean.SFTestBean_u25lre_Impl.writeObject(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

Changes

 

Cause

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
Symptoms
Changes
Cause
Solution
References


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