I am trying to set up some environment variables for my standalone JBoss EAP 6 instance, but the code does not seem to pick it up.
Here is what I had to do in my startjboss.sh for JBoss EAP 5:
In JBoss EAP 6, in domain mode, I changed host.xml file on my host to include the following:
<variable name="MYSPECIALIP" value="127.0.0.1"/>
<heap size="64m" max-size="256m"/>
<permgen size="256m" max-size="256m"/>
Now, I would like to know how to do it for JBoss EAP 6 standalone mode? So far I tried to add it in standalone.conf alongside Java options, but it did not work.
JAVA_OPTS="-Xmx3g -Xms3g -XX:MaxPermSize=256m $JAVA_OPTS"
You can use
But I recommend to use the system-properties in the configuration.
See the description here at the end of the page.