0 Replies Latest reply on Jul 30, 2014 8:40 AM by hai_feng

    an invalid value for parameter node-identifier

    hai_feng

      Hi,everybody:

      Today,i met a problem when i configured server cluster on wildfly-8.1.0.Final.the problem is described as following:

      ERROR [org.jboss.as.controller.management-operation] (ServerService Thread Pool -- 30) JBAS014613: Operation ("add") failed - address: ([("subsystem" => "transactions")]) - failure description: "JBAS014703: '10.19.220.199:server-two' is an invalid value for parameter node-identifier. Values must have a maximum length of 23 characters"

      finally,i found that reson is that i configured the host server name to "10.19.220.199",and this name add ":server-two" to "10.19.220.199?:server-two".this word's length > 23,it is llegal. and i found it has limit on the wildfly-8.1.0.Final-src as following:

      //core environment

          public static final SimpleAttributeDefinition NODE_IDENTIFIER = new SimpleAttributeDefinitionBuilder(CommonAttributes.NODE_IDENTIFIER, ModelType.STRING, true)

                  .setDefaultValue(new ModelNode().set("1"))

                  .setFlags(AttributeAccess.Flag.RESTART_ALL_SERVICES)

                  .setAllowExpression(true)

                  .setValidator(new StringBytesLengthValidator(0,23,true,true))

                  .build();

      when i modify 23 to 30 and rebuild it,there is no problem alrendy. What confuse me is the Mean of 24,what function of 24?is there any effection if i modify it to another value?

      please help!

      Thanks!