0 Replies Latest reply on Jan 14, 2005 9:07 AM by a_aravind_k

    State replication of Stateful session bean

    a_aravind_k

      Hello,

      Is there a way to prevent state replication of stateful session bean?

      App serv: JBoss 4.0

      The main reason being the size of the state. (huge chunk of data is split into packets and sent sequentially to the stateful session bean)

      We need high availability of the bean but fail-over is not of much concern to us.

      the mean code in the cluster-service.xml:


      jboss:service=DefaultPartition
      <!-- Name of the partition to which the service is linked -->
      DefaultPartition
      <!-- JNDI name under which the service is bound -->
      /HASessionState/Default
      <!-- Max delay before cleaning unreclaimed state.
      Defaults to 30*60*1000 => 30 minutes -->
      0


      Do i have to do anything with this?(like setting the partition size to 1 may be)

      Thanks
      aravind