Re: Object with globalID could not be found in the database, when it is there ??

2007-11-28 Thread Lachlan Deck
On 29/11/2007, at 6:57 AM, David Avendasora wrote: On Nov 27, 2007, at 8:04 PM, Lachlan Deck wrote: i.e., if you have a foreign key in super-entity which will obviously not be a class property ... you have to mark it as a class property in your sub-entities in order to allow EOF to save t

Re: Object with globalID could not be found in the database, when it is there ??

2007-11-28 Thread Lachlan Deck
Create one anyway Owen so it can be fixed. On 29/11/2007, at 9:54 AM, Owen McKerrow wrote: On 29/11/2007, at 7:06 AM, Mr. Pierre Frisch wrote: Guys I need the bug reports. It may be easier to fix EOF than implement some bizarre workaround rule. Pierre -- Pierre Frisch [EMAIL PROTECTED]

Re: Object with globalID could not be found in the database, when it is there ??

2007-11-28 Thread Lachlan Deck
Firstly, thanks Pierre for picking up on all these things... it's good to see! Secondly, I did indeed create a bug report on this (in radar, 21st May '07) months ago with all the gory details :-) See: - 5219252 'EOF fails to generate foreign key in sql (vertical inheritance)' And, while y

Re: JUnit for testing EOs

