• 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
Back To Basics : Databases Active Editing Context
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Back To Basics : Databases Active Editing Context


  • Subject: Back To Basics : Databases Active Editing Context
  • From: Owen McKerrow <email@hidden>
  • Date: Fri, 4 Jul 2008 09:05:03 +1000

Hi All,

We're still trying to track down the issue with one Editing Context somehow getting itself permanently attached as the Databases Active Editing Context. In fact we have an instance of it where it produces this error :

Cannot obtain globalId for an object which is registered in an other than the databaseContext's active editingContext, object: Researcher: (Active_Name=Peter Newnam {rowID=28082;}, databaseContext: com.webobjects.eoaccess.EODatabaseContext@2cd728, object's editingContext: edu.uow.ris.framework.LockErrorScreamerEditingContext@10c6406, databaseContext's active editingContext: edu.uow.ris.framework.LockErrorScreamerEditingContext@1efaa51

And then keept the session alive for 24 hours ( at which point we restarted Tomcat) and was considered the active editing context for that whole time, which meant that no one else could log into the system, thankfully this was on our Test Server.

So Im going back to basics, just in case I missed something or my understanding of these things is flawed :

1) What exactly is the Databases active editing context ?
2) How/When does a EC become the databases active editing context ?
3) How/When is it no longer considered the databases active editing context ?
4) Should it be possible for an EC to be the active one across multiple RR Loops ? And if so why ?
5) Is there only one databases active editing context for each instance of the application or is it one per session ?


Owen McKerrow
WebMaster, emlab
Ph : +61 02 4221 5517
http://emlab.uow.edu.au

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

People who prefer typing to pointing then seem to prefer acronyms to save typing :-)
-Denis Stanton, On people using Command Line Interfaces



_______________________________________________ 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: Back To Basics : Databases Active Editing Context
      • From: Chuck Hill <email@hidden>
  • Prev by Date: WOXMLCoder uses objectIDRef for mutable objects
  • Next by Date: Re: Back To Basics : Databases Active Editing Context
  • Previous by thread: Re: WOXMLCoder uses objectIDRef for mutable objects
  • Next by thread: Re: Back To Basics : Databases Active Editing Context
  • Index(es):
    • Date
    • Thread