JVM parameters are not getting inherited to server groups or servers for Domain mode

Solution Verified - Updated -

Issue

  • We have set a classpath for JVM in our domain controller, but that same setting is not getting inherited by its slave's node JVMs
  • Configured or modified parameters of "default" JVM set under JVMS tag of domail.xml or host.xml, but these parameters are not picked by server group or servers.

    In domain.xml or host.xml

 <jvms>
        <jvm name="default">
            <heap size="100m" max-size="200m"/>
            <jvm-options>
                <option value="-server"/>
                <option value="-XX:MetaspaceSize=98m"/>
                <option value="-XX:MaxMetaspaceSize=200m"/>
            </jvm-options>
        </jvm>
 </jvms>

    <servers>
        <server name="abc" group="Groupabc" auto-start="true">
         <socket-bindings socket-binding-group="ha-sockets" port-offset="100"/>
        </server>
    </servers>

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.X
    • 7.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