1 Reply Latest reply on Nov 29, 2016 7:42 AM by Van Halbert

    teiid modify system properties

    Kulbhushan Chaskar Master

      Hi,

       

      @ link System Properties - Teiid 8.13 - Project Documentation Editor  mentioned that we can configure "some of Teiid's low-level behavior can be configured via system properties" I am not getting how we can modify these properties? location "<jboss-install>/bin/<mode>.conf" where it is ? Do we have to create a new file named mode.conf in bin directory?

        • 1. Re: teiid modify system properties
          Van Halbert Newbie

          There are a couple of options for setting system properties. 

           

          -  .conf file  -  JAVA_OPTS is the variable use to set properties on.   There are preconfigured settings that can be uncommitted that are specific for eap.  example:

           

          # Uncomment to gather JBoss Modules metrics

          #JAVA_OPTS="$JAVA_OPTS -Djboss.modules.metrics=true"

           

          But you could create you own line and set your specific property.

           

          -  use the CLI to set the system property(https://developer.jboss.org/wiki/JBossAS7SystemProperties)

           

          Example:

           

          For domain mode the same commands are used, you can specify system properties for:

           

          • all hosts and instances in domain
          1. [domain@IP_ADDRESS:9999 /] /system-property=foo:add(value=bar) 
          • host and its instances
          1. [domain@IP_ADDRESS:9999 /] /host=master/system-property=foo:add(value=bar) 
          • just one instance
          1. [domain@IP_ADDRESS:9999 /] /host=master/server-config=server-one/system-property=foo:add(value=bar) 

           

          Van