How do I shutdown JBoss AS 7 server?

前端 未结 6 1527
醉酒成梦
醉酒成梦 2020-12-12 22:08

I recently updated from jboss-as.7.1.0.CR1b to jboss-as.7.1.0.Final and want to shutdown running instance from the console. In previous versions th

6条回答
  •  甜味超标
    2020-12-12 23:04

    For standalone mode,

    ./jboss-cli.sh --connect command=:shutdown
    

    For domain mode, hostname should be specified like this:

    ./jboss-cli.sh --connect  /host=master:shutdown
    

    'master' is the default hostname. The server hostname could be found in $JBOSS_HOME/domain/configuration/host.xml

    If you have set security realm then use:

    ./jboss-cli.sh --connect --controller=: --user= --password= /host=master:shutdown
    

提交回复
热议问题