[jboss-jira] [JBoss JIRA] (WFCORE-1686) Standalone server logs FATAL message on --help

Chao Wang (JIRA) issues at jboss.org
Tue Aug 2 23:28:00 EDT 2016


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

Chao Wang updated WFCORE-1686:
------------------------------
    Attachment: WFCORE-1686.patch


Change made in WFCORE-1498
In this case, it's an intentional Aborting due to {{serverEnvironment}} is null in [Main.java|https://github.com/wildfly/wildfly-core/blob/master/server/src/main/java/org/jboss/as/server/Main.java] It's better to exit without logging the FATAL message into neither log nor console.
Hi [~brian.stansberry], Is this patch ok to you ? 

> Standalone server logs FATAL message on --help
> ----------------------------------------------
>
>                 Key: WFCORE-1686
>                 URL: https://issues.jboss.org/browse/WFCORE-1686
>             Project: WildFly Core
>          Issue Type: Bug
>          Components: Server
>    Affects Versions: 3.0.0.Alpha4
>            Reporter: Petr Kremensky
>            Assignee: Jason Greene
>         Attachments: WFCORE-1686.patch
>
>
> {noformat}
> 15:07:56,793 FATAL [org.jboss.as.server] (main) WFLYSRV0239: Aborting with exit code 1
> {noformat}
> appears at the end of help for standalone server.
> *reproduce*
> {noformat}
> bash standalone.sh --help
> {noformat}
> The issues is a regression against 7.0.0



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list