Enabling and disabling contexts on mod_cluster from the command line or scripts

Solution Verified - Updated -


  • We'd like to be able to enable/disable our JBoss nodes and their application contexts on mod_cluster via the command line or through scripts. How could this be done?
  • How to disable web content in mod-cluser by script


  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 5.x
    • 6.x
    • 7.x
  • JBoss Enterprise Web Server (EWS)
  • Apache httpd
  • mod_cluster

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In