Re: WODirectConnectEnabled=false again

2008-04-05 Thread Lachlan Deck
Tailing the apache access log -- after a long delay I get the following output: ::1 - - [06/Apr/2008:16:32:05 +1000] "GET /cgi-bin/WebObjects/ MyApp.woa/-51231 HTTP/1.1" 500 65 ::1 - - [06/Apr/2008:16:32:35 +1000] "GET /favicon.ico HTTP/1.1" 404 209 Also after a long delay in the error_log: [S

Re: Generate SQL fails

2008-04-05 Thread Lachlan Deck
Hi there, On 06/04/2008, at 4:01 PM, Rams wrote: I'm trying to Generate SQL to create my tables and it is failing. My searching leads me to believe it is due to my setup as described here... http://wiki.objectstyle.org/confluence/display/WOL/mail/3047829 I'm using: OS X 10.5 WO 5.4.1 WOL

Re: Deployment woes

2008-04-05 Thread Lachlan Deck
Chuck needs a little more coffee :-) Your problem is shown towards the bottom of your output... [2008-04-05 14:26:26 CST] Unable to locate WOOpenURL on your computer, AutoOpen launch will not work Try googling: WebObjects WOOpenURL Leopard First hit: http://lists.apple.com/archives/Webobj

Generate SQL fails

2008-04-05 Thread Rams
Hello everyone, I'm trying to Generate SQL to create my tables and it is failing. My searching leads me to believe it is due to my setup as described here... http://wiki.objectstyle.org/confluence/display/WOL/mail/3047829 I'm using: OS X 10.5 WO 5.4.1 WOLips 3.5? MySQL 5.0.51a and Connecto

Re: WODirectConnectEnabled=false again

2008-04-05 Thread Lachlan Deck
Hmm. Trying to set the wotaskd to ondemand I was getting this. $ tail -F /Library/Logs/WebObjects/WebObjects.log <...> Info: ac_init(): reading configuration from: http://localhost:1085 Info: Caching hostent for localhost Info: Added new config server localhost:1085. Debug: init_adaptor(): ac_ini

Error in Eclipse after migrating XCode project

2008-04-05 Thread Kevin Windham
I'm getting an error that I can't figure out. The message is: "There is no key 'user' for the keypath 'session' in HSCWrapper." In my Session.java file I have this. public User user; This code was working fine before the migration. When I reenter the binding, session.user, I can use autocom

Re: WODirectConnectEnabled=false again

2008-04-05 Thread Lachlan Deck
On 05/04/2008, at 10:13 PM, Kieran Kelleher wrote: Check all the details on that wiki page ... I had this same problem a month ago with a new machine doing everything in the wki page helped fixed it IIRC. Have you editied apace config file and set the server name? Yes. Already added:

Re: mystery insert

2008-04-05 Thread David Elliott
Anthony, If I understand you correctly you are saying that you have an FK in some records in the source table referencing some records that do not exist in the destination table. If so, that's your problem. There are ways around it if you must have the data structured this way in your da

Re: mystery insert

2008-04-05 Thread Chuck Hill
Override awakeFromInsertion and NSLog.out.appendln(new RuntimeException("object created")); And see what is doing it. Chuck On Apr 5, 2008, at 3:50 PM, Anthony B Arthur wrote: Yeah, that was my suspicion too, but neither of those configurations are enabled on the owning eo's relationship.

Re: mystery insert

2008-04-05 Thread Anthony B Arthur
Yeah, that was my suspicion too, but neither of those configurations are enabled on the owning eo's relationship. -b On Apr 5, 2008, at 1:48 PM, Chuck Hill wrote: Sounds like you have turned on Propogate Primary Key (and Owns Destination?) on a relationship after the owning object has been

Re: Deployment woes

2008-04-05 Thread Mark Ritchie
On 5-Apr-08, at 5:18 PM, Yury Peskin wrote: Did I mention I'm running the app on 10.3.9? Hey, this sounds familiar! I was doing exactly this on solaris 2 days ago! :-) When I encounter situations like this, I (sometimes only temporarily) modify the SpawnOfWotaskd.sh script. It's located

RE: Deployment woes

2008-04-05 Thread Yury Peskin
Did I mention I'm running the app on 10.3.9? Just to put another twist on it. Yury Peskin -Original Message- From: Guido Neitzer [mailto:[EMAIL PROTECTED] Sent: Saturday, April 05, 2008 4:17 PM To: Yury Peskin; AppleWO List Subject: Re: Deployment woes On 05.04.2008, at 15:03, Yury Pesk

