[
https://issues.jboss.org/browse/WFLY-6706?page=com.atlassian.jira.plugin....
]
Robert Smith commented on WFLY-6706:
------------------------------------
Hi Brian,
A few notes.
1. We are using Primefaces JSF. The error occurs in a @RequestScoped bean - following is
the actual code:
public void logout() {
...
HttpSession session =
(HttpSession)FacesContext.getCurrentInstance().getExternalContext().getSession(false);
log.debug("Invalidated session " + session.getId());
if(session != null){
ExternalContext ec = FacesContext.getCurrentInstance().getExternalContext();
ec.invalidateSession();
try {
ec.redirect(ec.getRequestContextPath() + "/xhtml/logout.xhtml");
} catch (IOException e) {
log.error("Exception occurred logging out.", e);
}
}
}
the logout.xhtml is just a display screen that indicates the user is logged out. It
include a css file and reads a language file.
2. I have run the application on Wildfly 9.0.2.Final using the standalone profile without
seeing this error.
3. We are currently testing using a domain configuration with a *single *node and it
happens every logout.
4. We are not sharing sessions. We are running the dc, host controller, process controller
and server on a single linux vm.
Domain mode stack trace on session invalidate
---------------------------------------------
Key: WFLY-6706
URL:
https://issues.jboss.org/browse/WFLY-6706
Project: WildFly
Issue Type: Feature Request
Components: Domain Management, Web (Undertow)
Affects Versions: 9.0.2.Final
Reporter: Robert Smith
Assignee: Brian Stansberry
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)