1 Reply Latest reply on Sep 12, 2005 8:07 PM by anguyen

    Can I use expressions in jboss.xml

    radix_zero

      I have an application is deployed in a cluster.

      in the jboss.xml can i use,

      <enterprise-beans>

      ...
      True
      <cluster-config>
      <partition-name>${jboss.partition.name}</partition-name>
      </cluster-config>
      ...

      </enterprise-beans>

      rather than manually changing the partition name each time i want to deploy to a different cluster?

        • 1. Re: Can I use expressions in jboss.xml

          I know that this type of variable substitution works in ejb-jar.xml. From what I've seen, you can do this type of thing in any JBoss XML config file. In 4.0.2, you can even specify a default value: ${jboss.partition.name:DefaultPartition}