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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content