• 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: ERJGroupsSynchronization Exception
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ERJGroupsSynchronization Exception


  • Subject: Re: ERJGroupsSynchronization Exception
  • From: Chuck Hill <email@hidden>
  • Date: Thu, 23 Oct 2008 15:32:46 -0700


On Oct 23, 2008, at 2:55 PM, Saad Laassel wrote:

This is a follow on to this issue, we are deploying as a servlet using WO 5.4.3 we modified our Database Context Delegate so it now extends ERXDatabaseContextDelegate, we are initializing the remote synchronizer manually by calling:

ERXObjectStoreCoordinatorSynchronizer .synchronizer().initializeRemoteSynchronizer();

this is happening very early on in our application.java right after we receive "ModelAddedNotification", everything seems to behave as it should e.g. cached objects are being refreshed on different instances except we are getting the following exception on a frequent basis:

[Thread-2] DEBUG NSLog  - *** EODatabaseContext: access without lock

Our application is usually deployed in a multi-server, multi- instance environment we just want to make sure this is not going to create any locking issues... any help is greatly appreciated ...


I'd take that warning very seriously. If that is not a bogus message, it is a serious problem.


Chuck



On Oct 22, 2008, at 10:56 AM, Dov Rosenberg wrote:

We converted over to Project Wonder to use the EJGroupsSynchronizer – everything looks like it is working OK except I see this exception throughout the log file

[Thread-2] DEBUG NSLog  - *** EODatabaseContext: access without lock!

I did a thread dump to see what was executing when this was occurring – it looks like the problem is in the ERXObjectStoreCoordinatorSynchronizer.


"Thread-2" prio=6 tid=0x62d92780 nid=0x40c in Object.wait() [0x6339f000..0x6339fd9c]
at java.lang.Object.wait(Native Method)
- waiting on <0x0d132540> (a java.util.LinkedList)
at java.lang.Object.wait(Unknown Source)
at er.extensions.eof.ERXObjectStoreCoordinatorSynchronizer $ProcessChangesQueue.run(ERXObjectStoreCoordinatorSynchronizer.java: 572)
- locked <0x0d132540> (a java.util.LinkedList)
at java.lang.Thread.run(Unknown Source)


Any thoughts on this? I am a little nervous about adding lock() statements into the Wonder code.

Thanks in advance for any feedback.

Dov Rosenberg
_______________________________________________
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

_______________________________________________ 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

-- Chuck Hill Senior Consultant / VP Development

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
  • Follow-Ups:
    • [SOLVED] ERJGroupsSynchronization Exception
      • From: Saad Laassel <email@hidden>
References: 
 >ERJGroupsSynchronization Exception (From: Dov Rosenberg <email@hidden>)
 >Re: ERJGroupsSynchronization Exception (From: Saad Laassel <email@hidden>)

  • Prev by Date: Re: Best Strategy for Cacheing
  • Next by Date: Re: Best Strategy for Cacheing
  • Previous by thread: Re: ERJGroupsSynchronization Exception
  • Next by thread: [SOLVED] ERJGroupsSynchronization Exception
  • Index(es):
    • Date
    • Thread