[jboss-user] [Installation, Configuration & Deployment] - how does one use custom properties for define ports in the b

mlanza do-not-reply at jboss.com
Tue Oct 3 14:33:27 EDT 2006

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}"

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3975852#3975852

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3975852

More information about the jboss-user mailing list