How to set Java Tuning Options working on domain mode in JBoss EAP 6

Solution Verified - Updated -

Issue

  • I have several instances of JBoss EAP 6 managed by a domain. I would like to set tuning options ( GC, LargePages, Numa ... ) to the profile of these instances so that all launched process inherit this options.

  • Getting errors after entering JVM OPTIONS in host-*.xml:

    • jvm options:-
     <jvm-options>
      <option value="-XX:+UseParallelGC -XX:+UseParallelOldGC -XX:ParallelGCThreads=8 -XX:+UseLargePages -XX:+UseNUMA -XX:-PrintGC"/>
     </jvm-options>
    
    • The errors after adding the above specified jvm options:-
    [Server:server-one] Unrecognized VM option 'UseParallelGC -XX:+UseParallelOldGC -XX:ParallelGCThreads=8 -XX:+UseLargePages -XX:+UseNUMA -XX:-PrintGC'
    [Server:server-one] Error: Could not create the Java Virtual Machine.
    

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content