Re: WO Long Response and iPhone

2010-01-14 Thread Chuck Hill
It has been a while since I implemented this. I think the "streamToFilePath" binding is what you need to use. What bindings are you using? Chuck On Jan 14, 2010, at 8:44 PM, Joe Moreno wrote: Chuck, I hadn't considered that. I am using a direct action form post to handle the upload.

Re: WO Long Response and iPhone

2010-01-14 Thread Joe Moreno
Chuck, I hadn't considered that. I am using a direct action form post to handle the upload. - Joe On Jan 14, 2010, at 20:40:08, Chuck Hill wrote: Are you using the streaming handler for uploads? If you are, there should not be any timeouts from the adaptor. I've seen uploads of large

Re: WO Long Response and iPhone

2010-01-14 Thread Chuck Hill
Are you using the streaming handler for uploads? If you are, there should not be any timeouts from the adaptor. I've seen uploads of large files over slow connections to GVC.SiteMaker go on for a very, very long time with no timeout. Chuck On Jan 14, 2010, at 8:27 PM, Joe Moreno wrote:

Re: WO Long Response and iPhone

2010-01-14 Thread Joe Moreno
Thanks for the reply. I wouldn't up the time on the adaptor because other clients who are using that instance will get blocked and may reach their timeouts. In my case, I don't think upping the adaptor timeout will block since WOAllowsConcurrentRequestHandling is set to true. Does that soun

D2WS Assistant

2010-01-14 Thread Mat Johnson
Does the Assistant still work in WO 5.4 and Eclipse or is it right to the Rules Editor? ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Su

Apple Jobs available

2010-01-14 Thread David den Boer
Sorry to spam the list yet again, but I have a need for up to 5 Java/WO developers (full-time Apple Employee positions). We need : - Live/Work in Bay Area/Cupertino - minimum 3 years Java - 1 year WO preferred, but we will train - experience developing high-availabi

Re: SOLVED: Re: need to add dir to classpath

2010-01-14 Thread Kieran Kelleher
Awesome Partick. Thanks for posting that. I just checked the wiki and under the "otherclasspath" element, it said "? What does this do ???" - funny, now we know, so I just updated the wiki based on your notes. Regards, Kieran On Jan 14, 2010, at 5:49 PM, Patrick Robinson wrote: > Here

Re: WO Long Response and iPhone

2010-01-14 Thread Andrew Lindesay
Hello Joe; My LEWOStuff framework (JSON-RPC) has a system whereby a file is broken up into little chunks and fired into a WOA bit by bit in sequence into a stream. I haven't explicitly tested this from iPhoneOS, but it has been used in a production system from MacOS-X to move video files aroun

WO Long Response and iPhone

2010-01-14 Thread Joe Moreno
Does anyone have a recommendation on how to manage a file upload from say, an iPhone, to a WO app (direct action) that takes longer than the WO adaptor time out? Or, should I just set the WO adaptor timeout to something like five or ten minutes to handle slow/flaky EDGE connections? Th

SOLVED: Re: need to add dir to classpath

2010-01-14 Thread Patrick Robinson
Here's how I ended up solving this: I created Resources/Keystores/, and put the .keystore file there. The problem is how to get this directory into the app's classpath at runtime, both when running from Eclipse, and when deployed. To run this in Eclipse: Edit the Run Configuration, select th

Re: Modeling an optional to-one relationship

2010-01-14 Thread Lon Varscsak
heh, it's not. :) I also don't believe that sometimes having an optional to-one is always a "thing to fix". However, I do understand now that EOF doesn't handle this case much better than it did in WO4. -Lon On Thu, Jan 14, 2010 at 3:14 PM, Mark Ritchie wrote: > On 14/Jan/2010, at 10:41 AM, To

Re: Modeling an optional to-one relationship

2010-01-14 Thread Mark Ritchie
On 14/Jan/2010, at 10:41 AM, Tom M.Blenko wrote: > I think you need a better example because I'm left wondering how/when > PartAttribute and Part rows get created and deleted. If some process outside > your control is doing that the to-many is off the table and there are other > issues that need

Re: Eclipse - line number scrolling

2010-01-14 Thread Larry Mills-Gahl
I find this happens on my second monitor (MacBook Pro 17 connected to an external monitor for extended desktop). Viewing the eclipse editor on the extended desktop monitor means the line numbers don't scroll. Viewing the same eclipse instance on the MacBook screen and the line numbers scroll pro

Re: Modeling an optional to-one relationship

