Re: WOLongResponesePage Problem

2008-05-27 Thread Tonny Staunsbrink
Well, as with all other programming stuff, the better design depends on your situation. I agree using and locking the same edting context for request and background tasks will lock up you app server (multithreaded or not). But maybe you don't need to lock during the entire background task. If your

Re: WOLongResponesePage Problem

2008-05-25 Thread Guido Neitzer
On 24.05.2008, at 15:09, Tonny Staunsbrink wrote: Also bear in mind that accessing the session's editing context within the performAction thread is a sure path to deadlocks. Using the sessions editingContext in a background thread with proper locking/unlocking should be ok I think. Not real

Re: WOLongResponesePage Problem

2008-05-25 Thread Lachlan Deck
On 25/05/2008, at 7:09 AM, Tonny Staunsbrink wrote: On Thu, May 22, 2008 at 3:16 AM, Lachlan Deck <[EMAIL PROTECTED]> wrote: On 21/05/2008, at 8:11 PM, Patrick Middleton wrote: On 21 May 2008, at 10:59, santoshg wrote: I am using WOLongResponsePage Component in my project. B

Re: WOLongResponesePage Problem

2008-05-24 Thread Tonny Staunsbrink
On Thu, May 22, 2008 at 3:16 AM, Lachlan Deck <[EMAIL PROTECTED]> wrote: > On 21/05/2008, at 8:11 PM, Patrick Middleton wrote: > >> >> On 21 May 2008, at 10:59, santoshg wrote: >> >> I am using WOLongResponsePage Component in my project. >>> But in the run time, it is showing the

Re: WOLongResponesePage Problem

2008-05-21 Thread Lachlan Deck
On 21/05/2008, at 8:11 PM, Patrick Middleton wrote: On 21 May 2008, at 10:59, santoshg wrote: I am using WOLongResponsePage Component in my project. But in the run time, it is showing the error message: Session.context() evaluates to null. You may be trying to get

Re: WOLongResponesePage Problem

2008-05-21 Thread Patrick Middleton
On 21 May 2008, at 10:59, santoshg wrote: Hi All, I am using WOLongResponsePage Component in my project. But in the run time, it is showing the error message: Session.context() evaluates to null. You may be trying to get the context object from an arch