Description of problem: Logging out causes an exception. Version-Release number of selected component (if applicable): 3.7.0-snapshot How reproducible: Often, easy Steps to Reproduce: 1. Log in 2. Log out Actual results: Error processing request Context Path:/zanata Servlet Path:/home.seam Path Info:null Query String:null Stack Trace java.lang.IllegalStateException: UT000010: Session not found pNX8iHjW4LWKodtr3KGw988Z io.undertow.server.session.InMemorySessionManager$SessionImpl.getAttributeNames(InMemorySessionManager.java:329) io.undertow.servlet.spec.HttpSessionImpl.getFilteredAttributeNames(HttpSessionImpl.java:139) io.undertow.servlet.spec.HttpSessionImpl.getAttributeNames(HttpSessionImpl.java:134) com.sun.faces.context.SessionMap.getKeyIterator(SessionMap.java:211) com.sun.faces.context.BaseContextMap$KeySet.iterator(BaseContextMap.java:181) ... Expected results: Homepage is shown Additional info: Found using functional tests
See Also: https://issues.jboss.org/browse/WFLY-3529
Going by https://issues.jboss.org/browse/WFLY-3529?focusedCommentId=13047218&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13047218 , upgrading the version of Undertow to 1.2.0.Beta10 may help. We would have to package it up as a wildfly module.
This actually seems to happen on all sorts of operations, including REST requests, not just logouts.
Build script: https://github.com/zanata/zanata-wildfly/commit/d7569d1261358f294a0eb34a651f364ba4fdd30c The new module can be downloaded here: https://sourceforge.net/projects/zanata/files/wildfly/
Pull requests: https://github.com/zanata/zanata-server/pull/786 https://github.com/zanata/zanata-server/pull/784
See https://github.com/zanata/zanata-server/pull/784 (WildFly 9 upgrade) WildFly 9 already includes Undertow 1.2.x, so there's no need for the Undertow module I packaged.
Verified (master) at 485f1b54ca0b5467e58760091dccc2a0da71dc94