0 Replies Latest reply on Jul 26, 2004 4:06 PM by Sampath Kondam

    Failed to Replicate SessionId - Concurrency Problem

    Sampath Kondam Newbie

      Session Level failover works fine for me as long as I don't have a large number of items in the session. Once the number of items in session reaches a certain size (I don't know the majic number) I get the following error. Can anyone give me any information on what might be happening and how to fix it?

      Here is the Exception


      12:42:31,666 WARN [InstantSnapshotManager] Failed to replicate sessionID:6nQzmX
      01GSraKQRIgK2QTg**
      javax.ejb.EJBException: Exception in setHttpSession: javax.ejb.EJBException: Exc
      eption in setHttpSession: RuntimeMBeanException: RuntimeException in MBean opera
      tion 'invoke(org.jboss.invocation.Invocation)'
      Cause: javax.ejb.EJBException: java.util.ConcurrentModificationException
      at org.jboss.ha.httpsession.server.ClusteredHTTPSessionService.setHttpSe
      ssion(ClusteredHTTPSessionService.java:117)
      at sun.reflect.GeneratedMethodAccessor60.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
      nDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      at $Proxy41.setHttpSession(Unknown Source)
      at org.jboss.web.tomcat.session.ClusterManager.storeSession(ClusterManag
      er.java:615)
      at org.jboss.web.tomcat.session.InstantSnapshotManager.snapshot(InstantS
      napshotManager.java:39)
      at org.jboss.web.tomcat.session.ClusteredSessionValve.invoke(ClusteredSe
      ssionValve.java:89)
      at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
      t.invokeNext(StandardPipeline.java:641)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
      a:480)
      at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)

      at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:
      2417)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
      ava:180)
      at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
      t.invokeNext(StandardPipeline.java:643)
      at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatche
      rValve.java:171)
      at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
      t.invokeNext(StandardPipeline.java:641)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
      ava:172)
      at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
      t.invokeNext(StandardPipeline.java:641)
      at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(Securit
      yAssociationValve.java:65)
      at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
      t.invokeNext(StandardPipeline.java:641)
      at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:
      577)
      at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
      t.invokeNext(StandardPipeline.java:641)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
      a:480)
      at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)

      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
      ve.java:174)
      at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
      t.invokeNext(StandardPipeline.java:643)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
      a:480)
      at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)

      at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcesso
      r.java:1040)
      at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.ja
      va:1151)
      at java.lang.Thread.run(Thread.java:534)