'IllegalStateException: UT000196: Session with id already exists' error seen after upgrading from EAP 6 to EAP 7

Solution Unverified - Updated -

Issue

  • We recently upgraded from EAP 6 to EAP 7. Then in some cases, we see this exception:
ERROR [io.undertow.request] (default task-6) UT005023: Exception handling request to /page: java.lang.IllegalStateException: UT000196: Session with id 1M6JVjMTJsnlzZE9w4TKIJfGPTQ6pkXRVU66gnUW already exists
    at io.undertow.server.session.InMemorySessionManager.createSession(InMemorySessionManager.java:180)
    at io.undertow.servlet.spec.ServletContextImpl.getSession(ServletContextImpl.java:932)
    at io.undertow.servlet.spec.ServletContextImpl.getSession(ServletContextImpl.java:948)
    at io.undertow.servlet.handlers.security.ServletFormAuthenticationMechanism.storeInitialLocation(ServletFormAuthenticationMechanism.java:198)

Environment

  • JBoss Enterprise Application Platform (EAP) 7.2.8+

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