• Post Reply Bookmark Topic Watch Topic
  • New Topic

Error in Serializing context  RSS feed

 
Amit K Jain
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have a handler which implements Serializable. I want to redirect the page using this handler. here is snapshot.


This gives me follwoing error:

[7/23/10 12:11:57:051 UTC] 0000008d MarketingSubs I +++++++++++ Eloqua redirect link: http://go.bmc.com/forms/BMCPreferenceCenter_EN?cid=959&ppid=1-FXH
[7/23/10 12:12:06:862 UTC] 00000013 HttpSessDRSBu E storeObject: Caught Exception while trying to serialize. Stack trace: java.io.NotSerializableException: com.sun.faces.context.FacesContextImpl
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1113)
at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1467)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1439)
at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1382)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1111)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:325)
at com.ibm.ws.webcontainer.httpsession.HttpSessDRSBuffWrapper.getBytes(HttpSessDRSBuffWrapper.java:269)
at com.ibm.ws.webcontainer.httpsession.HttpSessDRSBuffWrapper.storeObject(HttpSessDRSBuffWrapper.java:119)
at com.ibm.ws.webcontainer.httpsession.DRSBackedHashtable.handlePropertyHits(DRSBackedHashtable.java:294)
at com.ibm.ws.webcontainer.httpsession.DRSBackedHashtable.persistSession(DRSBackedHashtable.java:378)
at com.ibm.ws.webcontainer.httpsession.BackedHashtable.ejbStore(BackedHashtable.java:2583)
at com.ibm.ws.webcontainer.httpsession.BackedHashtable.storeSession(BackedHashtable.java:2216)
at com.ibm.ws.webcontainer.httpsession.BackedHashtable.put(BackedHashtable.java:2855)
at com.ibm.ws.webcontainer.httpsession.DatabaseSessionContext.sync(DatabaseSessionContext.java:158)
at com.ibm.ws.webcontainer.httpsession.SessionData.sync(SessionData.java:311)
at com.ibm.ws.webcontainer.httpsession.DatabaseSessionData.sync(DatabaseSessionData.java:928)
at com.ibm.ws.webcontainer.httpsession.DatabaseSessionContext.checkForSessionWrites(DatabaseSessionContext.java:672)
at com.ibm.ws.webcontainer.httpsession.DatabaseSessionContext.asyncExternalWrite(DatabaseSessionContext.java:509)
at com.ibm.ws.webcontainer.httpsession.SessionAlarmListener.alarm(SessionAlarmListener.java:61)
at com.ibm.ejs.util.am._Alarm.run(_Alarm.java:90)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1473)

[7/23/10 12:12:06:883 UTC] 00000013 SessionContex E DRSBackedHashtable:handlePropertyHits: Failed to replicate attribute marketingSubscriptionHandler:com.bmc.sso.ui.handlers.MarketingSubscriptionHandler@455a455a


Is there any other way to get response object to call redirect?

Please help..
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!