10 Replies Latest reply on Nov 20, 2008 3:17 PM by Ben Schofield

    user defined system properties for JBoss configurations

    Ben Schofield Novice

      I would like to be able to reference my own Java system properties in the JBoss configuration files, similar to ${jboss.bind.address} used in the bindings.xml.

      I know I can use -Dname=value on the JAVA_OPTS but I would like to avoid the monsterous commandline this would create.

      I looked at the properties service but this does not get initialized at startup so the properties loaded are not available when files like the bindings.xml and profile.xml get loaded.

      I am hoping the bootstrap process would have a way to do this. Or maybe a standard Java commandline option that loads properties from a file on startup that I am not familiar with.

      Any ideas?