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

Solution Verified - Updated -

Issue

  • 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

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 5.x
    • 6.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
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.