okay, i was a bit wrong about the problem. now it is solved, finally. the problem was that i have an object "User", which has an aggregated "ResourceManager" object, which, in turn, has the fields of request, response and etc.. i've been storing that User object in the session and not updating those request and response references, what made them stale and unusable. at some points in my application i had a call to resourceManager.getSession().getAttribute("CurrentUser") and on that received object invoked getRequest().getSession() which actually refered to an old request and as a result the session was null, eventhough i would use getReq..().getSession(true). Quite a dissapointment.
Sorry for your time vienzo -- View this message in context: http://www.nabble.com/Tomcat%27s-getSession%28true%29-returning-null-t1405617.html#a3800428 Sent from the Tomcat - User forum at Nabble.com.