Re: Issues with org.apache.catalina.connector.Request

2010-08-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Yogeshwar, On 8/5/2010 11:03 AM, Yogeshwar Srikrishnan wrote: > Thanks.Quite possible we are using certain REST resources as sub resource. > Could be issues with the way its done! This is not legal from a Servlet Spec standpoint. It's also bad practi

Re: Issues with org.apache.catalina.connector.Request

2010-08-05 Thread Yogeshwar Srikrishnan
Thanks.Quite possible we are using certain REST resources as sub resource. Could be issues with the way its done! Thanks for the help. On 08/05/2010 09:59 AM, Caldarale, Charles R wrote: It means it appears that you have stored a reference to the Request object in the session or some other scop

RE: Issues with org.apache.catalina.connector.Request

2010-08-05 Thread Caldarale, Charles R
> From: Yogeshwar Srikrishnan [mailto:yogesh.srikrish...@rackspace.com] > Subject: Re: Issues with org.apache.catalina.connector.Request > > > This smacks of a cached request > > object, which is totally illegal. > > " what do you mean by that? It means i

Re: Issues with org.apache.catalina.connector.Request

2010-08-05 Thread Yogeshwar Srikrishnan
Thanks Christopher.This is the custom exception.All that our code attempts is to invoke the servletRequest.setAttribute where servletRequest is a HttpServletRequest and it is not cached. When you say " This smacks of a cached request object, which is totally illegal. " what do you mean by tha

Re: Issues with org.apache.catalina.connector.Request

2010-08-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Yogeshwar, On 8/2/2010 10:23 AM, Yogeshwar Srikrishnan wrote: > I Keep getting this exception once in a while.The code line shows >> Object listeners[] = context.getApplicationEventListeners(); >> The version of apache that we use 5.5.23. >> >

Issues with org.apache.catalina.connector.Request

2010-08-02 Thread Yogeshwar Srikrishnan
I Keep getting this exception once in a while.The code line shows Object listeners[] = context.getApplicationEventListeners(); The version of apache that we use 5.5.23. java.lang.NullPointerException at org.apache.catalina.connector.Request.setAttribute(Request.java:1382) at or