[jboss-jira] [JBoss JIRA] (AS7-6602) Inconsistent output between standalone and domain when invalid command line options is presented
Emanuel Muckenhuber (JIRA)
jira-events at lists.jboss.org
Fri Apr 12 12:07:55 EDT 2013
[ https://issues.jboss.org/browse/AS7-6602?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Emanuel Muckenhuber resolved AS7-6602.
--------------------------------------
Resolution: Duplicate Issue
https://issues.jboss.org/browse/AS7-6678
> Inconsistent output between standalone and domain when invalid command line options is presented
> ------------------------------------------------------------------------------------------------
>
> Key: AS7-6602
> URL: https://issues.jboss.org/browse/AS7-6602
> Project: Application Server 7
> Issue Type: Bug
> Components: Server
> Affects Versions: EAP 6.1.0.Alpha (7.2.0.Final)
> Reporter: Brian Stansberry
> Assignee: Emanuel Muckenhuber
> Fix For: 8.0.0.Alpha1
>
>
> Calling [standalone|domain].[sh|bat] with nonsense arguments resulted in the usage message on EAP6.0. The usage message is now presented only for standalone.[sh|bat], but it is missing for domain.
> $ ./domain.sh foo
> ...
> 14:28:24,452 INFO [org.jboss.modules] (main) JBoss Modules version 1.2.0.CR1
> 14:28:24,519 INFO [org.jboss.as.process.Host Controller.status] (main) JBAS012017: Starting process 'Host Controller'
> [Host Controller] 14:28:24,822 INFO [org.jboss.modules] (main) JBoss Modules version 1.2.0.CR1
> [Host Controller] 14:28:24,878 ERROR [stderr] (main) JBAS010961: Invalid option 'foo'. Use domain.sh --help for information on valid command line arguments and their syntax.
> 14:28:24,886 INFO [org.jboss.as.process.Host Controller.status] (reaper for Host Controller) JBAS012010: Process 'Host Controller' finished with an exit status of 99
> 14:28:24,891 INFO [org.jboss.as.process] (Thread-6) JBAS012016: Shutting down process controller
> 14:28:24,892 INFO [org.jboss.as.process] (Thread-6) JBAS012015: All processes finished; exiting
> Also the line:
> Invalid option '--foo'Usage: ./standalone.sh [args...]
> is missing while calling eg. standalone.[sh|bat] --foo
--
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