In Seam I'm receiving the exception 'Please end the HttpSession via org.jboss.seam.web.Session.instance().invalidate()'
Issue
-
When attempting to invalidate my user session with the #{session.invalidate}", Seam throws the following exception
java.lang.IllegalStateException: Please end the HttpSession via org.jboss.seam.web.Session.instance().invalidate() at org.jboss.seam.contexts.Lifecycle.endSession(Lifecycle.java:239) at org.jboss.seam.contexts.ServletLifecycle.endSession(ServletLifecycle.java:152) at org.jboss.seam.servlet.SeamListener.sessionDestroyed(SeamListener.java:59)
Environment
- JBoss Enterprise Application Platform (EAP) 4.3
- Seam 2.0.2-FP
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
