tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 45102] IllegalStateException getting HttpSession from HttpServletRequest
Date Mon, 02 Jun 2008 18:18:52 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=45102


Mark Thomas <markt@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO




--- Comment #1 from Mark Thomas <markt@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


Mime
View raw message