How do I shutdown JBoss AS 7 server?

前端 未结 6 1526
醉酒成梦
醉酒成梦 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 22:41

    For some reason the JBoss team decided to reorganize the scripts between minor revision upgrades. In any case, jboss-cli.sh is the replacement for jboss-admin.sh (they are for all intents and purposes the exact same script). So your new shutdown command is:

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

提交回复
热议问题