[
https://issues.jboss.org/browse/AS7-5561?page=com.atlassian.jira.plugin.s...
]
Cheng Fang commented on AS7-5561:
---------------------------------
Notice the error close to the end where it says ./domain.sh. This makes me think I might
have run the wrong command.
$ standalone.sh --abc
=========================================================================
JBoss Bootstrap Environment
JBOSS_HOME: /Users/cfang/as
JAVA: /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/bin/java
JAVA_OPTS: -d32 -client -Xms64m -Xmx512m -XX:MaxPermSize=256m
-Djava.net.preferIPv4Stack=true -Dorg.jboss.resolver.warning=true
-Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000
-Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true
-Djboss.server.default.config=standalone.xml
=========================================================================
14:44:39,994 INFO [org.jboss.modules] (main) JBoss Modules version 1.1.3.GA
JBAS015801: Invalid option '--abc'Usage: ./domain.sh [args...]
where args include:
...
incorrect command name in error message reported by jboss-cli
-------------------------------------------------------------
Key: AS7-5561
URL:
https://issues.jboss.org/browse/AS7-5561
Project: Application Server 7
Issue Type: Bug
Components: Server
Affects Versions: 7.2.0.Alpha1
Reporter: Cheng Fang
Assignee: Jason Greene
When reporting invalid options, jboss-cli uses the hard-coded name ./domain.sh, even if
the actual command is standalone.sh, standalone.bat.
Could be from this class:
org.jboss.as.process.ProcessMessages
@Message(id = Message.NONE, value = "Usage: ./domain.sh [args...]%nwhere args
include:")
String argUsage();
I also suggest removing the leading ./
--
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