Re: WOWebServiceClient & WO 5.4.1

2008-03-04 Thread Mike Schrag
java.lang.NoSuchMethodError: er.extensions.ERXWOTextField.disabledInComponent(Lcom/webobjects/ appserver/WOComponent; Are you using the WO 5.4 build of Wonder? You cannot use the 5.3 build on 5.4 or vice versa. ms ___ Do not post admin requests t

Running WO5.4 on Leopard

2008-03-04 Thread Jeff Schmitz
better subject, same message... Hello, Trying to bring up my WO 5.4 app on Leopard, built with Eclipse 3.2 and I'm almost there without having to resort to this board. My app launches (after running into the various obligatory permutations of permissions problems) and even runs (after ru

Re: WOWebServiceClient & WO 5.4.1

2008-03-04 Thread Jeff Schmitz
Hello, Trying to bring up my WO 5.4 app on Leopard, built with Eclipse 3.2 and I'm almost there without having to resort to this board. My app launches (after running into the various obligatory permutations of permissions problems) and even runs (after running into the obligatory prob

WOWebServiceClient & WO 5.4.1

2008-03-04 Thread Les Vogel
I've seen some notes on the lists that there is a problem w/ WO 5.4.1, but I haven't managed to find them. Is it only with server or is the problem with client and is there a work around? Is it just invoking Axis directly? Thanks, Les -- Les Vogel 808 870-0418 ___

Re: Workdays between dates?

2008-03-04 Thread Lachlan Deck
Hi there, just a few suggestions... On 05/03/2008, at 3:48 AM, Simon McLean wrote: public static int workingDaysBetweenDates(NSTimestamp start, NSTimestamp end) { NSTimestamp day = DateUtilities.normalisedDate(start); int workingDays = 0;

Re: Lifebeat

2008-03-04 Thread Chuck Hill
On Mar 4, 2008, at 2:47 PM, Art Isbell wrote: On Mar 4, 2008, at 11:55 AM, Chuck Hill wrote: On Mar 4, 2008, at 1:34 PM, Robert Walker wrote: In the case that the delay is caused by the connection to the database, would the instance lock waiting on the response? Isn't the EOF stack essen

Re: Lifebeat

2008-03-04 Thread Art Isbell
On Mar 4, 2008, at 11:55 AM, Chuck Hill wrote: On Mar 4, 2008, at 1:34 PM, Robert Walker wrote: In the case that the delay is caused by the connection to the database, would the instance lock waiting on the response? Isn't the EOF stack essentially single threaded anyway? Yes, unless the

Re: Lifebeat

2008-03-04 Thread Chuck Hill
On Mar 4, 2008, at 1:34 PM, Robert Walker wrote: In the case that the delay is caused by the connection to the database, would the instance lock waiting on the response? Isn't the EOF stack essentially single threaded anyway? I'm guessing that even using a WOLongResponse page would not fix

Re: Lifebeat

2008-03-04 Thread Chuck Hill
On Mar 4, 2008, at 1:18 PM, Valerio Luccio wrote: Chuck Hill wrote: Are you running with concurrent request handling turned off? Which version of WO? Chuck WO 5.3.3. This is a Tiger machine, going to migrate to a Leopard and WO 5.4 in a few weeks. I'd hold off until at least 5.4.2 is o

Re: Lifebeat

2008-03-04 Thread Robert Walker
In the case that the delay is caused by the connection to the database, would the instance lock waiting on the response? Isn't the EOF stack essentially single threaded anyway? I'm guessing that even using a WOLongResponse page would not fix this problem. Would that be correct? Same would g

Re: Eclipse classpath question

2008-03-04 Thread Florijan Stamenkovic
That sounds really weird. XCode used to take care of it (somehow) if one would simply add the JNI to the classpath, and tell XCode to merge it into the application jar. Now, I can't imagine XCode being Java-smart enough to actually do what you describe because it detects that one of the add

Re: Lifebeat

2008-03-04 Thread Valerio Luccio
Chuck Hill wrote: Are you running with concurrent request handling turned off? Which version of WO? Chuck WO 5.3.3. This is a Tiger machine, going to migrate to a Leopard and WO 5.4 in a few weeks. As for concurrent request handling ... you're testing the limit of my knowledge, how do I cont

Re: Lifebeat

2008-03-04 Thread Robert Walker
Oops, I wasn't thinking straight. Thanks Chuck for the correction. However, I am pretty sure handing the long response in a separate thread is the right way to go to solve the root problem right? On Mar 4, 2008, at 3:57 PM, Chuck Hill wrote: On Mar 4, 2008, at 12:06 PM, Robert Walker wrote

Re: Lifebeat

2008-03-04 Thread Chuck Hill
On Mar 4, 2008, at 12:06 PM, Robert Walker wrote: The lifebeat has nothing to do with your long running response problem. Hold on there, Valerio said: the application still shuts down if it takes more than 30 seconds That is wotaskd killing an unresponsive app, IIRC. The adaptor tim

Re: Lifebeat

2008-03-04 Thread Robert Walker
The lifebeat has nothing to do with your long running response problem. There are adaptor settings to adjust the send and receive timeouts. That being said, I am in complete agreement with Miguel. Adjusting the timeouts is not the best way to solve the long response issues. If your response

Re: Lifebeat

2008-03-04 Thread Miguel Arroz
Hi! You are trying to solve the problem in the wrong way. If you have a long operation, you should do it on a separate thread, and use WOLongResponse or the Ajax similar to handle the user interface. That way, you won't have any problem with lifebeat. Yours Miguel Arroz On 2008/03/

Re: Lifebeat

2008-03-04 Thread Chuck Hill
Are you running with concurrent request handling turned off? Which version of WO? Chuck On Mar 4, 2008, at 11:16 AM, Valerio Luccio wrote: Hello, I have a WebObject application running on a Mac. Recently some operations have taken more than 30 seconds, which forces the application to r

Lifebeat

2008-03-04 Thread Valerio Luccio
Hello, I have a WebObject application running on a Mac. Recently some operations have taken more than 30 seconds, which forces the application to restart. I've increased the lifebeat value to 60 through WOMonitor and when I look at how the process was launched, sure enough, I see "-WOLifebeatI

Re: Eclipse classpath question

2008-03-04 Thread Mike Schrag
Not without some magic (and this isn't an Eclipse thing, this is just a Java thing) ... As part of your startup, you have to read the JNI file out of the jar and write it to the filesystem and then load that library. This is what Eclipse does, for instance, with SWT. I don't know of any w

Re: Eclipse classpath question

2008-03-04 Thread Florijan Stamenkovic
Mike, Thanks for the answer... However, what if I need to bundle the JNI with my app, within the jar (so, within the bin output folder)? I am sure this is technically possible because I used to do it with XCode... Is there some way I can do that with Eclipse? Flor On Mar 04, 2008, at 12:

Re: Eclipse classpath question

2008-03-04 Thread Mike Schrag
JNI will load out of the working dir (project root usually), /Library/ Java/Extensions, or it will look for JNI libraries in the folder specified by the system property "java.library.path", which you should be able to set on your launch config. ms On Mar 4, 2008, at 11:46 AM, Florijan Stame

Eclipse classpath question

2008-03-04 Thread Florijan Stamenkovic
Hi all, Could someone tell me how to add jnilib files to the classpath of a project? Many places in Eclipse insist on jars. I've tried simply putting the file in the root of my source tree, ensured it was there in the root of the bin output, but still it was not detectable within my app.

Workdays between dates?

2008-03-04 Thread James Cicenia
Anyone happen to have a code snippet that will give the number of workday between two dates they would like to share? thanks James Cicenia ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-d

Re: WO and Fileuploading virus checking

2008-03-04 Thread Patrick Middleton
On 3 Mar 2008, at 20:22, George Wiles wrote: The WO-App our team has been developing has the ability to upload files. The files can be a myriad of types (images, brochures [pdf, etc]). Our requirements state that these files are then scanned for viruses, and rejected as appropriate...