[jboss-jira] [JBoss JIRA] (AS7-5560) jboss-cli.bat --debug option not shifted properly

Cheng Fang (JIRA) jira-events at lists.jboss.org
Fri Sep 14 14:25:32 EDT 2012


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

Cheng Fang updated AS7-5560:
----------------------------

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

{noformat}
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
{noformat}

  was:
Windows only.

After appending debug options to JAVA_OPTS, the original --debug xxxx is not stripped out, and is passed to JBoss Modules, which failed:

{noformat}
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
{noformat}


    
> jboss-cli.bat --debug option not shifted properly
> -------------------------------------------------
>
>                 Key: AS7-5560
>                 URL: https://issues.jboss.org/browse/AS7-5560
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: Scripts
>    Affects Versions: 7.2.0.Alpha1
>         Environment: Windows 7
>            Reporter: Cheng Fang
>            Assignee: Brian Stansberry
>
> 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:
> {noformat}
> 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
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list