Re: Time profiling

2011-05-24 Thread Кушнир Геннадий
Thank you, Ramsey. I'll watch the video. Unfortunately WOWODC takes place too far from my place (( Johann Werner, thank you too for the tip. But I don't use Wonder in my app... Gennady On 24.05.2011, at 20:35, Ramsey Gurley wrote: > Shark is also rather handy for this. It comes with the Apple

Re: Concurrent request handling

2011-05-24 Thread Кушнир Геннадий
Hello >> How could that be that session is awaken by one thread and action is >> invoked by another within the same RRloop? > > Are you sure that is what is happening? Could it be that you have a bug in > your session's sleep() method that is sometimes causing the EC to NOT get > unlocked?

Re: Entity With Compound PK And CLOB Field

2011-05-24 Thread Chuck Hill
Hi Michael, On May 24, 2011, at 8:43 PM, Michael Hast wrote: > Hi: > > We had an interesting problem today. We have an entity called ReviewerData > which has a personId and fiscalYear compound primary key. It also has 3 more > attributes, a CLOB field, a varchar2(4000) and an Integer attribute

Entity With Compound PK And CLOB Field

2011-05-24 Thread Michael Hast
Hi: We had an interesting problem today. We have an entity called ReviewerData which has a personId and fiscalYear compound primary key. It also has 3 more attributes, a CLOB field, a varchar2(4000) and an Integer attribute. All attributes except the CLOB are marked as a locking attribute (se

Re: Using DataGrid in WO

2011-05-24 Thread Chuck Hill
In the plist that has your grid configuration, add a line like this: updateContainerID = "resultsContainer"; Then in the WOD that defines the dialog: MyDialog : AjaxModalDialog { closeUpdateContainerID = "resultsContainer"; Chuck On May 20, 2011, at 12:34 PM, wrote: > Hi Chuck, > >

Re: Concurrent request handling

2011-05-24 Thread Chuck Hill
Hi, On May 24, 2011, at 1:38 AM, Gennady Kushnir wrote: > Hello again. > I did turn on concurrent request handling. And now I have some issue > with ec locking. > I have subclassed EOEditingContext and this subclass posts alerts to > the log when a thread attempts to lock ec that was already lock

Re: WOGWT adaptor

2011-05-24 Thread Pascal Robert
Le 2011-05-24 à 12:41, Chuck Hill a écrit : > On 2011-05-24, at 9:35 AM, Pascal Robert wrote: > >> And in 5 years, people will look at PHP people and says "are you nuts?". > > > I've been saying that for years now! :-) PHP is the Visual Basic of the Web. Easy to start with, but if you want t

Re: WOGWT adaptor

2011-05-24 Thread Chuck Hill
On 2011-05-24, at 9:35 AM, Pascal Robert wrote: > And in 5 years, people will look at PHP people and says "are you nuts?". I've been saying that for years now! :-) -- Chuck Hill Senior Consultant / VP Development Practical WebObjects - for developers who want to increase their ov

Re: WOGWT adaptor

2011-05-24 Thread Pascal Robert
Le 2011-05-23 à 20:17, Michael DeMan a écrit : > see inline. > > On May 20, 2011, at 9:46 AM, Chuck Hill wrote: > >> >> On May 19, 2011, at 9:07 PM, Michael DeMan wrote: >> >>> Hi John, >>> >>> Thanks for the follow up. >>> >>> The bottom line is that for the current contract that I am on,

Re: Time profiling

2011-05-24 Thread Ramsey Gurley
Shark is also rather handy for this. It comes with the Apple dev tools, and Mark Ritchie did a WOWODC presentation on using it. http://www.wocommunity.org/podcasts/wowodc/west08/WOWODC08_Shark.mp4 Shameless plug: The amount of great info that comes out of WOWODC is really amazing. This year's

Re: WOGWT adaptor

2011-05-24 Thread Ramsey Gurley
On May 24, 2011, at 5:32 AM, David Avendasora wrote: > Hi Mike, > > On May 23, 2011, at 8:17 PM, Michael DeMan wrote: > >> Yes, I know. The problem is more related to staffing in regards to full >> time junior software developers and such. Basically, because of the tiny >> market share WO h

Re: WOGWT adaptor

2011-05-24 Thread David LeBer
On 2011-05-24, at 8:32 AM, David Avendasora wrote: > Hi Mike, > > On May 23, 2011, at 8:17 PM, Michael DeMan wrote: > >> Yes, I know. The problem is more related to staffing in regards to full >> time junior software developers and such. Basically, because of the tiny >> market share WO has

Re: WOGWT adaptor

2011-05-24 Thread Kieran Kelleher
Great illustration! I am speechless! On May 24, 2011, at 8:32 AM, David Avendasora wrote: > Hi Mike, > > On May 23, 2011, at 8:17 PM, Michael DeMan wrote: > >> Yes, I know. The problem is more related to staffing in regards to full >> time junior software developers and such. Basically, beca

Re: WOGWT adaptor

2011-05-24 Thread David Avendasora
Hi Mike, On May 23, 2011, at 8:17 PM, Michael DeMan wrote: > Yes, I know. The problem is more related to staffing in regards to full time > junior software developers and such. Basically, because of the tiny market > share WO has, a lot of younger folks perceive it (correctly) as some kind of

Re: Time profiling

2011-05-24 Thread Johann Werner
Hi Gennady, you could try ERProfiling http://webobjects.mdimension.com/hudson/job/Wonder/javadoc/er/profiling/package-summary.html It will show you which part of your page takes the most time and which part of the RR-loop is eating up the time spent. jw Am 24.05.2011 um 10:47 schrieb Gennady

Time profiling

2011-05-24 Thread Gennady Kushnir
Hello list. I have noticed that my app is becoming slow. Are there any methods to analyze it's activity and find performance bottlenecks? I did use memory profiling and decided to extend available memory for my app. It did help me with OutOfMemoryError's and with too frequent and long fullGC events

Re: Concurrent request handling

2011-05-24 Thread Gennady Kushnir
Hello again. I did turn on concurrent request handling. And now I have some issue with ec locking. I have subclassed EOEditingContext and this subclass posts alerts to the log when a thread attempts to lock ec that was already locked with another thread. And now I have a log full of such messages.