0 Replies Latest reply on Oct 24, 2013 5:18 AM by isa154

    How do I configure properties files in Jboss7(wildfly8.0.0Alpha)

    isa154

      Hi

       

      I have configured the properties file for the dev team in jboss4.2.3 using properties-service.xml

       

          <!--

             | Load properties from each of the given comma seperated URLs

          -->

          <attribute name="URLList">

               ./conf/foo1.properties,

               ./conf/foo2.properties,

               ./conf/foo3.properties

          </attribute>

       

      In  Jboss7(wildfly8.0.0Alpha) I have tried adding the following into my standalone.xml

       

      <system-properties>

           <property name="URLLIST" value="path for properties file"/>

      </system-properties>

       

      but I get an error

       

      ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) JBAS014613: Operation ("add") failed - address: ([("system-property" => "URLLIST")]) - failure description: "JBAS014803: Duplicate resource [(\"system-property\" => \"URLLIST\")]

       

      I know I can use the -P [path to properties file] but this is not an option for us as we have many application instances on one servers some applications with up to 5 properties files which will make the start up scripts as far to long.