2 Replies Latest reply on Oct 3, 2006 5:21 PM by matthew lanza

    how does one use custom properties for define ports in the b

    matthew lanza Newbie

      I am in the process of designing a scripted configuration build process so that I can quickly add servers to existing jboss app server (version 4.0.3SP1) binary installations on my Linux servers. My intention was to use the property-service by creating a local.properties file in the root of the configuration [e.g. $JBOSS_ROOT/server/appserver01/conf/local.properties] and maintain a separate bindings.xml file per configuration [e.g. $JBOSS_ROOT/server/appserver01/bindings.xml]. the variables defined in the local.properties file would be used in place of the static ports in the bindings.xml file.


      I am having trouble getting this to work as it seems that jboss is no processing the local.properties early enough in the startup process since I get a number format exception once it reads the bindings.xml file:

      14:41:19,617 INFO [ServiceBindingManager] Using StoreURL: file:/usr/local/jboss/server/test01/bindings.xml
      14:41:19,635 WARN [ServiceConfigurator] Failed to apply service binding override
      java.lang.NumberFormatException: For input string: "${jboss.ports.Naming}"