2 Replies Latest reply on Aug 28, 2009 6:30 AM by ramakanta sahoo

    Enabling session replication does not work jboss 4.3 EAP

    ramakanta sahoo Newbie

      Hi All,

      I have done below settings to enable session replication but it doesnot seems to work as its logging me out each time i stop one server to test replication.

      Below are the settings apart from Apache loadbalancing settings:

      JBoss Server config changes:
      changed jboss-eap-4.3/jboss-as/server/all/deploy/jboss-web-cluster.sar/META-INF/jboss-service.xml

      default ClusterName to MCLU

      changed jboss-eap-4.3/jboss-as/server/all/deploy/jboss-web.deployer/server.xml



      changed /opt/jboss-eap-4.3/jboss-as/server/all/deploy/jboss-messaging.sar/messaging-service.xml

      Sucker password to a new password

      Please tell me if I need to do anything to continue the replication between 2 jboss servers.

        • 1. Re: Enabling session replication does not work jboss 4.3 EAP
          ramakanta sahoo Newbie

          Hi All,

          Still No Luck.

          Please help

          Am getting below exception while session is replicating:

          13:06:07,825 ERROR [JBossCacheService] externalizeSession(): exception occurred externalizing session SessionBasedClusteredSession[id: A94CAB3F54302CF05A4BBB8C65B177DD.node2 lastAccessedTime: 1250494562345 version: 7 lastOutdated: 0]
          java.io.NotSerializableException: java.util.PropertyResourceBundle
           at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1081)
           at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:302)
           at java.util.HashMap.writeObject(HashMap.java:1039)
           at sun.reflect.GeneratedMethodAccessor76.invoke(Unknown Source)
           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.concurrent.ConcurrentHashMap.writeObject(ConcurrentHashMap.java:1380)
           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.jboss.web.tomcat.service.session.SessionBasedClusteredSession.writeExternal(SessionBasedClusteredSession.java:175)
           at org.jboss.web.tomcat.service.session.JBossCacheService.externalizeSession(JBossCacheService.java:1027)
           at org.jboss.web.tomcat.service.session.JBossCacheService.putSession(JBossCacheService.java:316)
           at org.jboss.web.tomcat.service.session.JBossCacheClusteredSession.processSessionRepl(JBossCacheClusteredSession.java:121)
           at org.jboss.web.tomcat.service.session.JBossCacheManager.processSessionRepl(JBossCacheManager.java:1097)
           at org.jboss.web.tomcat.service.session.JBossCacheManager.storeSession(JBossCacheManager.java:652)
           at org.jboss.web.tomcat.service.session.InstantSnapshotManager.snapshot(InstantSnapshotManager.java:49)
           at org.jboss.web.tomcat.service.session.ClusteredSessionValve.invoke(ClusteredSessionValve.java:98)
           at org.jboss.web.tomcat.service.session.JvmRouteValve.invoke(JvmRouteValve.java:84)
           at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
           at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
           at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
          



          Please help

          • 2. Re: Enabling session replication does not work jboss 4.3 EAP
            ramakanta sahoo Newbie


            Is there any flag in JBOSS helping to skip non serializable objects from replication.