[jboss-jira] [JBoss JIRA] (WFCORE-165) Server jvm settings take effect only after host controller restart

Kabir Khan (JIRA) issues at jboss.org
Mon Oct 13 12:33:35 EDT 2014


Kabir Khan created WFCORE-165:
---------------------------------

             Summary: Server jvm settings take effect only after host controller restart 
                 Key: WFCORE-165
                 URL: https://issues.jboss.org/browse/WFCORE-165
             Project: WildFly Core
          Issue Type: Feature Request
    Affects Versions: 1.0.0.Alpha9
            Reporter: Kabir Khan
            Assignee: Kabir Khan
             Fix For: 1.0.0.Alpha10


If you start a domain/host with one server, and that server has e.g. a too small heap:
{code}
        <server name="server-one" group="main-server-group">
            <jvm name="default">
                <heap size="64k" max-size="256m"/>
                <permgen size="256m" max-size="256m"/>
                <jvm-options>
                    <option value="-server"/>
                </jvm-options>
            </jvm>
        </server>
{code}
The server will fail on boot:
{code}
[Server:server-one] Error occurred during initialization of VM
[Server:server-one] Too small initial heap
{code}
Trying to call 
{code}
/host=master/server-config=server-one/jvm=default:write-attribute(name=heap-size,value=64m)
/host=master/server-config=server-one:start
{code}
results in the same error.




--
This message was sent by Atlassian JIRA
(v6.3.1#6329)


More information about the jboss-jira mailing list