JBoss improperly provides a null cookie array return to getCookies() calls

Solution Verified - Updated -

Issue

  • Our valve randomly gets a null cookie array returned to it from org.apache.catalina.connector.Request.getCookies() calls it makes. This makes requests fail at random in unexpected ways (missing data, failures to authenticate). We know cookies are provided for these requests; why would JBoss randomly fail to return cookies?

Environment

  • JBoss Enterprise Application Platform (EAP)
    • JBossWeb

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.