IllegalStateException from SimpleSessionConfig.clearSession on EAP 7.4

Solution Unverified - Updated

Environment

  • JBoss Enterprise Application Platform (EAP) 7.4.x

Issue

  • We see the following exception on EAP 7.4 with some session invalidations:
java.lang.IllegalStateException
    at org.wildfly.clustering.web.undertow.session.SimpleSessionConfig.clearSession(SimpleSessionConfig.java:47)
    at org.wildfly.clustering.web.undertow.session.DistributableSession.invalidate(DistributableSession.java:282)
    at io.undertow.servlet.spec.HttpSessionImpl.invalidate(HttpSessionImpl.java:198) 

Resolution

  • Upgrade to EAP 8.0.0+
  • Update to EAP 7.4 Update 13+

Root Cause

Components
Category

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.