4 Replies Latest reply on Oct 31, 2011 4:37 PM by Rich Raposa

    Configure JVM settings for Standalone Mode from command line

    Rich Raposa Novice

      The AS7 Admin Guide states that: "For a standalone sever you have to pass in the JVM settings either as command line arguments when executing the $JBOSS_HOME/bin/standalone.sh script, or by declaring them in $JBOSS_HOME/bin/standalone.conf."

       

      It's easy enough to edit standalone.conf, but I cannot figure out how to pass in the JVM settings from the command line. I have tried various variations of:

       

      ./standalone.sh -Xms128m -Xmx256m -XX:MaxPermSize=128m

       

      But all I get back is:

      ERROR [stderr] Invalid option '-Xms128m'

       

      Has anyone gotten this to work?

       

      Thanks!

      Rich