8

Possible Duplicate:
How do I shutdown JBoss AS 7 server?

I installed jboss-7.1.0 and linked it to my jboss symbolic link to upgrade it from jboss-7.0.2 on an Ubuntu server. Unfortunately my init.d script no longer works since it seems 7.1.0 does not ship with jboss-admin.sh scripts.

What replaces jboss-admin.sh found in 7.0.2 in JBoss AS 7.1.0?

Community
  • 1
  • 1
cmdematos
  • 883
  • 4
  • 12
  • 24
  • 2
    I believe you can have a look at this thread for the answer http://stackoverflow.com/questions/9327233/how-do-i-shutdown-jbossas-7-server – Tobias Feb 18 '12 at 06:59

2 Answers2

13
jboss-cli.sh  --connect command=:shutdown
Ondra Žižka
  • 43,948
  • 41
  • 217
  • 277
  • 2
    The jboss-admin.sh has been renamed jboss-cli.sh to better clarify the purpose of the script. – davidryan Feb 20 '12 at 02:17
  • if your instance is not bound to localhost, add --controller=< your machin ip, eg.10.x.x.x>:9999 to the command – Scott May 16 '13 at 22:08
0
jboss-cli.sh --connect  /host=*:shutdown
Davide Consonni
  • 2,094
  • 26
  • 27