• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: new Session being created
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: new Session being created


  • Subject: Re: new Session being created
  • From: Josh Paul <email@hidden>
  • Date: Thu, 4 Sep 2008 17:43:34 -0700

I'm not swallowing exceptions anywhere, and if I am they're printing to stdout.

I do think the session is locked or not checked in. I need to investigate further.

Thanks.

On Sep 4, 2008, at 3:41 PM, Guido Neitzer wrote:

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
  • Follow-Ups:
    • Re: new Session being created
      • From: Chuck Hill <email@hidden>
References: 
 >Re: new Session being created (From: Guido Neitzer <email@hidden>)

  • Prev by Date: Re: Do DA's add a page to the app's cache ?
  • Next by Date: Re: new Session being created
  • Previous by thread: Re: new Session being created
  • Next by thread: Re: new Session being created
  • Index(es):
    • Date
    • Thread