Re: [OT] Problems keeping references to HttpServletRequest, HttpServletResponse and HttpSession

2013-09-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Thomas, On 8/31/13 5:50 PM, Mark Thomas wrote: > However, there is some good news. If you use the async API, the > app can stay pretty much as is. > > The short version is: - use startAsync and pass the async context > to your threads - have those

Re: Problems keeping references to HttpServletRequest, HttpServletResponse and HttpSession

2013-08-31 Thread Darrell Esau
Makes perfect sense. Unfortunately, I'm using tomcat 6 / JBoss 4. Updating to J2EE 6 is probably going to be a huge task. I think I'll have to strip out my use of the request/response/session from my async code. Thanks Mark! -d On Sat, Aug 31, 2013 at 2:50 PM, Mark Thomas wrote: > Darrell

Re: Problems keeping references to HttpServletRequest, HttpServletResponse and HttpSession

2013-08-31 Thread Mark Thomas
Darrell Esau wrote: >Hi all, > >I'm running into a problem with tomcat, which I believe is >self-inflicted. > Mostly I just want to confirm my suspicions. > >I'm doing some fairly high-rate polling (using >JavaScript/XmlHttpRequest/DWR). I'm polling, which is just calling the >DWR >servlet once e

Problems keeping references to HttpServletRequest, HttpServletResponse and HttpSession

2013-08-31 Thread Darrell Esau
Hi all, I'm running into a problem with tomcat, which I believe is self-inflicted. Mostly I just want to confirm my suspicions. I'm doing some fairly high-rate polling (using JavaScript/XmlHttpRequest/DWR). I'm polling, which is just calling the DWR servlet once every second (using setTimeout o