Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-1697

problem with creating cluster-TCP-USTXSTICKY-0 config - @{jboss.dist} not substituted

XMLWordPrintable

    • Hide

      Add this attribute to the create-cluster-ustxsticky-node macro definition in $JBOSS_SRC/testsuite/imports/server-config.xml:
      <attribute name="jboss.dist" default="${jboss.dist}" description="The jboss dist root directory" />

      Show
      Add this attribute to the create-cluster-ustxsticky-node macro definition in $JBOSS_SRC/testsuite/imports/server-config.xml: <attribute name="jboss.dist" default="${jboss.dist}" description="The jboss dist root directory" />

      The test case makes use of a macro create-cluster-ustxsticky-node in the file $JBOSS_SRC/testsuite/imports/server-config.xml. This macro is using the value of the environment variable jboss.dist via the macro substitution @

      {jboss.dist}

      , but the macro does not pass jboss.dist as a parameter. So no substitution is taking place, and the file is not found as above.

      To fix the problem, it appears all you need to do is add in the macro attribute
      <attribute name="jboss.dist" default="${jboss.dist}" description="The jboss dist root directory" />

      as in the earlier macro, create-all-clusternode.

      Note: This bug doesn't cause any failures in the testsuite but is nevertheless a bug which needs fixing.

              exd-mmalina Martin Malina
              exd-mmalina Martin Malina
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: