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