2007-11-28 Thread Chuck Hill
On Nov 28, 2007, at 8:50 PM, Paul Hoadley wrote: On 29/11/2007, at 5:18 AM, Chuck Hill wrote: If you are up to it, can you try this and post the output? Comment out the add model code above and add these logs in the @Before method: NSLog.out.appendln("Main bundle " + NSBundle.mainBundle(

Re: Webservices and arrays deserializer and WO 5.4

2007-11-28 Thread Lachlan Deck
On 28/11/2007, at 8:06 PM, Fabrice Pipart wrote: Actually, I do mot generate any stub from the wsdl. I generate the xml myself (somehow simpler for the small requests I have). Ok. I also noted a WebObjects app that tries to use the WebServices of the initial WO app (this one parses the ws

Eclipse and debug stepping source attachments

2007-11-28 Thread Q
For some reason I can't seem to get the eclipse debugger to step through third party jars with associated source attachments. I am attaching the source manually, either as an external folder or an associated jar file, it doesn't seem to make any difference. I can get the debugger to open th

Re: Object with globalID could not be found in the database, when it is there ??

2007-11-28 Thread Owen McKerrow
On 29/11/2007, at 7:06 AM, Mr. Pierre Frisch wrote: Guys I need the bug reports. It may be easier to fix EOF than implement some bizarre workaround rule. Pierre -- Pierre Frisch [EMAIL PROTECTED] Hi Pierre, If joining the entities back into one model doesn't fix the issue then you'll

Re: "No Instance available" on Leopard / WO 5.3

2007-11-28 Thread Guido Neitzer
On 28.11.2007, at 14:17, Art Isbell wrote: I did not need to change the permissions on /Library/WebObjects/ Logs for WebObjects.log to be written in that directory. I did it just be sure that there is no permission problem. To have /Library/WebObjects/Logs/WebObjects.log written, I had to

Re: "No Instance available" on Leopard / WO 5.3

2007-11-28 Thread Art Isbell
On Nov 28, 2007, at 10:44 AM, Guido Neitzer wrote: I had changed the location to tmp, reverted it back now, and checked the Logs folder. Gave write permission to world, restarted apache (sudo apachectl restart), touched the File, restarted apache --> nothing. I did not need to change the

Re: "No Instance available" on Leopard / WO 5.3

2007-11-28 Thread Guido Neitzer
On 28.11.2007, at 13:11, Mr. Pierre Frisch wrote: The default location has been changed. If you look at leopard install: I had changed the location to tmp, reverted it back now, and checked the Logs folder. Gave write permission to world, restarted apache (sudo apachectl restart), touched

Re: "No Instance available" on Leopard / WO 5.3

2007-11-28 Thread Mr. Pierre Frisch
The default location has been changed. If you look at leopard install: # To change the logging options, read the following comments: # The option name is "WebObjectsLog" and the first value indicates the path of the log file. # The second value indicates the log level. There are five, in decr

Re: Object with globalID could not be found in the database, when it is there ??

2007-11-28 Thread Mr. Pierre Frisch
Guys I need the bug reports. It may be easier to fix EOF than implement some bizarre workaround rule. Pierre -- Pierre Frisch [EMAIL PROTECTED] On Nov 28, 2007, at 10:39, Chuck Hill wrote: On Nov 27, 2007, at 10:09 PM, Lachlan Deck wrote: On 28/11/2007, at 5:02 PM, Owen McKerrow wrote:

Re: Object with globalID could not be found in the database, when it is there ??

2007-11-28 Thread David Avendasora
On Nov 27, 2007, at 8:04 PM, Lachlan Deck wrote: i.e., if you have a foreign key in super-entity which will obviously not be a class property ... you have to mark it as a class property in your sub-entities in order to allow EOF to save the records properly etc. Odd. What kind of issues

Re: JUnit for testing EOs

2007-11-28 Thread Chuck Hill
On Nov 27, 2007, at 9:40 PM, Paul Hoadley wrote: On 28/11/2007, at 1:33 PM, Chuck Hill wrote: I don't think you should _need_ to do this as long as the bundles are correctly formed and on the classpath as they would be at app runtime. Presumably I'm failing at either or both of these. :

Re: Object with globalID could not be found in the database, when it is there ??

2007-11-28 Thread Chuck Hill
On Nov 27, 2007, at 10:09 PM, Lachlan Deck wrote: On 28/11/2007, at 5:02 PM, Owen McKerrow wrote: On 28/11/2007, at 4:18 PM, Mike Schrag wrote: Now... about those partial entities. What funky stuff could be done with 'em? ;-) You know, when I was writing this stuff earlier today, I actuall

Re: Out of memory

2007-11-28 Thread Chuck Hill
On Nov 28, 2007, at 5:38 AM, Miguel Arroz wrote: Hi! I'm having an Out of memory exception (and consequently application death) that I can't figure out why it happens. I suspect it's because I'm assuming something about the WO behaviour that is not correct (as usual). The ways of WO

Re: WoResourceManager.stringForKey, slow app and out of memory errors

2007-11-28 Thread Mr. Pierre Frisch
I looked at the code and UTF-16 encoding for string file is broken and has been broken for a while. UTF-8 works fine and I have done UTF-8 string encoded file for English, French, Arabic and Japanese. You have to be careful as the system or the IDE sometimes messes up the files. Encoding de

WebDAV & Ajax

2007-11-28 Thread jeremy . deroyer
Hi all,After dealing with conflicts between wonder's ajax framework and jquery -a js lib that rocks-... and succeeding (if someone is interested, just' need a minute to fix, see http://docs.jquery.com/Using_jQuery_with_Other_Libraries), we decided to make a implementation of webdav in a webobjects

Re: Out of memory

2007-11-28 Thread Miguel Arroz
Hi! If my supposition was right, memory usage should be constant. So, I assume it has enough space. Also, I see a clear degradation in the performance during the cycle, so I suppose something is really going wrong. Yours Miguel Arroz On 2007/11/28, at 16:06, René Bock wrote: Am 2

Re: Out of memory

2007-11-28 Thread René Bock
Am 28.11.2007 um 14:38 schrieb Miguel Arroz: Hi! I'm having an Out of memory exception (and consequently application death) that I can't figure out why it happens. I suspect it's because I'm assuming something about the WO behaviour that is not correct (as usual). The problem is th

Re: WO command line application

2007-11-28 Thread John Huss
If you use Project Wonder you can use ERXMainRunner for this. John On Nov 28, 2007 1:51 AM, Helmut Schottmüller <[EMAIL PROTECTED]> wrote: > Hi, > > I want to build a WO command line application to use EOF to fill up > some databases. This application should be called by a cron job. > I think I

Out of memory

2007-11-28 Thread Miguel Arroz
Hi! I'm having an Out of memory exception (and consequently application death) that I can't figure out why it happens. I suspect it's because I'm assuming something about the WO behaviour that is not correct (as usual). The problem is this: I have an action that creates some test data

Re: WO command line application

2007-11-28 Thread Q
I played with doing this a while back and found this article which helped: http://worldofwebobjects.blogspot.com/2006/04/command-line-tool-for-fetching-with.html On 28/11/2007, at 5:51 PM, Helmut Schottmüller wrote: Hi, I want to build a WO command line application to use EOF to fill up s

Re: Webservices and arrays deserializer and WO 5.4

2007-11-28 Thread Fabrice Pipart
Hi ! Actually, I do mot generate any stub from the wsdl. I generate the xml myself (somehow simpler for the small requests I have). I also noted a WebObjects app that tries to use the WebServices of the initial WO app (this one parses the wsdl) fails with that error : Caused by: javax.xml.r

Re: WoResourceManager.stringForKey, slow app and out of memory errors

2007-11-28 Thread Fabrice Pipart
Just FYI, UTF-16 used to work fine for me (as soon as I edited the files in BBedit and nothing else) using the latest WO 5.3 and Apple Tiger... UTF-8 did not work properly for french accents, unbreakable spaces and so on if I remember properly. Regards and thanks for taking care about this

Re: WO command line application

2007-11-28 Thread Paul Lynch
On 28 Nov 2007, at 07:59, Art Isbell wrote: On Nov 27, 2007, at 9:51 PM, Helmut Schottmüller wrote: I want to build a WO command line application to use EOF to fill up some databases. This application should be called by a cron job. I think I have to use EOClientApplicationSupport... Does any

Re: WO command line application

2007-11-28 Thread Helmut Schottmüller
Hi Art, this is a very good hint! Thanks a lot. Regards, Helmut Am 28.11.2007 um 08:59 schrieb Art Isbell: On Nov 27, 2007, at 9:51 PM, Helmut Schottmüller wrote: I want to build a WO command line application to use EOF to fill up some databases. This application should be called by a cro