ICEfaces
  1. ICEfaces
  2. ICE-1194

Support for session replication

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.5.1
    • Fix Version/s: 1.8DR#2, 1.8
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      Operating System: All
      Platform: All

      Description

      We don't currently support true session replication in the framework which is a
      problem for those people wanting true fail-over capabilities.

        Issue Links

          Activity

          Hide
          Deryk Sinotte added a comment -

          Persistence or passivation of sessions is still an issue. It can generally be turned off but many application servers have it on by default. Currently, when I run Liferay on Tomcat, I see the following stack traces when I shutdown the server:

          WARNING: Cannot serialize session attribute 2/class com.icesoft.faces.webapp.xmlhttp.PersistentFacesState for session 4DD2773D32661AF60240EA399C9CF346
          java.io.NotSerializableException: com.icesoft.faces.context.BridgeFacesContext
          at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1081)
          at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1375)
          at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1347)
          at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290)
          at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
          at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:302)
          at org.apache.catalina.session.StandardSession.writeObject(StandardSession.java:1462)
          at org.apache.catalina.session.StandardSession.writeObjectData(StandardSession.java:938)
          at org.apache.catalina.session.StandardManager.doUnload(StandardManager.java:516)
          at org.apache.catalina.session.StandardManager.unload(StandardManager.java:462)
          at org.apache.catalina.session.StandardManager.stop(StandardManager.java:666)
          at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4345)
          at org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:892)
          at org.apache.catalina.startup.HostConfig.undeployApps(HostConfig.java:1164)
          at org.apache.catalina.startup.HostConfig.stop(HostConfig.java:1135)
          at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:312)
          at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
          at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1054)
          at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1066)
          at org.apache.catalina.core.StandardEngine.stop(StandardEngine.java:447)
          at org.apache.catalina.core.StandardService.stop(StandardService.java:512)
          at org.apache.catalina.core.StandardServer.stop(StandardServer.java:743)
          at org.apache.catalina.startup.Catalina.stop(Catalina.java:601)
          at org.apache.catalina.startup.Catalina.start(Catalina.java:576)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
          at java.lang.reflect.Method.invoke(Method.java:585)
          at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
          at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
          Apr 27, 2007 4:51:47 PM org.apache.catalina.session.StandardSession writeObject
          WARNING: Cannot serialize session attribute 2/com.icesoft.faces.sessionAuxiliaryData for session 4DD2773D32661AF60240EA399C9CF346
          java.io.NotSerializableException: javax.faces.component.UIViewRoot
          at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1081)
          at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:302)
          at java.util.HashMap.writeObject(HashMap.java:985)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
          at java.lang.reflect.Method.invoke(Method.java:585)
          at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:917)
          at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1339)
          at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290)
          at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
          at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:302)
          at java.util.HashMap.writeObject(HashMap.java:985)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
          at java.lang.reflect.Method.invoke(Method.java:585)
          at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:917)
          at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1339)
          at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290)
          at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
          at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:302)
          at org.apache.catalina.session.StandardSession.writeObject(StandardSession.java:1462)
          at org.apache.catalina.session.StandardSession.writeObjectData(StandardSession.java:938)
          at org.apache.catalina.session.StandardManager.doUnload(StandardManager.java:516)
          at org.apache.catalina.session.StandardManager.unload(StandardManager.java:462)
          at org.apache.catalina.session.StandardManager.stop(StandardManager.java:666)
          at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4345)
          at org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:892)
          at org.apache.catalina.startup.HostConfig.undeployApps(HostConfig.java:1164)
          at org.apache.catalina.startup.HostConfig.stop(HostConfig.java:1135)
          at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:312)
          at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
          at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1054)
          at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1066)
          at org.apache.catalina.core.StandardEngine.stop(StandardEngine.java:447)
          at org.apache.catalina.core.StandardService.stop(StandardService.java:512)
          at org.apache.catalina.core.StandardServer.stop(StandardServer.java:743)
          at org.apache.catalina.startup.Catalina.stop(Catalina.java:601)
          at org.apache.catalina.startup.Catalina.start(Catalina.java:576)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
          at java.lang.reflect.Method.invoke(Method.java:585)
          at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
          at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
          Apr 27, 2007 4:51:47 PM org.apache.catalina.session.StandardSession writeObject
          WARNING: Cannot serialize session attribute 1/com.icesoft.faces.sessionAuxiliaryData for session 4DD2773D32661AF60240EA399C9CF346
          java.io.NotSerializableException: javax.faces.component.UIViewRoot
          at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1081)
          at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:302)
          at java.util.HashMap.writeObject(HashMap.java:985)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
          at java.lang.reflect.Method.invoke(Method.java:585)
          at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:917)
          at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1339)
          at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290)
          at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
          at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:302)
          at java.util.HashMap.writeObject(HashMap.java:985)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
          at java.lang.reflect.Method.invoke(Method.java:585)
          at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:917)
          at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1339)
          at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290)
          at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
          at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:302)
          at org.apache.catalina.session.StandardSession.writeObject(StandardSession.java:1462)
          at org.apache.catalina.session.StandardSession.writeObjectData(StandardSession.java:938)
          at org.apache.catalina.session.StandardManager.doUnload(StandardManager.java:516)
          at org.apache.catalina.session.StandardManager.unload(StandardManager.java:462)
          at org.apache.catalina.session.StandardManager.stop(StandardManager.java:666)
          at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4345)
          at org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:892)
          at org.apache.catalina.startup.HostConfig.undeployApps(HostConfig.java:1164)
          at org.apache.catalina.startup.HostConfig.stop(HostConfig.java:1135)
          at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:312)
          at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
          at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1054)
          at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1066)
          at org.apache.catalina.core.StandardEngine.stop(StandardEngine.java:447)
          at org.apache.catalina.core.StandardService.stop(StandardService.java:512)
          at org.apache.catalina.core.StandardServer.stop(StandardServer.java:743)
          at org.apache.catalina.startup.Catalina.stop(Catalina.java:601)
          at org.apache.catalina.startup.Catalina.start(Catalina.java:576)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
          at java.lang.reflect.Method.invoke(Method.java:585)
          at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
          at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
          Apr 27, 2007 4:51:47 PM org.apache.catalina.session.StandardSession writeObject
          WARNING: Cannot serialize session attribute 1/class com.icesoft.faces.webapp.xmlhttp.PersistentFacesState for session 4DD2773D32661AF60240EA399C9CF346
          java.io.NotSerializableException: com.icesoft.faces.context.BridgeFacesContext
          at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1081)
          at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1375)
          at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1347)
          at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290)
          at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
          at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:302)
          at org.apache.catalina.session.StandardSession.writeObject(StandardSession.java:1462)
          at org.apache.catalina.session.StandardSession.writeObjectData(StandardSession.java:938)
          at org.apache.catalina.session.StandardManager.doUnload(StandardManager.java:516)
          at org.apache.catalina.session.StandardManager.unload(StandardManager.java:462)
          at org.apache.catalina.session.StandardManager.stop(StandardManager.java:666)
          at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4345)
          at org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:892)
          at org.apache.catalina.startup.HostConfig.undeployApps(HostConfig.java:1164)
          at org.apache.catalina.startup.HostConfig.stop(HostConfig.java:1135)
          at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:312)
          at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
          at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1054)
          at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1066)
          at org.apache.catalina.core.StandardEngine.stop(StandardEngine.java:447)
          at org.apache.catalina.core.StandardService.stop(StandardService.java:512)
          at org.apache.catalina.core.StandardServer.stop(StandardServer.java:743)
          at org.apache.catalina.startup.Catalina.stop(Catalina.java:601)
          at org.apache.catalina.startup.Catalina.start(Catalina.java:576)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
          at java.lang.reflect.Method.invoke(Method.java:585)
          at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
          at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)

          Show
          Deryk Sinotte added a comment - Persistence or passivation of sessions is still an issue. It can generally be turned off but many application servers have it on by default. Currently, when I run Liferay on Tomcat, I see the following stack traces when I shutdown the server: WARNING: Cannot serialize session attribute 2/class com.icesoft.faces.webapp.xmlhttp.PersistentFacesState for session 4DD2773D32661AF60240EA399C9CF346 java.io.NotSerializableException: com.icesoft.faces.context.BridgeFacesContext at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1081) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1375) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1347) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:302) at org.apache.catalina.session.StandardSession.writeObject(StandardSession.java:1462) at org.apache.catalina.session.StandardSession.writeObjectData(StandardSession.java:938) at org.apache.catalina.session.StandardManager.doUnload(StandardManager.java:516) at org.apache.catalina.session.StandardManager.unload(StandardManager.java:462) at org.apache.catalina.session.StandardManager.stop(StandardManager.java:666) at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4345) at org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:892) at org.apache.catalina.startup.HostConfig.undeployApps(HostConfig.java:1164) at org.apache.catalina.startup.HostConfig.stop(HostConfig.java:1135) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:312) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1054) at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1066) at org.apache.catalina.core.StandardEngine.stop(StandardEngine.java:447) at org.apache.catalina.core.StandardService.stop(StandardService.java:512) at org.apache.catalina.core.StandardServer.stop(StandardServer.java:743) at org.apache.catalina.startup.Catalina.stop(Catalina.java:601) at org.apache.catalina.startup.Catalina.start(Catalina.java:576) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432) Apr 27, 2007 4:51:47 PM org.apache.catalina.session.StandardSession writeObject WARNING: Cannot serialize session attribute 2/com.icesoft.faces.sessionAuxiliaryData for session 4DD2773D32661AF60240EA399C9CF346 java.io.NotSerializableException: javax.faces.component.UIViewRoot at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1081) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:302) at java.util.HashMap.writeObject(HashMap.java:985) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:917) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1339) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:302) at java.util.HashMap.writeObject(HashMap.java:985) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:917) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1339) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:302) at org.apache.catalina.session.StandardSession.writeObject(StandardSession.java:1462) at org.apache.catalina.session.StandardSession.writeObjectData(StandardSession.java:938) at org.apache.catalina.session.StandardManager.doUnload(StandardManager.java:516) at org.apache.catalina.session.StandardManager.unload(StandardManager.java:462) at org.apache.catalina.session.StandardManager.stop(StandardManager.java:666) at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4345) at org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:892) at org.apache.catalina.startup.HostConfig.undeployApps(HostConfig.java:1164) at org.apache.catalina.startup.HostConfig.stop(HostConfig.java:1135) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:312) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1054) at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1066) at org.apache.catalina.core.StandardEngine.stop(StandardEngine.java:447) at org.apache.catalina.core.StandardService.stop(StandardService.java:512) at org.apache.catalina.core.StandardServer.stop(StandardServer.java:743) at org.apache.catalina.startup.Catalina.stop(Catalina.java:601) at org.apache.catalina.startup.Catalina.start(Catalina.java:576) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432) Apr 27, 2007 4:51:47 PM org.apache.catalina.session.StandardSession writeObject WARNING: Cannot serialize session attribute 1/com.icesoft.faces.sessionAuxiliaryData for session 4DD2773D32661AF60240EA399C9CF346 java.io.NotSerializableException: javax.faces.component.UIViewRoot at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1081) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:302) at java.util.HashMap.writeObject(HashMap.java:985) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:917) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1339) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:302) at java.util.HashMap.writeObject(HashMap.java:985) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:917) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1339) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:302) at org.apache.catalina.session.StandardSession.writeObject(StandardSession.java:1462) at org.apache.catalina.session.StandardSession.writeObjectData(StandardSession.java:938) at org.apache.catalina.session.StandardManager.doUnload(StandardManager.java:516) at org.apache.catalina.session.StandardManager.unload(StandardManager.java:462) at org.apache.catalina.session.StandardManager.stop(StandardManager.java:666) at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4345) at org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:892) at org.apache.catalina.startup.HostConfig.undeployApps(HostConfig.java:1164) at org.apache.catalina.startup.HostConfig.stop(HostConfig.java:1135) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:312) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1054) at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1066) at org.apache.catalina.core.StandardEngine.stop(StandardEngine.java:447) at org.apache.catalina.core.StandardService.stop(StandardService.java:512) at org.apache.catalina.core.StandardServer.stop(StandardServer.java:743) at org.apache.catalina.startup.Catalina.stop(Catalina.java:601) at org.apache.catalina.startup.Catalina.start(Catalina.java:576) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432) Apr 27, 2007 4:51:47 PM org.apache.catalina.session.StandardSession writeObject WARNING: Cannot serialize session attribute 1/class com.icesoft.faces.webapp.xmlhttp.PersistentFacesState for session 4DD2773D32661AF60240EA399C9CF346 java.io.NotSerializableException: com.icesoft.faces.context.BridgeFacesContext at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1081) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1375) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1347) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:302) at org.apache.catalina.session.StandardSession.writeObject(StandardSession.java:1462) at org.apache.catalina.session.StandardSession.writeObjectData(StandardSession.java:938) at org.apache.catalina.session.StandardManager.doUnload(StandardManager.java:516) at org.apache.catalina.session.StandardManager.unload(StandardManager.java:462) at org.apache.catalina.session.StandardManager.stop(StandardManager.java:666) at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4345) at org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:892) at org.apache.catalina.startup.HostConfig.undeployApps(HostConfig.java:1164) at org.apache.catalina.startup.HostConfig.stop(HostConfig.java:1135) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:312) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1054) at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1066) at org.apache.catalina.core.StandardEngine.stop(StandardEngine.java:447) at org.apache.catalina.core.StandardService.stop(StandardService.java:512) at org.apache.catalina.core.StandardServer.stop(StandardServer.java:743) at org.apache.catalina.startup.Catalina.stop(Catalina.java:601) at org.apache.catalina.startup.Catalina.start(Catalina.java:576) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
          Hide
          Greg Dick added a comment -

          The first stack trace can be caused by a reference to a PersistentFacesState object used for server push that isn't marked transient in a session scoped backing bean.

          At this point, having done a bit of failover testing in the 1.7.2 development cycle, I don't think there's anything in the framework that is inherently problematic. In a properly coded application there wont be anything serialized that shouldn't be. If we get any more problem reports we can examine them case by case to see if we can close this issue.

          Show
          Greg Dick added a comment - The first stack trace can be caused by a reference to a PersistentFacesState object used for server push that isn't marked transient in a session scoped backing bean. At this point, having done a bit of failover testing in the 1.7.2 development cycle, I don't think there's anything in the framework that is inherently problematic. In a properly coded application there wont be anything serialized that shouldn't be. If we get any more problem reports we can examine them case by case to see if we can close this issue.
          Hide
          Greg Dick added a comment -

          There's nothing in ICEfaces that's intrinsically not serializable.

          Show
          Greg Dick added a comment - There's nothing in ICEfaces that's intrinsically not serializable.

            People

            • Assignee:
              Unassigned
              Reporter:
              Deryk Sinotte
            • Votes:
              40 Vote for this issue
              Watchers:
              21 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: