Stopping context in mod_cluster via CLI fails

Solution Verified - Updated -

Issue

  • We try to stop our application context on mod_cluster through CLI:
[standalone@localhost:9999 /] /subsystem=modcluster:stop-context(context=/myapp,virtualhost=default-host,waittime=10)
{"outcome" => "success"}
  • This only puts the app in a disabled state though and throws a WARN after the waittime given in the command passes:
WARN  [org.jboss.modcluster.ModClusterService] (management-handler-thread - 1) Failed to drain pending requests from context [/myapp] within specified timeout: 10 seconds

Environment

  • JBoss Enterprise Application Platform (EAP) 6
    • mod_cluster 1.2.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.