2010-01-14 Thread Chuck Hill
Hi Mark, On Jan 14, 2010, at 3:36 AM, Mark Ritchie wrote: Hi Chuck! On 13/Jan/2010, at 5:17 PM, Chuck Hill wrote: The Obj-C implementation is hazy in my memory. In Java, rather than throwing a hissy fit, it will create a "dummy fault EO". That is, an EO with all null values and no real e

Re: Modeling an optional to-one relationship

2010-01-14 Thread Tom M . Blenko
I'm happy to model an optional to-one as a to-many. It almost always results in a superior data model because it moves contention off the, e.g., Part, table. That is good and sometimes very good (my example is a User table with lots of rows and optional to-one's that grow like topsy as ma

Re: Using ERRest but with extensions for non EOF back-end

2010-01-14 Thread Mike Schrag
are you use the entity delegate api or the route controller api? On Jan 14, 2010, at 11:36 AM, Brook, James wrote: > We have a WebObjects application that uses the ERRest framework to > provide a RESTful API over our EOModel. We now want to extend the API > to cover some other legacy back-off

Using ERRest but with extensions for non EOF back-end

2010-01-14 Thread Brook, James
We have a WebObjects application that uses the ERRest framework to provide a RESTful API over our EOModel. We now want to extend the API to cover some other legacy back-office services and persistence mechanisms as well. The plan is to use fairly plain Java objects and perhaps key value cod

Re: AjaxUtils.redirectTo() and IE7

2010-01-14 Thread Sacha Michel Mallais
On Jan 13, 2010, at 1:57 AM, Amedeo Mantica wrote: I Sasha, seem to work on IE 7.0.5730.13 I get the umich login page Yes, the error actually occurs after the login page. Unfortunately, this site is being protected by UMich's Cosign so I can't give you a login to try it (and our other,

Re: MySQL: Moving to InnoDB

2010-01-14 Thread Kieran Kelleher
Clever. Thanks for sharing. Regards, Kieran :-) On Jan 14, 2010, at 9:45 AM, Timo Hoepfner wrote: > Ok, went a bit different way. I added a myisam table and added triggers for > insert/update/delete on the (now) innodb table to put a copy in the myisam > table which now has the fulltext index.

Re: MySQL: Moving to InnoDB

2010-01-14 Thread Timo Hoepfner
Ok, went a bit different way. I added a myisam table and added triggers for insert/update/delete on the (now) innodb table to put a copy in the myisam table which now has the fulltext index. As the app is read-mostly, the additional load is not a problem. The PHP query needed to be adjusted

Re: Modeling an optional to-one relationship

2010-01-14 Thread Mark Ritchie
Hi Chuck! On 13/Jan/2010, at 5:17 PM, Chuck Hill wrote: > The Obj-C implementation is hazy in my memory. In Java, rather than throwing > a hissy fit, it will create a "dummy fault EO". That is, an EO with all null > values and no real existence. What Lon wants is a real null, not a dummy EO.

Re: NoClassDefFoundError

2010-01-14 Thread David Avendasora
On Jan 14, 2010, at 6:09 AM, [Pyramide Ingenierie] WIESEN Bruno wrote: > Hello, > > We used this NSData from com.apple.cocoa.foundation when we were developing > under XCode... > Since we moved to Eclipse, we have this problem Okay, but that is a Cocoa class, not a java class. I'm not sure

Re: NoClassDefFoundError

2010-01-14 Thread [Pyramide Ingenierie] WIESEN Bruno
Hello, We used this NSData from com.apple.cocoa.foundation when we were developing under XCode... Since we moved to Eclipse, we have this problem Regards, Bruno WIESEN .. Bruno WIESEN bruno.wie...@pyramide

Re: NoClassDefFoundError

2010-01-14 Thread David Avendasora
Hi Bruno, com.APPLE.COCOA.foundation.NSData ?! that should be: com.webobjects.foundation.NSData Dave On Jan 14, 2010, at 3:26 AM, [Pyramide Ingenierie] WIESEN Bruno wrote: > Hello, > > > We switched recently to Eclipse and we've got a problem in Deployment. > For some features, we are usin

NoClassDefFoundError

2010-01-14 Thread [Pyramide Ingenierie] WIESEN Bruno
Hello, We switched recently to Eclipse and we've got a problem in Deployment. For some features, we are using NSData from com.apple.cocoa.foundation. Everything was ok until we deploy... noclassdeffounderror NSData. To include NSData, i put in the build path an external class folder "System/L