0 Replies Latest reply on Dec 6, 2013 5:11 AM by Isa B

    How do I define system properties in jboss 7

    Isa B Newbie

      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\")]