Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.5.3
-
None
Description
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