0 Replies Latest reply on Jun 7, 2012 12:49 AM by somu das

    Fail to replicate session... Jboss 5.1.0GA clustering using Apache load balance.

    somu das Newbie

      Dear all,

      I am finding the bellow error.....

       

      2012-06-06 20:50:39,004 WARN  [org.jboss.web.tomcat.service.session.InstantSnapshotManager./CPM_Portal] (ajp-172.18.228.73-8209-4) Failed to replicate session GxiIE-0jr8kY-l55WIMaQA__

      java.lang.NullPointerException

      at org.jboss.web.tomcat.service.session.distributedcache.impl.jbc.AbstractJBossCacheService.getMarshalledValue(AbstractJBossCacheService.java:627)

      at org.jboss.web.tomcat.service.session.distributedcache.impl.jbc.AttributeBasedJBossCacheService.storeSessionAttributes(AttributeBasedJBossCacheService.java:185)

      at org.jboss.web.tomcat.service.session.distributedcache.impl.jbc.AttributeBasedJBossCacheService.storeSessionAttributes(AttributeBasedJBossCacheService.java:40)

      at org.jboss.web.tomcat.service.session.distributedcache.impl.jbc.AbstractJBossCacheService.storeSessionData(AbstractJBossCacheService.java:403)

      at org.jboss.web.tomcat.service.session.ClusteredSession.processSessionReplication(ClusteredSession.java:1166)

      at org.jboss.web.tomcat.service.session.JBossCacheManager.processSessionRepl(JBossCacheManager.java:1937)

      at org.jboss.web.tomcat.service.session.JBossCacheManager.storeSession(JBossCacheManager.java:309)

      at org.jboss.web.tomcat.service.session.InstantSnapshotManager.snapshot(InstantSnapshotManager.java:51)

      at org.jboss.web.tomcat.service.session.ClusteredSessionValve.handleRequest(ClusteredSessionValve.java:147)

      at org.jboss.web.tomcat.service.session.ClusteredSessionValve.invoke(ClusteredSessionValve.java:94)

      at org.jboss.web.tomcat.service.session.LockingValve.invoke(LockingValve.java:62)

      at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)

      at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)

      at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)

      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)

      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)

      at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:436)

      at org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.java:384)

      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)

      at java.lang.Thread.run(Thread.java:619)

       

      My jboss_web.xml is as follows...

       

       

      <jboss-web>

      <replication-config>

      <cache-name>standard-session-cache</cache-name>

      <replication-trigger>SET_AND_GET</replication-trigger>

      <replication-granularity>ATTRIBUTE</replication-granularity>

      <replication-field-batch-mode>true</replication-field-batch-mode>

      <use-jk>false</use-jk>

      <max-unreplicated-interval>30</max-unreplicated-interval>

      <snapshot-mode>INSTANT</snapshot-mode>

      <snapshot-interval>1000</snapshot-interval>

      </replication-config>

      <max-active-sessions>20</max-active-sessions>

      <passivation-config>

      <use-session-passivation>true</use-session-passivation>

      <passivation-min-idle-time>120</passivation-min-idle-time>

      <passivation-max-idle-time>600</passivation-max-idle-time>

      </passivation-config>

      </jboss-web>

      Kindly help me.I am stucked at this point.Need quick help....