Re: plain jar utility app, with wonder?

2009-02-05 Thread William Hatch
Yeah, that was the first thing I did, and the jar task is pretty barebones. I mean it works fine, but the wonder init stuff did not pick up the properties files with the out of the box configuration. I had to customize it to get it to include all the referenced jars, set the classpath entry

Beware FireBug 1.3.1 and Selenium

2009-02-05 Thread Chuck Hill
After updating to this, many of my Selenium tests started to fail. "Page Restoration Error" seemed to be a common one. Removing FireBug fixed this. FireFox 2.x. This may also affect WO without Selenium, but I did not wait around to find out. Chuck -- Chuck Hill Senior Con

Re: plain jar utility app, with wonder?

2009-02-05 Thread Richard Stephens
Have you tried starting from the "Jar Project" template in WOLips? -- Regards, Richard Stephens Ph: 07 3136 3426 Mob: 0410 111 570 Email: rich...@rjst.com.au On 06/02/2009, at 12:38 PM, William Hatch wrote: Got the basics compiling using first method. Any advice on how this needs to get pa

Re: WO 5.4 - can I multi-thread a WO app that uses EOF

2009-02-05 Thread Chuck Hill
On Feb 5, 2009, at 7:09 PM, Karthik N wrote: Hi, I'm a WO 5.4 newbie. We have a WO app that uses EOF for db access. I believe this makes the WO inherently single-threaded. It makes database access single threaded within one EOF stack. That is not all of WO by any means. And one appli

WO 5.4 - can I multi-thread a WO app that uses EOF

2009-02-05 Thread Karthik N
Hi, I'm a WO 5.4 newbie. We have a WO app that uses EOF for db access. I believe this makes the WO inherently single-threaded. We have this new requirement wherein, we want to have a thread-pool via java Executor within this WO app for non-EOF purposes to perform some asynchronous background tas

Re: plain jar utility app, with wonder?

2009-02-05 Thread William Hatch
Got the basics compiling using first method. Any advice on how this needs to get packaged into the jar? Is there someway I can specify the paths to the properties file, or do I need to create the .woa/Contents/ Resources and stash them in there? So far, I used the fat jar plug in, which hand

Re: pulling top level of relationships

2009-02-05 Thread Ken Anderson
As Chuck said, if using inheritance, prefetching those relationships doesn't really work. If you're worried about performance here, you might want to rethink the structure of your tables. I'm not sure if single table inheritance would still have this problem, but if it does, you could al

Re: pulling top level of relationships

2009-02-05 Thread Chuck Hill
On Feb 5, 2009, at 12:02 PM, Don Lindsay wrote: Hello Lachlan; I just tried setPrefetchingRelationshipKeyPaths to use this and I still get a null for the person object. If I use the getter from the User Java Object person() after using the setPrefetchingRelationshipKeyPaths I get a Stac

Re: pulling top level of relationships

2009-02-05 Thread Don Lindsay
Hello Lachlan; I just tried setPrefetchingRelationshipKeyPaths to use this and I still get a null for the person object. If I use the getter from the User Java Object person() after using the setPrefetchingRelationshipKeyPaths I get a StackOverflow Exception. com.webobjects.foundation.NS

Re: pulling top level of relationships

2009-02-05 Thread Mike Schrag
What I want to do is fetch all users and ensure that the Person object is fetched when I receive the Array of EOs back from objectsWithFetchSpecification. fetchSpec.setPrefetchingRelationshipKeyPaths(new NSArray("person")); This will, however, still do a roundtrip to the database ... it will

Re: pulling top level of relationships

2009-02-05 Thread Lachlan Deck
On 06/02/2009, at 3:03 AM, Don Lindsay wrote: When I use objectsWithFetchSpecification to retrieve an Array of User objects. (I setEntity("Users") and setIsDeep(true)). @see EOFetchSpecification#setIsDeep. This is not doing what you're looking for. i.e., you're not using inheritance from y

Re: BeanPropertyTarget argument type mismatch WO5.4.3

2009-02-05 Thread Lachlan Deck
Bug report with needed fix: Radar://6559319 Bug Report Title: [Axis] NSTimestamp deserializers and serializers unregistered for dateTime Version WebObjects 5.4.3 05-Feb-2009 08:38 AM Lachlan Deck: Summary: Deserialization to NSTimestamp failing from axis dateTime / java.util. [Gregorian]Cale

pulling top level of relationships

2009-02-05 Thread Don Lindsay
Hello; When I use objectsWithFetchSpecification to retrieve an Array of User objects. (I setEntity("Users") and setIsDeep(true)).The Relationships in the Users object are not fetched. I believe this is due to faulting by EO. I would like to retrieve the top level relationships in t

[ANN] JBND 0.91

2009-02-05 Thread Stamenkovic Florijan
Though a minor release, this version introduces some really important depreciations and API changes, so if you are using JBND you should *definitively* check out the detailed release notes: http://web.mac.com/flor385/JBND/news.html F ___ Do not po

Re: Eclipse 3.5M5 - The future is Cocoa

2009-02-05 Thread Don Lindsay
Thanks for posting this, it is indeed interesting and gratifying to see that OS X is still receiving attention for development tools and updates. Don On Feb 5, 2009, at 9:56 AM, Stamenkovic Florijan wrote: Forwarding from Java OX list. Thought this might be of interest to WO list too

Re: plain jar utility app, with wonder?

2009-02-05 Thread John Huss
You can also use ERXExtensions.initApp or ERXExtensions.initEOF John On Thu, Feb 5, 2009 at 12:30 AM, Anjo Krank wrote: > The easiest thing is to use ERXMainRunner. > > Cheers, Anjo > > Am 04.02.2009 um 23:05 schrieb William Hatch: > > I'd like to create a really simple app that has no UI requ

Fwd: Eclipse 3.5M5 - The future is Cocoa

2009-02-05 Thread Stamenkovic Florijan
Forwarding from Java OX list. Thought this might be of interest to WO list too F Begin forwarded message: From: Erik Mattheis Date: February 05, 2009 09:24:06 GMT-04:00 To: "java-...@lists.apple.com Java-dev" Subject: Eclipse 3.5M5 - The future is Cocoa I just noticed a new milestone

Re: Custom attribute class conversion in entity modeler

2009-02-05 Thread Mike Schrag
But as soon as I push the generate SQL button in the entity modeler window I get an error window from wolips with the following exception: java.lang.NoClassDefFoundError I've been thinking that maybe I should turn all entities into EOGenericRecord going into SQL generation ... I haven't thoug

Re: SSL Troubleshotting

2009-02-05 Thread George Domurot
try adding this method to your session class: /** Returns the IP address of the client. * This should return accurate information whether in direct connect or webserver deployment mode. * @return The IP address as a string. */ public String clientIPAddress() {

Custom WODisplayGroup with extended query behaviour, problem with KeyValue Coding.

2009-02-05 Thread Fredrik Lindgren
Hello Group! I have a little problem regarding KeyValueCoding and WODisplayGroups. I thought I could extend the built in query management in an extended display group called MyDisplayGroup. I have added a queryMatchAll to this group that parses a string with comma-separated values and fro

Re: Application Instance Number (WO 5.3)

2009-02-05 Thread Andrew Lindesay
Hello Sherry; Just be aware that this "appliationNumber" may not exist if you need to later deploy into an architecture where there is no "application number" -- such as a servlet container. cheers. I'm trying to get the instance number of my application running in monitor. I'm calling

Re: SSL Troubleshotting

2009-02-05 Thread Patrick Middleton
Without even looking, I'd guess that ERXRequest.remoteHostAddress() is looking for an HTTP header REMOTE_ADDR (this is not really an HTTP header, it's a CGI environment variable, but WebObjects presents it as a header). I have under some circumstances that I can't remember found that some

Re: SSL Troubleshotting

2009-02-05 Thread Amedeo Mantica
No one know anything about?? :-( On 04/feb/09, at 12:49, Amedeo Mantica wrote: Hi, To prevent session hijacking i generally use the sender ip verification ( ERXRequest.remoteHostAddress() ) and works fine for http requests, but when we ae il SSL mode, WebObjects see all requests coming f