1 Reply Latest reply on Apr 27, 2005 12:17 AM by mckeen316

    partition name in farm-service.xml

    mckeen316

      Hello,

      I have created a cluster-services.xml file with a service 'X', partition 'Y' in it. I verified this worked in the cluster. I then created the farm-services.xml file (from the example one) that looks like this:


      jboss:service=X
      Y

      on starting the jboss server for my X container I got the following error:

      Starting failed jboss:partition=Y,service=FarmMember
      javax.management.InstanceNotFoundException: jboss:service=Y is not registered.

      This seems to be referencing the partition name. This error goes away if I set the service and partition name to be the same.

      What am I missing here?

      I am running jboss 4.0.1, java 1.4.2.

      Many thanks in advance

        • 1. Re: partition name in farm-service.xml
          mckeen316

          hmmm, newbie posting skills to the fore here: - I'll try that mbean code again (but with # instead of redirection arrows):

          #mbean code="org.jboss.ha.framework.server.FarmMemberService" name="jboss:service=FarmMember,partition=Y" #
          #depends#jboss:service=X#/depends#
          #attribute name="PartitionName"#Y#/attribute#