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, 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