Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-5560

jboss-cli.bat --debug option not shifted properly

XMLWordPrintable

      Windows only.

      Running jboss-cli.bat -d failed to start the server.

      I think this is what happened in jboss-cli.bat, after appending debug options to JAVA_OPTS, the original --debug xxxx is not stripped out, and is passed to JBoss Modules, which failed:

      C:\jboss-as7\jboss-as-7.2.0.Alpha1-SNAPSHOT\bin>"C:\Program Files\Java\jdk1.6.0_31\bin\java" -XX:+TieredCompilation -XX:
      +UseCompressedOops -Dprogram.name=-d  -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n  "-Dorg.jboss.boot.l
      og.file=C:\jboss-as7\jboss-as-7.2.0.Alpha1-SNAPSHOT\standalone\log\boot.log"  "-Dlogging.configuration=file:C:\jboss-as7
      \jboss-as-7.2.0.Alpha1-SNAPSHOT\standalone/configuration/logging.properties"     -jar "C:\jboss-as7\jboss-as-7.2.0.Alpha
      1-SNAPSHOT\jboss-modules.jar"     -mp "C:\jboss-as7\jboss-as-7.2.0.Alpha1-SNAPSHOT\modules"     -jaxpmodule "javax.xml.j
      axp-provider"      org.jboss.as.standalone     -Djboss.home.dir="C:\jboss-as7\jboss-as-7.2.0.Alpha1-SNAPSHOT"      -d
      Listening for transport dt_socket at address: 8787
      

              jperkins-rhn James Perkins
              cfang@redhat.com Cheng Fang
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: