[jboss-jira] [JBoss JIRA] (WFCORE-1144) Space before JVM argument in <jvm-options> causes failure

Jason Greene (JIRA) issues at jboss.org
Wed Nov 25 14:12:00 EST 2015


     [ https://issues.jboss.org/browse/WFCORE-1144?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jason Greene updated WFCORE-1144:
---------------------------------
    Fix Version/s: 2.0.3.Final


> Space before JVM argument in <jvm-options> causes failure
> ---------------------------------------------------------
>
>                 Key: WFCORE-1144
>                 URL: https://issues.jboss.org/browse/WFCORE-1144
>             Project: WildFly Core
>          Issue Type: Bug
>          Components: Domain Management
>         Environment: java version "1.7.0_85"
> OpenJDK Runtime Environment (rhel-2.6.1.3.el6_7-x86_64 u85-b01)
> OpenJDK 64-Bit Server VM (build 24.85-b03, mixed mode)
> RHEL 6.5
>            Reporter: Lin Gao
>            Assignee: Lin Gao
>             Fix For: 2.0.3.Final
>
>
> I have this configuration in my host.xml. Note the space before -XX:HeapDumpPath.
> {code}
>         <server name="server-one" group="main-server-group">
>             <jvm name="default">
>               <jvm-options>
>                 <option value="-agentlib:jdwp=transport=dt_socket,address=8787,server=y,suspend=n"/>
>                 <option value=" -XX:HeapDumpPath=/tmp/"/>
>               </jvm-options>
>            </jvm>
>         </server>
> {code}
> When I start up EAP, server-one fails to start with this error message:
> {code}
> 17:01:26,218 INFO  [org.jboss.as.process.Server:server-one.status] (ProcessController-threads - 3) JBAS012017: Starting process 'Server:server-one'
> [Server:server-one] Listening for transport dt_socket at address: 8787
> [Server:server-one] Error: Could not find or load main class  -XX:HeapDumpPath=.tmp.
> 17:01:26,766 INFO  [org.jboss.as.process.Server:server-one.status] (reaper for Server:server-one) JBAS012010: Process 'Server:server-one' finished with an exit status of 1
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list