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

Last updated on NOVEMBER 05, 2016

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)

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