Re: Deleting objects causes OutOfMemory...

2007-05-16 Thread Shravan Kumar.M
Thanks for your reply Kieran, Ok... actually removeObjectFromBothSidesOfRelationshipWithKey, does delete the D objects, when saveChnages() on editingContext is invoked. anyway I also tried as following, but it does same job and leading to OutOfMemory... ---

Re: mod_WebObjects with 64Bit Linux RPM?

2007-05-16 Thread Joe Little
On 5/15/07, Helmut Schottmüller <[EMAIL PROTECTED]> wrote: Hi there, has anyone been successful compiled and installed mod_WebObjects on a 64 bit linux system using the system version of the httpd server? I am using fedora core 6 and I am getting a segementation fault when I try to restart the w

Re: NSPredicate and EOQualifier Translation?

2007-05-16 Thread Chuck Hill
They have a few twists other than needed to map the names. I expect that serializing the predicates into a string or plist and then massaging the result will be what we end up doing. Looking at all that predicate stuff kinda made me envious. :-) Chuck On May 16, 2007, at 2:02 PM, Mike

Re: NSPredicate and EOQualifier Translation?

2007-05-16 Thread Mike Schrag
I would expect if you streamed it into a plist you could just regex replace the comparison names. I bet they're nearly identical in structure. Heck, they're probably written by the same dude. ms On May 16, 2007, at 4:55 PM, Chuck Hill wrote: I knew that someone would ask that. I am worki

Re: NSPredicate and EOQualifier Translation?

2007-05-16 Thread Chuck Hill
I knew that someone would ask that. I am working on a project that is composed of WO apps and Cocoa apps. The Cocoa apps talk to the WO apps to get some data. One thing we will need to do is to build up a "qualifier" on the desktop using NSPredicate and then "translate" it to an EOQualif

Re: Poor Oracle performance?

2007-05-16 Thread Ken Anderson
OK - that was no help. I created a completely independent project that just did the one query, and it still takes too long... On May 16, 2007, at 4:31 PM, Ken Anderson wrote: Thanks Chris, but no - it's not. The query is only returning a few rows. I'm working on building an app that perf

Re: Poor Oracle performance?

2007-05-16 Thread Ken Anderson
Thanks Chris, but no - it's not. The query is only returning a few rows. I'm working on building an app that performs the query without any of my other frameworks - I'm wondering if some jar is in the classpath that's mucking things up... On May 16, 2007, at 4:28 PM, Lonie, Chris wrote:

RE: Poor Oracle performance?

2007-05-16 Thread Lonie, Chris
Is it possible that the table is set to be cached in memory? From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gavin Eadie Sent: Wednesday, May 16, 2007 4:07 PM To: Ken Anderson; Art Isbell Cc: WebObjects Dev Apple

Re: Deleting objects causes OutOfMemory...

2007-05-16 Thread Robert Walker
Here's one more thing that I can see taking a look at ds() The objects in this array are "likely" getting copied in memory 3 times. 1. The ds() fault fires fetching data and creating EOs for each object in the array. 2. dObjs is a full copy of the ds() array. 3. dObj is creating a third

Re: Poor Oracle performance?

2007-05-16 Thread Gavin Eadie
At 3:33 PM -0400 5/16/07, Gavin Eadie wrote: Unfortunately, that doesn't seem to do anything - so no way to tell... I concur, with Oracle and OpenBase - that setting has no effect (and its default is false anyway) .. Gav ... onwards, we dig! I note, from Carl Lindberg in November 2003: The

Re: Poor Oracle performance?

2007-05-16 Thread Art Isbell
On May 16, 2007, at 9:33 AM, Gavin Eadie wrote: I concur, with Oracle and OpenBase - that setting has no effect (and its default is false anyway) .. Gav I see that JDBCExpression overrides EOSQLExpression's useBindVariables() to always return true. And OraclePlugIn.OracleExpression, a J

RE: NSPredicate and EOQualifier Translation?

2007-05-16 Thread Andrew Lindesay
Hello Chuck -- do you mean over some RPC system? Just wondering if anyone has done any work on translating predicates to qualifiers? cheers. ___ Andrew Lindesay technology : www.lindesay.co.nz business : www.silvereye.co.nz ___ Do not post admin r

