2 Replies Latest reply on Aug 30, 2006 1:43 PM by ANGELO DIAS

    Cluster Partition Name

    ANGELO DIAS Newbie

      Hi,

      I´m new to JBoss clustering. I would like to know what xml files should I edit in order to change partition name.

      I´ve searched for all references containing the word 'DefaultPartition' in all the files of $JBOSS_HOME/server/all/deploy and changed to the new partition name (e.g. labejb) and I found references in the files below:

      cluster-services.xml
      schedule-manager-service.xml
      deploy-hasingleton-service.xml

      I had problems deploying the first file, since it shows me the following error message:


      11:56:23,094 ERROR [URLDeploymentScanner] Incomplete Deployment listing:

      --- MBeans waiting for other MBeans ---
      ObjectName: jboss:service=HASessionState
      State: FAILED
      Reason: javax.naming.NameAlreadyBoundException: /HASessionState/Default already exists in the NonSerializableFactory map
      I Depend On:
      jboss:service=Naming
      jboss:service=labejb

      --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
      ObjectName: jboss:service=HASessionState
      State: FAILED
      Reason: javax.naming.NameAlreadyBoundException: /HASessionState/Default already exists in the NonSerializableFactory map
      I Depend On:
      jboss:service=Naming
      jboss:service=labejb


      Anyone can tell me what files should be edited?

      Thank you.

        • 1. Re: Cluster Partition Name
          Brian Stansberry Master

          Key rule of posting, particularly for config questions: say what release you are using :)

          In your original files, before you edited them, you should see stuff like

          xyz="${jboss.partition.name:DefaultPartition}"

          If you see that, you're using a fairly recent release. If so, undo your edits, restore the original.

          Then start jboss with the -g switch:

          run -g MyCustomPartitionName -c all

          This will set system property jboss.partition.name, which will then set the value you want in all config files.

          • 2. Re: Cluster Partition Name
            ANGELO DIAS Newbie

            Thank you. It worked. The next post will contain the JBoss version :)

            Have a nice day.