Enabling or disabling a JBoss web connector at runtime in EAP 6

Solution Verified - Updated -

Issue

  • How to disable a HTTP connector (close the HTTP socket) and re-enable it during runtime without disturbing other JBoss subsystems and without a restart ?
  • Does modifying the connector's enabled flag requires a restart ?
  • Is there a way remove AJP/HTTP connector gracefully i.e. serve the active requests but do not take new ones?

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.x

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.