WildFly JVM Settings: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
(Created page with "=Internal= * WildFly =Overview= JVM settings can be declared in the server's configuration files, as shown below, and are propagated to the server JVMs...")
 
Line 14: Line 14:
<server ...>
<server ...>
     ...
     ...
     <jvm>
     <jvm java-home="..." type="SUN|IBM" env-classpath-ignored="true">
        <heap>...</heap>
        <permgen>...</permgen>
        <stack>...</stack>
        <agent-lib>...</agent-lib>
        <agent-path>...</agent-path>
        <java-agent>...</java-agent>
        <jvm-options>...</jvm-options>
        <environment-variables>...</environment-variables>
        <launch-command>...</launch-command>
     </jvm>
     </jvm>
     ...
     ...
</server>
</server>
</pre>


==Domain Mode==
==Domain Mode==
===domain.xml===
===host.xml===
<pre>
<host ..>
    ...
    <jvms>
        <jvm name="jvm-a" ...>
        </jvm name="jvm-b" ...>
        ...
    </jvms>
    ...
</host>
</pre>

Revision as of 17:31, 27 March 2017

Internal

Overview

JVM settings can be declared in the server's configuration files, as shown below, and are propagated to the server JVMs.

Configuration

Standalone Mode

<server ...>
    ...
    <jvm java-home="..." type="SUN|IBM" env-classpath-ignored="true">
        <heap>...</heap>
        <permgen>...</permgen>
        <stack>...</stack>
        <agent-lib>...</agent-lib>
        <agent-path>...</agent-path>
        <java-agent>...</java-agent>
        <jvm-options>...</jvm-options>
        <environment-variables>...</environment-variables>
        <launch-command>...</launch-command>
    </jvm>
    ...
</server>

Domain Mode

domain.xml

host.xml

<host ..>
    ...
    <jvms>
        <jvm name="jvm-a" ...>
        </jvm name="jvm-b" ...>
        ...
    </jvms>
    ...
</host>