session.getServletContext returns wrong context with shared-session-config on EAP 7.3.0+

Solution Unverified - Updated -

Issue

  • We upgraded to EAP 7.3.0+ with applications in an ear using a shared-session-config. After the update, session.getServletContext is returning the wrong context in a request when it is first created. But subsequent requests for the existing session show no concern.

Environment

  • JBoss Enterprise Application Platform (EAP) 7.3.0+

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