Re: Poor Oracle performance?

2007-05-16 Thread Gavin Eadie
At 3:20 PM -0400 5/16/07, Ken Anderson wrote: Unfortunately, that doesn't seem to do anything - so no way to tell... I concur, with Oracle and OpenBase - that setting has no effect (and its default is false anyway) .. Gav ___ Do not post admin reque

Re: Poor Oracle performance?

2007-05-16 Thread Ken Anderson
Unfortunately, that doesn't seem to do anything - so no way to tell... I also tried the other format: -EOAdaptorUseBindVariables false which didn't work either. Ken On May 16, 2007, at 2:09 PM, Art Isbell wrote: On May 16, 2007, at 6:09 AM, Ken Anderson wrote: Unfortunately, I haven't be

Re: Poor Oracle performance?

2007-05-16 Thread Art Isbell
On May 16, 2007, at 6:09 AM, Ken Anderson wrote: Unfortunately, I haven't been able to figure out how to do bindings with the tool, or no bindings with EOF. Have you tried adding the launch argument "- DEOAdaptorUseBindVariables=false"? EOSQLExpression's useBindVariables () JavaDoc sugges

NSPredicate and EOQualifier Translation?

2007-05-16 Thread Chuck Hill
Just wondering if anyone has done any work on translating predicates to qualifiers? Chuck -- 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_web

Re: Deleting objects causes OutOfMemory...

2007-05-16 Thread Lachlan Deck
On 17/05/2007, at 1:25 AM, Shravan Kumar.M wrote: I have following Entities and their relationships: A <>> D B <>> D C <>> D Now, from in EO class of 'A' I am trying to delete the entity 'D' objects as follows: Are you also going to be deleting the 'A'? If so you could just a

Re: WoPayPal and webobjects.

2007-05-16 Thread Guido Neitzer
On 16.05.2007, at 10:24, Chuck Hill wrote: The whole point of PayPal is that you, as the selling vendor, NEVER see the financial information. PayPal tracks that. You send what and the amount, PayPal handles the rest. Yes and no. They have their Website integration stuff which are basica

Re: WoPayPal and webobjects.

2007-05-16 Thread Guido Neitzer
On 16.05.2007, at 10:19, Jacob Nelson wrote: Im using paypal to validate credit cards and purchases. I am using project wonder. I am looking for an example of how I send the information to paypal to validate the credit cards.I am finding a wealth of info on receiving the responses from payp

[SOLVED] Re: Deploying problem an Eclipse project...

2007-05-16 Thread Amedeo Mantica
Thank you all! was a permission problem. now works fine! Amedeo regards On 16/mag/07, at 18:06, Kieran Kelleher wrote: Probably permissions . ant install and copy that and set the permissions chmod/chown -R etc. and a woa produced by woproject is fundamentally the same as one produc

Re: Poor Oracle performance?

2007-05-16 Thread Gavin Eadie
At 12:09 PM -0400 5/16/07, Ken Anderson wrote: Unfortunately, the performance of the same query is identical after multiple iterations. ... yes, Ken, it didn't look like we have problems with the same cause, but I wanted to add some of our findings to see if there was an overlap or they trigg

Re: WoPayPal and webobjects.

2007-05-16 Thread Chuck Hill
The whole point of PayPal is that you, as the selling vendor, NEVER see the financial information. PayPal tracks that. You send what and the amount, PayPal handles the rest. Chuck On May 16, 2007, at 9:19 AM, Jacob Nelson wrote: Im using paypal to validate credit cards and purchases. I a

WoPayPal and webobjects.

2007-05-16 Thread Jacob Nelson
Im using paypal to validate credit cards and purchases. I am using project wonder. I am looking for an example of how I send the information to paypal to validate the credit cards.I am finding a wealth of info on receiving the responses from paypal but nothing on sending them billing info ie: cred

Re: Deleting objects causes OutOfMemory...

2007-05-16 Thread Kieran Kelleher
Actually scrap (1) .. what is probably happening is a domino effect of validateForDelete on relationships ... and scarp (2) since you are just removing form relationships, not really deleting, right? Sorry, late night working last night need more coffee... Kieran On May

Re: Poor Oracle performance?

