You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltaspike.apache.org by "Thomas Andraschko (JIRA)" <ji...@apache.org> on 2016/02/17 15:59:18 UTC

[jira] [Created] (DELTASPIKE-1078) Request binding throws exception when using forwards

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)