0 Replies Latest reply on Nov 14, 2002 9:58 AM by srshende

    setting up cluster

    srshende

      Hello,
      I am facing problem while setting up cluster.
      Actually its not working for failover. I mande necessary changes in "cluster-service.xml" and also created "farm-service.xml".
      I am using jboss3.0 with tomcat.
      When I started jboss on two different machines its shows me " Number of members in partition as 2" but when I shutdown one server(where actually my application is running) failover does not take place and application crashes saying "page not found". Do I need to give any other settings.

      Following are my xml files

      Cluster-service.xml
      --------------------

      <?xml version="1.0" encoding="UTF-8"?>

      <!-- ===================================================================== -->
      <!-- -->
      <!-- Sample Clustering Service Configuration -->
      <!-- -->
      <!-- ===================================================================== -->






      <!-- ==================================================================== -->
      <!-- Cluster Partition: defines cluster -->
      <!-- ==================================================================== -->

      <!--
      -->

      <!-- ************** Added by Sanjay ************** -->


      MyPartition
      true


      <!-- ************** Added by Sanjay ************** -->

      <!-- ==================================================================== -->
      <!-- HA Session State Service for SFSB -->
      <!-- ==================================================================== -->


      jboss:service=MyPartition
      MyPartition


      <!-- ==================================================================== -->
      <!-- HA JNDI -->
      <!-- ==================================================================== -->


      jboss:service=MyPartition
      MyPartition






      ====================================================

      farm-service.xml
      -----------------

      <?xml version="1.0" encoding="UTF-8"?>
      <!-- ===================================================================== -->
      <!-- -->
      <!-- Sample Farming Service Configuration -->
      <!-- -->


      <!-- ==================================================================== -->
      <!-- Cluster Partition: defines cluster -->
      <!-- ==================================================================== -->
      <!-- Farm Deploy Directory and Scanner Name must not be set here because this
      are the default values but when you want to change them do it here.
      -->

      jboss:service=MyPartition
      MyPartition
      .farm
      jboss.deployment:type=DeploymentScanner,flavor=URL



      =====================================

      Please let me know as it is urgent. At present I am running j2ee application with stateless session beans.

      Awaiting reply.

      Regds
      ~Sanajy