How to shut down JBoss from remote ?

User Rating: 0 / 5

Star InactiveStar InactiveStar InactiveStar InactiveStar Inactive
 

JBoss recipe of the day

JBoss can be shut down remotely using the twiddle command line utility.

Just add the  -s option to specify the host you are trying to talk to:
Windows Users:
C:\jboss-4.2.2.GA\bin>twiddle -s localhost invoke "jboss.system:type=Server" shutdown
Unix Users:
[bin]$ ./twiddle.sh -s hostname invoke jboss.system:type=Server shutdown

The command will return "null" and JBoss will start shutting down.....


Advertisement

Related articles available on mastertheboss.com

JBoss MBeans POJO

JMX MBean services are the core building blocks of the JBoss Appl

How to a dump of JNDI tree with JMX console ?

#2 JBoss Howto. This is the recipe of the day

How to configure JBoss to bind to a different IP ?

  If you want to change the jboss.bind.address property use the 

How to create multiple instances of an Mbean?

  Supposing you need two instances of an MBean, let's say one fo

JBoss classloader issues

By default JBoss (prior to version 3.2) uses a flat class loading

jboss.xml reference

JBoss xml reference   JBoss AS uses a set of custom xml de