This content has been marked as final.
Show 1 reply
-
1. Re: teiid modify system properties
rhn-engineering-vhalbert Nov 29, 2016 7:42 AM (in response to kulbhushanc)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
- [domain@IP_ADDRESS:9999 /] /system-property=foo:add(value=bar)
- host and its instances
- [domain@IP_ADDRESS:9999 /] /host=master/system-property=foo:add(value=bar)
- just one instance
- [domain@IP_ADDRESS:9999 /] /host=master/server-config=server-one/system-property=foo:add(value=bar)
Van