You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2008/06/02 20:18:52 UTC
DO NOT REPLY [Bug 45102] IllegalStateException getting HttpSession
from HttpServletRequest
https://issues.apache.org/bugzilla/show_bug.cgi?id=45102
Mark Thomas <ma...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |NEEDINFO
--- Comment #1 from Mark Thomas <ma...@apache.org> 2008-06-02 11:18:51 PST ---
To get this exception:
a) you must request a session
b) you must be using cookies for session ID
c) the response must already be committed
c) is the one I would look at. Are you sure getSession() is the first thing you
call? Given you are using the invoker servlet it is likely that the error you
are seeing is a side-effect of this. There are lots of reasons for getting rid
of the invoker servlet (see
http://wiki.apache.org/tomcat/FAQ/Miscellaneous#Q2). I suggest removing the
invoker servlet and seeing if the error is fixed.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org