Re: Deployment woes

2008-04-05 Thread Guido Neitzer
On 05.04.2008, at 15:03, Yury Peskin wrote: I looked at the faq and my permissions are set with this command: sudo chown -R root:wheel proofs.woa That should be correct, as far as I know, but the application still doesn't start with the WOMonitor. Depends on your WO version. At least since W

RE: Deployment woes

2008-04-05 Thread Yury Peskin
I've tried running as appserver and the application starts from the command line. I do have my logs written to /tmp. I have always followed an excellent article from here: http://homepage.mac.com/kelleherk/iblog/C1117175888/E96563561/index.html There are no logs, because the application can n

Re: Deployment woes

2008-04-05 Thread Chuck Hill
Um, root and appserver are not the same. Did you read the "Make sure that appserver is able to write to the location you specify for your logs (see this FAQ item) -- you can use a similar test to determine if appserver can execute the application. Since everyone has permissions to write to

RE: Deployment woes

2008-04-05 Thread Yury Peskin
I looked at the faq and my permissions are set with this command: sudo chown -R root:wheel proofs.woa That should be correct, as far as I know, but the application still doesn't start with the WOMonitor. Yury Peskin Director of IT Services Cycle Software Services 8711 Lyndale Ave S. Bloomington,

Re: Deployment woes

2008-04-05 Thread Guido Neitzer
On 05.04.2008, at 14:30, Yury Peskin wrote: I'm getting ready to deploy my app and I'm having a problem. The app starts if I start it from the command line, but not from the monitor. The log of the started app is below. Any ideas? Probably a permission issue. Try starting it with sudo -

Re: Deployment woes

2008-04-05 Thread Chuck Hill
See http://www.gvcsitemaker.com/gvc.webobjects/faq&mode=single&recordID=19193 Chuck On Apr 5, 2008, at 1:30 PM, Yury Peskin wrote: List, I'm getting ready to deploy my app and I'm having a problem. The app starts if I start it from the command line, but not from the monitor. The log of t

Deployment woes

2008-04-05 Thread Yury Peskin
List, I'm getting ready to deploy my app and I'm having a problem. The app starts if I start it from the command line, but not from the monitor. The log of the started app is below. Any ideas? thanks, Yury Reading MacOSClassPath.txt ... Launching proofs.woa ... java -XX:NewSize=2m -Xmx64m

Re: mystery insert

2008-04-05 Thread Chuck Hill
Sounds like you have turned on Propogate Primary Key (and Owns Destination?) on a relationship after the owning object has been created. EOF sees this and creates the mandatory owned object. Chuck On Apr 5, 2008, at 10:41 AM, Anthony B Arthur wrote: Somehow, whenever I reference an attribu

mystery insert

2008-04-05 Thread Anthony B Arthur
Somehow, whenever I reference an attribute on an entity through a relationship of another entity, and that relationship triggers a fault where there is no matching record, yielding an empty relationship, it has the side affect of inserting a new eo into the editing context -- at least I thi

Re: Convenience functions in model classes

2008-04-05 Thread Mike Schrag
Remember that every call of this method goes into the database. That will kill your app. Better fetch all Games in memory and order them into an NSArray(NSAray()) and use that. If he's using the stock velocity templates, this will only fault the games(..) array once, and each successive call

Re: Convenience functions in model classes

2008-04-05 Thread Alexander Spohr
Am 05.04.2008 um 06:50 schrieb Jeff Schmitz: Hello As I get rolling down the EO highway, I find myself wanting to put convenience functions in the model classes that are generated by the EOGenerator (yes, I'm using the generation gap classes for this). e.g. to more closely mimic indexing

Re: WODirectConnectEnabled=false again

2008-04-05 Thread Kieran Kelleher
Check all the details on that wiki page ... I had this same problem a month ago with a new machine doing everything in the wki page helped fixed it IIRC. Have you editied apace config file and set the server name? What about WOAdaptorURL? Also, try rebooting the whole machine after d

Re: Inline bindings: attribute string value begining with $

2008-04-05 Thread Mike Schrag
Oh, I assumed you were using Wonder with the $ syntax ... I have no idea how to escape the attribute prefix in 5.4. ms On Apr 5, 2008, at 1:09 AM, Ricardo Parada wrote: On Apr 4, 2008, at 8:52 PM, [EMAIL PROTECTED] wrote: From: Mike Schrag <[EMAIL PROTECTED]> Subject: Re: Inline bindings