Re: globalIDForObject without a lock
Raghavender Bokka <[email protected]> Fri, 21 Nov 2014 18:34:13 +0530
| Newsgroups | gmane.comp.web.webobjects.wonder-disc |
|---|---|
| Message-ID | <[email protected]> |
Hello Ken, I am creating "ERXEC.newEditingContext()" in our application code, other th= an the "defaultEditingContext()" in the Session.java and "session().default= EditingContext()" in some other few classes. Do I have to lock the "ERXEC.newEditingContext()"? Will the ERX framework d= oes not auto lock and unlock when I use the ERX framework and extended the = ERXApplication and ERXSession classes? Thanks, Raghu. On 21-Nov-2014, at 6:17 PM, Ken Anderson wrote: > If you are creating your own editing contexts and not using the session= =92s default editing context, you have to lock those contexts manually. > = >> On Nov 21, 2014, at 7:27 AM, Raghavender Bokka <raghavender.bokka@prithv= isolutions.com> wrote: >> = >> Hi Team, >> = >> We are getting deadlocks in our production environment. The following is= the warning message generated in the log files when we enabled the ERX log= ging. We are using Project Wonder ERXEC.newEditingContext() throughout the = application and we do not have any explicit lock or unlock code in the appl= ication: >> = >> ---------------------------------------------------------- >> 9201362 [WorkerThread93] WARN er.extensions.ERXEC.LockLogger - called m= ethod globalIDForObject without a lock, ec=3Der.extensions.eof.ERXEC@1296d1d >> ---------------------------------------------------------- >> = >> Any help would be appreciated. >> = >> Thanks, >> Raghu. >> = >> ------------------------------------------------------------------------= ------ >> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server >> from Actuate! Instantly Supercharge Your Business Reports and Dashboards >> with Interactivity, Sharing, Native Excel Exports, App Integration & more >> Get technology previously reserved for billion-dollar corporations, FREE >> http://pubads.g.doubleclick.net/gampad/clk?id=3D157005751&iu=3D/4140/ost= g.clktrk >> _______________________________________________ >> Wonder-disc mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/wonder-disc > = > = ---------------------------------------------------------------------------= --- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=3D157005751&iu=3D/4140/ostg.c= lktrk