Thomas Andraschko created DELTASPIKE-1078:
---------------------------------------------
Summary: Request binding throws exception when using forwards
Key: DELTASPIKE-1078
URL: https://issues.apache.org/jira/browse/DELTASPIKE-1078
Project: DeltaSpike
Issue Type: Bug
Components: Servlet-Module
Affects Versions: 1.5.3
Reporter: Thomas Andraschko
Assignee: Thomas Andraschko
Fix For: 1.5.4
java.lang.IllegalStateException: There is already an instance bound to this
thread.
at
org.apache.deltaspike.servlet.impl.produce.RequestResponseHolder.bind(RequestResponseHolder.java:62)
at
org.apache.deltaspike.servlet.impl.produce.RequestResponseHolderListener.requestInitialized(RequestResponseHolderListener.java:33)
This occurs e.g. if Tomcat Form Auth is used because:
1) visit someUrl.xhtml; Tomcat fires #requestInitialized
2) user isn't logged id; Tomcat sends an forward to login.xhtml and fires
#requestInitialized again
3) DS throws the exception
4) #requestDestroyed is called
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)