2 Replies Latest reply on Apr 10, 2014 4:16 PM by x046866x

    How do I specify the "boot-time" flag using cli?

    x046866x

      I have a script that sets a bunch of SystemProperties parameters but I want to specify some to be "boot-time" (like '-Dname=value')...is there a way to specify that during adding of a property?

           /system-property=NewProperty:add(value="test")

      like:

           /system-property=NewProperty:add(value="test", boot-time=true)

      ?

        • 1. Re: How do I specify the "boot-time" flag using cli?
          ctomc

          Russell Nile wrote:

               /system-property=NewProperty:add(value="test", boot-time=true)

           

          exactly like that.

          • 2. Re: How do I specify the "boot-time" flag using cli?
            x046866x

            Tomaz,

             

            That's what I thought...but:

                 [standalone@localhost:9990 /] /system-property=NewProperty:add(value="test", boot-time=true)

                 'boot-time' is not found among the supported properties: [value]

                 [standalone@localhost:9990 /]

             

            I am using WildFly 8.0.0...maybe something was removed?  I looked at an old schema and it even states the default is true:

                 <xs:complexType name="propertyType">

                    <xs:attribute name="name" use="required"/>

                    <xs:attribute name="value" use="optional"/>

                </xs:complexType>

             

             

                <xs:complexType name="boottimePropertyType">

                    <xs:complexContent>

                        <xs:extension base="propertyType">

                            <xs:attribute name="boot-time" type="xs:boolean" default="true"/>

                        </xs:extension>

                    </xs:complexContent>

                </xs:complexType>