2007-05-16 Thread Ken Anderson
Thanks Gavin. Yes, I had thought about the fact that bindings are used in one, but not the other. Unfortunately, I haven't been able to figure out how to do bindings with the tool, or no bindings with EOF. Unfortunately, the performance of the same query is identical after multiple iterat

Re: Deploying problem an Eclipse project...

2007-05-16 Thread Kieran Kelleher
Probably permissions . ant install and copy that and set the permissions chmod/chown -R etc. and a woa produced by woproject is fundamentally the same as one produced by XCode. On May 16, 2007, at 11:37 AM, Amedeo Mantica wrote: I have deployed many apps builded with Xcode buil

Re: Deploying problem an Eclipse project...

2007-05-16 Thread Guido Neitzer
On 16.05.2007, at 10:02, Amedeo Mantica wrote: Logging in java monitor is configured for the app but is not generated!! Is the app allowed to write to the log path? Is the log path set with a trailing /? Have you tried started the app with the same parameters as in JavaMonitor (look at th

Re: Deleting objects causes OutOfMemory...

2007-05-16 Thread Kieran Kelleher
It fetches since it needs to validateForDelete. Two approaches off the top of my head are (1) having "One Sided Relationship" from D to A and the d's related to A are returned by a custom method that uses a fetch spec. See practical WebObject book for info on one-sided relationships, and (2

Re: Deploying problem an Eclipse project...

2007-05-16 Thread Amedeo Mantica
I have already done this... App starts perfectly via command line Logging in java monitor is configured for the app but is not generated!! Regards Amedeo On 16/mag/07, at 17:42, Guido Neitzer wrote: On 16.05.2007, at 09:37, Amedeo Mantica wrote: I have deployed many apps builded with Xcode

Re: Poor Oracle performance?

2007-05-16 Thread Gavin Eadie
At 2:13 PM -0400 5/15/07, Ken Anderson wrote: I'm performing queries against Oracle using the thin style of connecting: jdbc:oracle:thin:@:: When I use iSQL-Viewer to perform a query, the result set comes back in under 100 milliseconds. When I do the same query with EOF, it takes 16 seco

Re: Deploying problem an Eclipse project...

2007-05-16 Thread Guido Neitzer
On 16.05.2007, at 09:37, Amedeo Mantica wrote: I have deployed many apps builded with Xcode building an app via Eclipse (ant build) is successfull, but won't run via JavaMonitor...(app dies) Why this? Start the application from the commandline (Terminal --> go inside the app bundle

Deploying problem an Eclipse project...

2007-05-16 Thread Amedeo Mantica
I have deployed many apps builded with Xcode building an app via Eclipse (ant build) is successfull, but won't run via JavaMonitor...(app dies) Why this? Regards Amedeo ___ Do not post admin requests to the list. They will be ignored. Webobject

Deleting objects causes OutOfMemory...

2007-05-16 Thread Shravan Kumar.M
Hi Group, I have following Entities and their relationships: A <>> D B <>> D C <>> D i.e., from entity 'D' to entities 'A', 'B' or 'C' it is a to-one relationship and from other side to entity 'D' is to-many. Now, from in EO class of 'A' I am trying to delete the entity 'D' ob

Re: Interrupting a fetch that is taking too long

2007-05-16 Thread Jacky Gagnon
On 07-05-15, at 18:04, John Huss wrote: Well, I'm completely guessing, but here's an idea. Wonder has a facility to log queries that run longer than X. Perhaps you can tap into this to take an action. Its easy to calculate this without Wonder if you need to. You just have to use the "EOA

Re: Interrupting a fetch that is taking too long

2007-05-16 Thread Patrick Middleton
On 15 May 2007, at 21:34, Ricardo Parada wrote: Hi All, Let's say I have a GUI that lets users build queries to be used for a report. Then another process generates a report by applying this user defined query. However, if the query takes too long I would like to interrupt the query an

Re: [OT] file encoding

2007-05-16 Thread Alexander Spohr
Am 15.05.2007 um 14:23 schrieb Ute Hoffmann: String fileInhalt = new String(inhaltsstring.getBytes("MacRoman"), "UTF8"); This is wrong :) You generate a byte[] containing a MacRoman byte-rep of the String. Then you create a String from that, telling the String that the byte [] contains UFT