Re: EditingContext-Sync [was: WOLongResponesePage Problem]

2008-05-28 Thread Alexander Spohr
Am 27.05.2008 um 22:58 schrieb Tonny Staunsbrink: The reason consider using the same editing context, is that sooner or later i properly wan't my eo's to be displayed to the user At the end of the LongResponse I guess? and usign two ec's will either force me to localize eo's (and using gl

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

WOLongResponesePage Problem

2008-05-21 Thread santoshg
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 archived session object. there is no context o