1 Reply Latest reply on Jun 27, 2013 3:01 PM by Wolf-Dieter Fink

    JBoss EAP 6 environment variables: standalone vs. domain

    mike tihonchik Newbie

      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:

      export MYSPECIALIP=

      nohup run.sh

      In JBoss EAP 6, in domain mode, I changed host.xml file on my host to include the following:


           <jvm name="default">


                     <variable name="MYSPECIALIP" value=""/>


                <heap size="64m" max-size="256m"/>

                <permgen size="256m" max-size="256m"/>


                     <option value="-server"/>




      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"