Re: new Session being created
Re: new Session being created
- Subject: Re: new Session being created
- From: Guido Neitzer <email@hidden>
- Date: Thu, 04 Sep 2008 16:41:57 -0600
- Thread-topic: new Session being created
Only thought I have is that it might not be a good idea to fire that DA from
a spawned thread from the RR loop. You might end up trying to check out a
session from the session store that is already checked out.
Not sure what would cause the creation of a new session though ... maybe
that it is throwing an exception while trying to access the old (but locked)
session and this could create a new session.
Are you swallowing exceptions somewhere?
cug
On 04.09.08 16:33, "Josh Paul" <email@hidden> wrote:
> 100%.
>
> I left out the fact that this is related to a Thread, as that's where
> the status is being created. So, I have a DA that fires the process
> and another DA that checks in on it. The issue is that when checking,
> a new Session keeps getting created.
>
> Thoughts?
>
> On Sep 4, 2008, at 3:26 PM, Guido Neitzer wrote:
>
>> And you are sure, your session is not terminated somewhere else?
>>
>> cug
>>
>> On 04.09.08 15:59, "Josh Paul" <email@hidden> wrote:
>>
>>> I'm using WO 5.3 with a version of Wonder about 1 week old...
>>>
>>> On Sep 4, 2008, at 2:50 PM, Guido Neitzer wrote:
>>>
>>>> On 04.09.08 15:42, "Chuck Hill" <email@hidden> wrote:
>>>>
>>>>> That sort of thing should work. Which version of WO? There may
>>>>> have
>>>>> been some related bugs in earlier versions of 5.4
>>>>
>>>> As far as I know, that should work. But I always call
>>>> "existingSession()"
>>>> before I do anything else in a DA call.
>>>>
>>>> cug
>>>>
>>>>
>>>
>>
>>
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden