Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ajax4jsf - Not serializabe exception

 
Shasi Mitra
Ranch Hand
Posts: 101
Flex Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all - I'm getting the following exception. Aren't ajax4jsf classes not serializable?

app data changes : [jsf_sequence, org.apache.myfaces.application.jsp.JspStateManagerImpl.SERIALIZED_VIEW, javax.faces.request.charset]

app data removals : null

user write hit : false

max inact write hit : false

listener count hit : false

update : update sessions set

listener count : 1



cached : true

cacheId : 0001

cacheIdUpdated : false

syncFromServlet : false





[8/2/09 22:17:39:808 EDT] 00000052 SessionContex E Exception is: java.io.NotSerializableException: org.ajax4jsf.framework.ajax.AjaxViewRoot

at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java(Compiled Code))

at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java(Inlined Compiled Code))

at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java(Compiled Code))

at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java(Compiled Code))

at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java(Compiled Code))

at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java(Compiled Code))

at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java(Compiled Code))

at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java(Compiled Code))

at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java(Compiled Code))

at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java(Inlined Compiled Code))

at java.util.ArrayList.writeObject(ArrayList.java(Compiled Code))

at sun.reflect.GeneratedMethodAccessor71.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code))

at java.lang.reflect.Method.invoke(Method.java(Compiled Code))

at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java(Compiled Code))

at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java(Compiled Code))

at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java(Compiled Code))

at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java(Compiled Code))

at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java(Compiled Code))

at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java(Compiled Code))

at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java(Inlined Compiled Code))

at java.util.ArrayList.writeObject(ArrayList.java(Compiled Code))

at sun.reflect.GeneratedMethodAccessor71.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code))

at java.lang.reflect.Method.invoke(Method.java(Compiled Code))

at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java(Compiled Code))

at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java(Compiled Code))

at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java(Compiled Code))

at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java(Compiled Code))

at java.io.O
 
Shasi Mitra
Ranch Hand
Posts: 101
Flex Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just wanted to add more data.
This error is thrown by Websphere server when it tries to save the state of an object in session to DB2 database. I believe websphere internally performs this operation.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic