[jboss-jira] [JBoss JIRA] (WFCORE-417) jboss-cli should set -Djava.awt.headless=true

Jean-Francois Denise (Jira) issues at jboss.org
Thu Jan 24 13:05:00 EST 2019


    [ https://issues.jboss.org/browse/WFCORE-417?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13687278#comment-13687278 ] 

Jean-Francois Denise commented on WFCORE-417:
---------------------------------------------

 I am on Mac OSX High Sierra + JDK 1.8_121. I have created a script that creates 1000000 system-properties. During jboss CLI script execution the focus doesn't shift back to the terminal in which the CLI is running. I can't reproduce the issue. Closing it. Feel free to re-open if you still observe it.

> jboss-cli should set -Djava.awt.headless=true
> ---------------------------------------------
>
>                 Key: WFCORE-417
>                 URL: https://issues.jboss.org/browse/WFCORE-417
>             Project: WildFly Core
>          Issue Type: Bug
>          Components: CLI
>            Reporter: Robin Rosenberg
>            Assignee: Jean-Francois Denise
>            Priority: Minor
>
> On OS X using jboss-cli.sh will cause focus to shift making it very inconvenient to do other things while scripts that talk to jboss execute.
> There is a workaround: export JAVA_OPTS=-Djava.awt.headless=true before invoking the cli, but I see no reason for the CLI not do this itself. This also applied to the adduser.sh script.



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the jboss-jira mailing list