High CPU on tomcat in ApplicationDispatcher.wrapResponse

Solution Verified - Updated -

Issue

  • Tomcat reaches points of high CPU with offending threads persisting in ApplicationDispatcher.wrapResponse calls from include calls like below:
            at org.apache.catalina.core.ApplicationDispatcher.wrapResponse(ApplicationDispatcher.java:954)
            at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:532)
            at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:516)

Environment

  • JBoss Enterprise Web Server (JWS) 5.x
    • Tomcat 9.0.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