3 Replies Latest reply on Jul 11, 2003 5:13 AM by Sumesh

    Session Replication : NotSerializableException

    Sumesh Newbie

      Friends,

      We are doing jboss clustering with 4 jboss server.
      We got an exception regarding Session Replication

      This is the server log
      --------------------------

      NotSerializableException
      ------------------------

      2003-07-08 17:35:25,330 WARN [org.jboss.web.catalina.session.InstantSnapshotManager] Failed to replicate sessionID:2nzk3fs1cSsZmSz4BF365g**.node2
      javax.ejb.EJBException: Exception in setHttpSession: java.rmi.ServerException: EJBException:; nested exception is:
      javax.ejb.EJBException: java.io.NotSerializableException: java.lang.reflect.Method
      at org.jboss.ha.httpsession.server.ClusteredHTTPSessionService.setHttpSession(ClusteredHTTPSessionService.java:114)
      at sun.reflect.GeneratedMethodAccessor52.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
      at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
      at $Proxy71.setHttpSession(Unknown Source)
      at org.jboss.web.catalina.session.ClusterManager.storeSession(ClusterManager.java:499)
      at org.jboss.web.catalina.session.InstantSnapshotManager.snapshot(InstantSnapshotManager.java:38)
      at org.jboss.web.catalina.session.ClusteredSessionValve.invoke(ClusteredSessionValve.java:88)
      at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
      at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
      at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
      at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
      at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)


      if any one came across problems like these please help us as fast as possible.

      Thanking you

      Sumesh