JBoss does not start when multiple options are specified in a single <option> in domain.xml

Solution In Progress - Updated -

Issue

We are trying to add some Java Option for the server instance but it failed.

                <jvm-options>
                   <option value="-server"/>
                   <option value="-XX:+UseLargePages -XX:LargePageSizeInBytes=2m"/> 
                   <option value="-XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:ParallelGCThreads=4"/>
                </jvm-options>

It works when we only have "-server"

Environment

  • JBoss Enterprise Application Platform (EAP) 6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.