Re: Struts2 threading in a Java EE application server environment

2010-10-19 Thread Phil Adams
Hi Wes, Thanks for that information. It helped to confirm the way I was thinking about the problem.It turns out that the customer has tried out a scenario in which they omit the "execAndWait" interceptor, and it appears to be working fine now with no new thread being created, so the crisis has

Re: Struts2 threading in a Java EE application server environment

2010-10-19 Thread Wes Wannemacher
On Tue, Oct 19, 2010 at 8:07 AM, Phil Adams wrote: > Hi Lukasz, > Thanks for the information... I read about ExecuteAndWaitInterceptor > but it seems as though that must create a new thread as well, since it > also uses the BackgroundProcess class to execute the action, right? > In this particula

Re: Struts2 threading in a Java EE application server environment

2010-10-19 Thread Lukasz Lenart
2010/10/19 Phil Adams : > Hi Lukasz, > Thanks for the information... I read about ExecuteAndWaitInterceptor > but it seems as though that must create a new thread as well, since it > also uses the BackgroundProcess class to execute the action, right? > In this particular situation, I need to find a

Re: Struts2 threading in a Java EE application server environment

2010-10-19 Thread Phil Adams
Hi Lukasz, Thanks for the information... I read about ExecuteAndWaitInterceptor but it seems as though that must create a new thread as well, since it also uses the BackgroundProcess class to execute the action, right? In this particular situation, I need to find a way for the action's execute() me

Re: Struts2 threading in a Java EE application server environment

2010-10-18 Thread Lukasz Lenart
It's a Struts2 specific interceptor to do background work, please read about ExecuteAndWaitInterceptor. Just that interceptor is using new Thread, normally Struts2 don't create additional threads. Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javars

Re: Struts2 threading in a Java EE application server environment

2010-10-18 Thread Phil Adams
Specifically, the thread context information placed on the original thread by the servlet container that provides the J2EE name associated with the webapp and component, etc. This information is (as far as I know) specific to the servlet container implementation and is not portable in any way, so

Re: Struts2 threading in a Java EE application server environment

2010-10-18 Thread Dave Newton
What information is missing? Dave On Mon, Oct 18, 2010 at 11:34 PM, Phil Adams wrote: > Hi, > I'm trying to help a customer that is using Struts2 within a Java > EE-compliant application server.  Unfortunately, I have no real > experience with Struts2 so I was hoping someone on this mailing list

Struts2 threading in a Java EE application server environment

2010-10-18 Thread Phil Adams
Hi, I'm trying to help a customer that is using Struts2 within a Java EE-compliant application server. Unfortunately, I have no real experience with Struts2 so I was hoping someone on this mailing list could offer some help. The main issue that I'm dealing with is this... An HTTP request is rec