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, 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