Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

NotSerializableException in Weblogic 8 with Session bean

46 views
Skip to first unread message

Rahul

unread,
Mar 31, 2004, 11:27:33 AM3/31/04
to
Hi,
I get an exception during passivation of my session bean. Any help would really be appreciated.

<Error> <EJB> <BEA-010024> <Error occurred during
passivation: java.io.NotSerializableException: weblogic.jms.dispatcher.Dispatche
rImpl
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1054)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:278)
at weblogic.jms.dispatcher.DispatcherWrapper.writeExternal(DispatcherWra
pper.java:120)
at weblogic.jms.client.JMSConnection.writeExternal(JMSConnection.java:11
58)
at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:
1265)
at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.jav
a:1243)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)

Slava Imeshev

unread,
Mar 31, 2004, 12:42:29 PM3/31/04
to
"Rahul" <ran...@hotmail.com> wrote in message news:406af175$1...@newsgroups.bea.com...

This exception explicitly says what the problem is - your bean has an field that
is not serializable, DispatcherImpl in your case. Make sure that it's either not
kept as a field or declare it transient.

Regards,

Slava Imeshev


0 new messages