JVM parameters are not getting inherited to server groups or servers for Domain mode
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.xmlorhost.xml, but these parameters are not picked by server group or servers.In
domain.xmlorhost.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.