【问题标题】:jboss-cli.sh not working on centos 7jboss-cli.sh 无法在 centos 7 上运行
【发布时间】:2018-12-05 13:57:56
【问题描述】:

我在 Centos 7 上使用 Wildfly-12。 当我运行 ./jboss-cli.sh 时出现以下错误:

You are disconnected at the moment. Type 'connect' to connect to the server or 'help' for the list of supported commands.
    java.io.IOException: Error executing 'stty -echo ıntr undef': stty: invalid argument `ıntr'
    Try 'stty --help' for more information.
    : Error executing 'stty -echo ıntr undef': stty: invalid argument `ıntr'
    Try 'stty --help' for more information.

和 java -version 输出是:

java -version
java version "1.8.0_171"
Java(TM) SE Runtime Environment (build 1.8.0_171-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.171-b11, mixed mode)

我希望任何人都知道问题出在哪里。提前致谢。

【问题讨论】:

    标签: jakarta-ee centos wildfly jboss-cli


    【解决方案1】:

    看起来这是一个错误。您介意提交issue 并提供一些详细信息吗?

    一种解决方法是将命令传递给jboss-cli.sh 或使用--file=command-file.cli。那只会跳过交互模式。

    $JBOSS_HOME/bin/jboss-cli.sh -c ":shutdown"
    $JBOSS_HOME/bin/jboss-cli.sh -c --file=configure.cli`
    

    【讨论】:

      【解决方案2】:

      我刚刚尝试使用 VirtualBox + Centos 7 映像,无法重现该问题。知道“stty -a”的输出是什么,TERM 和 LANG env var 的值将有助于理解发生了什么。 谢谢你。 杰夫

      【讨论】:

        猜你喜欢
        • 2016-04-22
        • 1970-01-01
        • 2015-06-13
        • 2015-06-08
        • 2020-06-08
        • 2014-10-25
        • 1970-01-01
        • 1970-01-01
        • 2018-11-25
        相关资源
        最近更新 更多