Re: experiencing java.lang.StackOverflowErrors WO 5.4.3/Project Wonder

2009-11-23 Thread Denis Frolov
Here is my recent email on this matter: http://lists.apple.com/archives/Webobjects-dev/2009/Nov/msg00459.html The fix works fine for us, although I've jadded _NSWeakMutableArray only - since we didn't have any issues with other subclasses. So, what would be the proper way to commit the fix? On Tu

Re: JProfiler from Eclipse/WOLips

2009-11-23 Thread Shravan Kumar. M
Would you like to go with *Shark* - Apple in-built profiler? Cheers, Shravan Kumar. M - Tuesday, November 24, 2009 8:04:28 AM From: "Kieran Kelleher" To: "Kieran Kelleher" And if I just go into Launch Configs, make a new WOApplication (JProfiler) config and

Re: JProfiler from Eclipse/WOLips

2009-11-23 Thread Kieran Kelleher
Never mind. Solved my problem with Shark and logging.. there goes my once every year "wish I had JProfiler" episode ;-) Regards, Kieran :-) On Nov 23, 2009, at 9:34 PM, Kieran Kelleher wrote: And if I just go into Launch Configs, make a new WOApplication (JProfiler) config and try tp la

Re: JProfiler from Eclipse/WOLips

2009-11-23 Thread Kieran Kelleher
And if I just go into Launch Configs, make a new WOApplication (JProfiler) config and try tp launch it, I get: An internal error occurred during: "Launching cheetah". com .jprofiler .integrations .eclipse.internal.ProfilingSession.createProfilingSession(Lorg/eclipse/ debug/core/model/ILaunc

Re: JProfiler from Eclipse/WOLips

2009-11-23 Thread Kieran Kelleher
Need a profiler for a weird memory issue. The trial key only works with JProfiler 6. Installed JProfiler, and latest 3.4.XXX nightly wolips and JProfiler support. Restarted eclipse with -clean. The context menu for Profile As.. does not have a WOApplication item. any hints on what el

Re: EO Adaptor Debug

2009-11-23 Thread Andrew Lindesay
Hi Lachlan; I'm using JUL logging, but I turned that off to explicitly avoid interference. Oh well; I was able to get SQL logging on the database product to get the diagnostics I needed in this case. cheers. > Are you using log4j? This is what I've got in my log4j config: > log4j.rootLogger=I

Re: EO Adaptor Debug

2009-11-23 Thread Lachlan Deck
On 24/11/2009, at 9:50 AM, Andrew Lindesay wrote: > Hi Chuck; > > Thanks for that. > > I tried what you have done in code as well as; > > -DEOAdaptorDebugEnabled=true > > -DNSDebugGroups="(NSLog.DebugGroupSQLGeneration,NSLog.DebugGroupDatabaseAccess,NSLog.DebugGroupEnterpriseObject

Re: EO Adaptor Debug

2009-11-23 Thread Andrew Lindesay
Hi Chuck; Thanks for that. I tried what you have done in code as well as; -DEOAdaptorDebugEnabled=true -DNSDebugGroups="(NSLog.DebugGroupSQLGeneration,NSLog.DebugGroupDatabaseAccess,NSLog.DebugGroupEnterpriseObjects)" -DNSDebugLevel=NSLog.DebugLevelDetailed I'm getting

Re: EO Adaptor Debug

2009-11-23 Thread Chuck Hill
You've probably changed the NSLog Group or Level. Here is what I use to turn this on in code: public static void logSQL(boolean shouldLog) { if (shouldLog) { NSLog.allowDebugLoggingForGroups(NSLog.DebugGroupSQLGeneration

Re: experiencing java.lang.StackOverflowErrors WO 5.4.3/Project Wonder

2009-11-23 Thread Chuck Hill
I thought you did too, but when I went to look I could not find it. But I threw away the message which I would not have done if you had not committed the fix. Chuck On Nov 23, 2009, at 2:24 PM, Mike Schrag wrote: It's not fixed in 5.4.3, but I thought we fixed it in Wonder? On Nov 23,

Re: experiencing java.lang.StackOverflowErrors WO 5.4.3/Project Wonder

2009-11-23 Thread Mike Schrag
It's not fixed in 5.4.3, but I thought we fixed it in Wonder? On Nov 23, 2009, at 4:37 PM, Lon Varscsak wrote: > I get these too in one production app (where a lot of insertions and deletes > are going on)...but it's intermittent. I saw a post somewhere that someone > said it was fixed, but I

EO Adaptor Debug

2009-11-23 Thread Andrew Lindesay
Hello; I have used this many times prior, but it's got me today; -DEOAdaptorDebugEnabled=true I can't seem to get out the SQL trace -- I know there's gotchas around this one. Can anybody remember how to make this one work? cheers. ___ Andrew Lindesay www.lindesay.co.nz

Re: new Session

2009-11-23 Thread Chuck Hill
On Nov 23, 2009, at 2:06 PM, Frank Stock wrote: Hi all, I want to be able to create a new session, so once the user has logged in and is working in one session, he should be able to open a new session, but without logging in again. I need this because if a user is for instance creating an

Re: new Session

2009-11-23 Thread Andrew Lindesay
Hello Frank; You could pass basic session information between the instances and then allow a trusted token to initiate a new session on an other instance other than the one on which the user was previously working. cheers. > I want to be able to create a new session, so once the user has logge

new Session

2009-11-23 Thread Frank Stock
Hi all, I want to be able to create a new session, so once the user has logged in and is working in one session, he should be able to open a new session, but without logging in again. I need this because if a user is for instance creating an invoice and the phone is going, so he can create ano

Re: Occasional EOObjectNotAvailableException

2009-11-23 Thread Chuck Hill
On Nov 23, 2009, at 6:59 AM, Lawson, Ben wrote: Hey guys, hoping maybe one of you can shed light on this issue we've been having intermittently: We start by fetching all the rows out of a table using EOUtilities.objectsForEntityNamed(editingContext, entityName), and then filter that arra

Re: experiencing java.lang.StackOverflowErrors WO 5.4.3/Project Wonder

2009-11-23 Thread Lon Varscsak
I get these too in one production app (where a lot of insertions and deletes are going on)...but it's intermittent. I saw a post somewhere that someone said it was fixed, but I don't think it made it into 5.4.3. It's really annoying and I had to start restarting that app once a day automatically

Re: Building Framework WOes

2009-11-23 Thread David LeBer
On 2009-11-23, at 4:10 PM, Pascal Robert wrote: > > Le 09-11-23 à 15:45, Chuck Hill a écrit : > >> >> On Nov 23, 2009, at 11:59 AM, Calven Eggert wrote: >> >>> Thanks All! I'm able to install my app on the server now with or without >>> my framework embedded. >>> >>> It seems that sometime

Re: Building Framework WOes

2009-11-23 Thread Pascal Robert
Le 09-11-23 à 15:45, Chuck Hill a écrit : On Nov 23, 2009, at 11:59 AM, Calven Eggert wrote: Thanks All! I'm able to install my app on the server now with or without my framework embedded. It seems that sometimes the build will not find the framework on my machine until I quit eclipse,

Re: Building Framework WOes

2009-11-23 Thread David LeBer
On 2009-11-23, at 3:45 PM, Chuck Hill wrote: > > On Nov 23, 2009, at 11:59 AM, Calven Eggert wrote: > >> Thanks All! I'm able to install my app on the server now with or without my >> framework embedded. >> >> It seems that sometimes the build will not find the framework on my machine >> un

Re: Building Framework WOes

2009-11-23 Thread Chuck Hill
On Nov 23, 2009, at 11:59 AM, Calven Eggert wrote: Thanks All! I'm able to install my app on the server now with or without my framework embedded. It seems that sometimes the build will not find the framework on my machine until I quit eclipse, restart it and then do a clean. not sure

Re: Building Framework WOes

2009-11-23 Thread Calven Eggert
We drink here BECAUSE our teams don't win anything, anywhere, anytime. Ironically, I'm not a drinker so I have to actually feel the pain of our loser teams. BTW - I'm a Calgary Flames fan. On 2009-11-23, at 3:07 PM, Pascal Robert wrote: > > Le 09-11-23 à 14:59, Calven Eggert a écrit : > >>

Re: Building Framework WOes

2009-11-23 Thread Pascal Robert
Le 09-11-23 à 14:59, Calven Eggert a écrit : Thanks All! I'm able to install my app on the server now with or without my framework embedded. It seems that sometimes the build will not find the framework on my machine until I quit eclipse, restart it and then do a clean. not sure why.

Re: Building Framework WOes

2009-11-23 Thread Calven Eggert
Thanks All! I'm able to install my app on the server now with or without my framework embedded. It seems that sometimes the build will not find the framework on my machine until I quit eclipse, restart it and then do a clean. not sure why. Has anyone else found this problem? Because this "

Re: UTF-8 forms and database, still some special characters get through as things like fi Why?

2009-11-23 Thread Lachlan Deck
On 24/11/2009, at 3:58 AM, Patrick Robinson wrote: > Just another couple of ideas: > > Regarding (4) below, If your project doesn't use Wonder, then in your > Application constructor, do this: >WOMessage.setDefaultEncoding("UTF8"); UTF-8 please. UTF8 is an old/incorrect definition. > R

Re: Building Framework WOes

2009-11-23 Thread David Avendasora
On Nov 23, 2009, at 2:13 PM, Pascal Robert wrote: > > Le 09-11-23 à 14:05, Calven Eggert a écrit : > >> hmmm, I did that, checked off the local/system frameworksin WOLips Deploy >> and the install includes all the libraries except mine. :-( >> >> Looks like the Build path stuff is wrong. In

Re: Building Framework WOes

2009-11-23 Thread Pascal Robert
Le 09-11-23 à 14:05, Calven Eggert a écrit : hmmm, I did that, checked off the local/system frameworksin WOLips Deploy and the install includes all the libraries except mine. :-( Looks like the Build path stuff is wrong. In the Projects tab I include my project folder and in the Librarie

Re: Building Framework WOes

2009-11-23 Thread Calven Eggert
hmmm, I did that, checked off the local/system frameworksin WOLips Deploy and the install includes all the libraries except mine. :-( Looks like the Build path stuff is wrong. In the Projects tab I include my project folder and in the Libraries Tab I added myframework.jar file from the /Libra

Re: Building Framework WOes

2009-11-23 Thread Pascal Robert
Embed your frameworks (and any other frameworks) into your app and you won't have to worry about /Library/Frameworks anymore. Right-click on your project name -> Properties, and in the WOLips Deploy, check the boxes to say that you want to embed local and system frameworks. Run the ant inst

Re: Building Framework WOes

2009-11-23 Thread Calven Eggert
Ah, the Project.name= entry was NOT filled in in the build.properties file and so that fixed the problem of my Framework not appearing. Thanks for that. The problem now is that installing my app on the server can't find the framework and this time IT IS located in /Library/Frameworks because I

Re: Building Framework WOes

2009-11-23 Thread Chuck Hill
On Nov 23, 2009, at 9:07 AM, David LeBer wrote: On 2009-11-23, at 11:51 AM, Calven Eggert wrote: I just updated to Snow Leopard last week and I'm having trouble building my WO framework and projects. Did you also change WOLips or Eclipse versions? If you updated to WOLips New Hotness, d

experiencing java.lang.StackOverflowErrors WO 5.4.3/Project Wonder

2009-11-23 Thread Dominique Schoenenberger
I got this error in a production application (It was happening only in dev before), see error below This was already discussed in this mailing list but no solution was suggested. Does anybody found a way to avoid this problem or to fix it ? Or is this occurring sometimes and people are living wi

Re: Building Framework WOes

2009-11-23 Thread David LeBer
On 2009-11-23, at 11:51 AM, Calven Eggert wrote: > I just updated to Snow Leopard last week and I'm having trouble building my > WO framework and projects. > > The first build I attempt is my framework. It builds with no errors, > although lots of warnings like ...should be parameterized, but

Re: Building Framework WOes

2009-11-23 Thread David Avendasora
Hi Calven, Before we get started with troubleshooting this can you answer a few questions: What versions of WO, WOLips and Eclipse are you using? How did you install WebObjects on Snow Leopard? What are the contents of ~/Library/Application Support/WOLips/wolips.properties? How are you running

Re: UTF-8 forms and database, still some special characters get through as things like fi Why?

2009-11-23 Thread Patrick Robinson
Just another couple of ideas: Regarding (4) below, If your project doesn't use Wonder, then in your Application constructor, do this: WOMessage.setDefaultEncoding("UTF8"); Regarding (5), if you're using HTML 4.01 Transitional, then it might look something like this: http://www.w3.

Building Framework WOes

2009-11-23 Thread Calven Eggert
I just updated to Snow Leopard last week and I'm having trouble building my WO framework and projects. The first build I attempt is my framework. It builds with no errors, although lots of warnings like ...should be parameterized, but when I do the install the framework is NOT in the /Library/

Public listing of the WOWODC recordings

2009-11-23 Thread Pascal Robert
If you want to see the list of recordings you can purchase from past WOWODC without creating an account just to see the list, you can look at it here : http://wocommunity.org/apps/WebObjects/WOCommunity.woa/wa/recordings Pascal Robert prob...@macti.ca AIM: MacTICanada Twitter :

Re: Occasional EOObjectNotAvailableException

2009-11-23 Thread Lawson, Ben
Good catch, I meant sorting with ERXArrayUtilities. I'll try the one-liner, was looking to optimize that series of calls anyway, so thanks for that! We're using the same database, same drivers. Enabling SQL debugging shows that when the EOObjectNotAvailableException is thrown, there was in fact

Re: Occasional EOObjectNotAvailableException

2009-11-23 Thread David Avendasora
On Nov 23, 2009, at 9:59 AM, Lawson, Ben wrote: > Hey guys, hoping maybe one of you can shed light on this issue we've been > having intermittently: > > We start by fetching all the rows out of a table using > EOUtilities.objectsForEntityNamed(editingContext, entityName), and then > filter th

Re: Occasional EOObjectNotAvailableException

2009-11-23 Thread Lawson, Ben
It does not, the sort is based on a name attribute of the entity. -Ben On Nov 23, 2009, at 4:07 PM, Ken Anderson wrote: > Ben, > > Does the sort include any relationships? > > Ken > > On Nov 23, 2009, at 9:59 AM, Lawson, Ben wrote: > >> Hey guys, hoping maybe one of you can shed light on thi

Re: Occasional EOObjectNotAvailableException

2009-11-23 Thread Ken Anderson
Ben, Does the sort include any relationships? Ken On Nov 23, 2009, at 9:59 AM, Lawson, Ben wrote: Hey guys, hoping maybe one of you can shed light on this issue we've been having intermittently: We start by fetching all the rows out of a table using EOUtilities.objectsForEntityNamed(edit

Occasional EOObjectNotAvailableException

2009-11-23 Thread Lawson, Ben
Hey guys, hoping maybe one of you can shed light on this issue we've been having intermittently: We start by fetching all the rows out of a table using EOUtilities.objectsForEntityNamed(editingContext, entityName), and then filter that array with ERXArrayUtilities.sortedArraySortedWithKey(array

Re: can somebody explain me why eclipse 3.5 and wolips 3.4 works !!

2009-11-23 Thread Gustavo Pizano
MMM so I guess I will install 3.4 then. On Nov 23, 2009, at 3:00 PM, Kieran Kelleher wrote: > Whether it works or not, you are running an untested, unsupport > configuration. Supported configs are: > Eclipse 3.4.2 with wolips 3.4. > Eclipse 3.5 with wolips 3.5. (and this is

Re: can somebody explain me why eclipse 3.5 and wolips 3.4 works !!

2009-11-23 Thread Kieran Kelleher
Whether it works or not, you are running an untested, unsupport configuration. Supported configs are: Eclipse 3.4.2 with wolips 3.4. Eclipse 3.5 with wolips 3.5. (and this is still considered experimental until Mike Schrag gives it the "thumbs up") On Nov 23, 2009, at 8:32

can somebody explain me why eclipse 3.5 and wolips 3.4 works !!

2009-11-23 Thread Gustavo Pizano
Hello. well at the office I used to have 3.4 and wolips 3.4.xxx installed, all worked there perfect. (even its discouraged) Now i had to migrate the workspace to my personal machine, and ther eI have installed (dunno why, long time ago I had it) snow leopard, eclipse galileo, and I saw the woli