• 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: Deadlock [Fixed - we think!]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Deadlock [Fixed - we think!]


  • Subject: Re: Deadlock [Fixed - we think!]
  • From: Chuck Hill <email@hidden>
  • Date: Tue, 27 Nov 2007 10:46:06 -0800


On Nov 27, 2007, at 10:42 AM, Simon McLean wrote:

Many thanks to everyone for their help with my recent deadlock issue. I think we may well have nailed it as we've managed 18 hours now without a blip.

What was the problem?

We use long response pages for connecting to supplier systems via xml posted over http. We have pojo's that represent the request and response documents, and we use WOXMLCoder to serialise the objects in to request documents and deserialise response documents back into objects. One of the request pojos was carrying an enterprise object around with it that represented the user logged into the current session and in certain circumstances WOXMLCoder was accessing this object. I believe that breaks this rule:


1. You have a WOLongResponsePage that is using an editing context that is managed (locked and unlocked by the session).

That would do it! :-)



Disappointingly the app did in fact lock up once more this afternoon. However the logs are plastered with the session termination scream so I'm going to get rid of that one before deciding whether to throw myself out of the window :-)


Hopefully you are on the ground floor.


--

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects






_______________________________________________
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


References: 
 >Deadlock [Fixed - we think!] (From: Simon McLean <email@hidden>)
 >Re: Deadlock [Fixed - we think!] (From: Chuck Hill <email@hidden>)
 >Re: Deadlock [Fixed - we think!] (From: Simon McLean <email@hidden>)

  • Prev by Date: Re: Deadlock [Fixed - we think!]
  • Next by Date: Re: WebObjects 5.4 examples
  • Previous by thread: Re: Deadlock [Fixed - we think!]
  • Next by thread: Re: Deadlock [Fixed - we think!]
  • Index(es):
    • Date
    • Thread