]
Radoslav Husar reassigned WFLY-6744:
------------------------------------
Assignee: Paul Ferraro (was: Jason Greene)
Problem logout in cluster, not destroyed session
(javax.faces.FacesException: UT000010: Session not found)
----------------------------------------------------------------------------------------------------------
Key: WFLY-6744
URL:
https://issues.jboss.org/browse/WFLY-6744
Project: WildFly
Issue Type: Bug
Components: Clustering, Web (Undertow)
Affects Versions: 10.1.0.Final
Environment: Create a cluster with two nodes using standalone-ha.xml (default
configuration), create an application with <distributable/> in the web.xml and it
must have around 300 requests per seconds and I'm using SSO.
Reporter: Bruno Silva
Assignee: Paul Ferraro
I reproduced the bug on Wildfly master
(
https://ci.jboss.org/hudson/job/WildFly-latest-master/lastBuild/artifact/...) .
The problem is intermittent, sometimes it works but others not.
{noformat}
2016-06-17 11:37:32,366 ERROR [io.undertow.servlet.request] (default task-3) UT015005:
Error invoking method requestDestroyed on listener class
com.sun.faces.config.ConfigureListener: javax.faces.FacesException: UT000010: Session not
found 216sQVCJxKl2ALOykRmdC25xox30nESzAxB-znFS
at
com.sun.faces.context.ExceptionHandlerImpl.handle(ExceptionHandlerImpl.java:136)
at
com.sun.faces.application.WebappLifecycleListener.requestDestroyed(WebappLifecycleListener.java:122)
at
com.sun.faces.config.ConfigureListener.requestDestroyed(ConfigureListener.java:346)
at
io.undertow.servlet.core.ApplicationListeners.requestDestroyed(ApplicationListeners.java:257)
at
io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:328)
at
io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:264)
at
io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:81)
at
io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:175)
at io.undertow.server.Connectors.executeRootHandler(Connectors.java:202)
at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:792)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.IllegalStateException: UT000010: Session not found
216sQVCJxKl2ALOykRmdC25xox30nESzAxB-znFS
at
org.wildfly.clustering.web.undertow.session.DistributableSession.validate(DistributableSession.java:56)
at
org.wildfly.clustering.web.undertow.session.DistributableSession.getAttributeNames(DistributableSession.java:134)
at
io.undertow.servlet.spec.HttpSessionImpl.getFilteredAttributeNames(HttpSessionImpl.java:140)
at
io.undertow.servlet.spec.HttpSessionImpl.getAttributeNames(HttpSessionImpl.java:135)
at
com.sun.faces.application.WebappLifecycleListener.syncSessionScopedBeans(WebappLifecycleListener.java:405)
at
com.sun.faces.application.WebappLifecycleListener.requestDestroyed(WebappLifecycleListener.java:116)
... 11 more
{noformat}