There's no attachment here. I don't think there's an issue with the stability of the interceptor... If you're still trying to "fix" the issue of the request not beeing sharable between threads, then you're not going to succeed. You have to fix it by adapting your code. If you can't get the objects you require from the request, then consider writing a custom interceptor that injects it to your action. Use the framework interceptors as inspiration...
Nils-H On Thu, Nov 27, 2008 at 12:21 PM, nikunj <[EMAIL PROTECTED]> wrote: > Nils-H > > I am checking stability and performance of this interceptor. > Attach file having code which I want to perform successfully. > > Can please tell me what I can do with this code to resolve issue. > > Regards, > Nikunj > > -----Original Message----- > From: Nils-Helge Garli Hegvik [mailto:[EMAIL PROTECTED] > Sent: Thursday, November 27, 2008 4:36 PM > To: Struts Users Mailing List > Subject: Re: ExecuteAndWaitInterceptor Issue - Not getting request object at > some where > > What is it that you're trying to do with this code? It will be easier > to help if you show us what you're actually trying to achieve > (although I have a feeling based on your previous questions...). > > Nils-H > > On Thu, Nov 27, 2008 at 11:24 AM, nikunj <[EMAIL PROTECTED]> > wrote: >> Dear All, >> >> >> >> I am using ExecuteAndWaitInterceptor. >> >> Action contain following code in execute method. >> >> >> >> 1. for(int i=0; i<100000; i++) >> >> 2. { >> >> 3. Thread.sleep(10); >> >> 4. logger.debug(i+ ") Name : "+Thread.currentThread().getName()); >> >> 5. logger.debug("request : " + request); >> >> 6. logger.debug("Session : " + request.getSession().getId()); >> >> 7.} >> >> >> >> O/p >> >> 0) Name : testActionBackgroundThread >> >> request : [EMAIL PROTECTED] >> >> Session : 00256AA99A97C3BFD7750ECE402DE543 >> >> 1) Name : testActionBackgroundThread >> >> request : [EMAIL PROTECTED] >> >> Session : 00256AA99A97C3BFD7750ECE402DE543 >> >> 2) Name : testActionBackgroundThread >> >> request : [EMAIL PROTECTED] >> >> Session : 00256AA99A97C3BFD7750ECE402DE543 >> >> 3) Name : testActionBackgroundThread >> >> request : [EMAIL PROTECTED] >> >> Session : 00256AA99A97C3BFD7750ECE402DE543 >> >> 4) Name : testActionBackgroundThread >> >> request : [EMAIL PROTECTED] >> >> Session : 00256AA99A97C3BFD7750ECE402DE543 >> >> 5) Name : testActionBackgroundThread >> >> request : [EMAIL PROTECTED] >> >> java.lang.NullPointerException at line no 6 >> >> >> >> What is the magic with line no 6 so that for some value of "I" it is given >> output successfully and after it given NullPointerException? >> >> How can I fix this issue? >> >> Can any body help me? >> >> Thanks in Advance. >> >> >> >> Regards, >> >> >> >> Nikunj Mulani >> >> Applied Software Pvt. Ltd. >> >> Ahmedabad >> >> 91-98249 88262 >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > __________ NOD32 3644 (20081126) Information __________ > > This message was checked by NOD32 antivirus system. > http://www.eset.com > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]