Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-1144

Space before JVM argument in <jvm-options> causes failure

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 2.0.3.Final
    • None
    • Management
    • None

    Description

      I have this configuration in my host.xml. Note the space before -XX:HeapDumpPath.

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

      When I start up EAP, server-one fails to start with this error message:

      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
      

      Attachments

        Issue Links

          Activity

            People

              rhn-engineering-lgao Lin Gao
              rhn-engineering-lgao Lin Gao
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: