Web Service fails: add is not a supported operation in com.webobjects.foundation.NSArray ?

2008-04-24 Thread Juergen Lorenz Simon
Hello all, I'm trying to implement a simple web service. One of the webservice operations takes an NSArray as parameter. public static void foo(NSArray bar); When the call is made, the following error pops up: [2008-04-24 12:12:13 CEST] WorkerThread8 AxisFault faultCode:

Problem with primary keys during loading with a multi-instance WebObjects app in Leo/WO 5.4.1

2008-04-24 Thread Irina Popova
Hi all, To start, I apologize for the cross post (I've already posted the problem to the FrontBase developers' list), but thought that someone else here has come across the same problem: The problem we have observed only after we switched to Leo/WO 5.4.1. The set up: Mac OS 10.5.2 Server

Patch to fix broken WebObjects examples

2008-04-24 Thread Tom Pelaia
Hi, The WebObjects examples as distributed do not generate WAR files which deploy under J2EE. I have found out how to patch those examples so that they generate deployable True WAR files. There are two things that must be done to patch a project. 1) Edit

Inline Bindings and Servlet Deployment

2008-04-24 Thread David Avendasora
I'm having problems getting Inline Bindings to work with a Servlet deployment (to Tomcat). I've double- and triple-checked the classpaths and .jars and everything is where and as it is supposed to be, but the inline bindings just don't work once deployed to a Servlet. They work fine when

Re: Inline Bindings and Servlet Deployment

2008-04-24 Thread Tom Pelaia
Hi, Yes, I have gotten inline bindings to work fine with True WAR deployment to JBoss. I have a Hello World type example that works and can send it to you if you want it. I just started with a WebObjects sample project, applied the patch that I mentioned in a previous email today,

Re: Inline Bindings and Servlet Deployment

2008-04-24 Thread David Avendasora
Yes, please do send it. I'll see if I can brake your hard work too! :-) I saw your previous email about the True WAR and it was on my list of things to integrate into my project. I'm currently building a WAR, but Tomcat must expand it to use it. It would be nice if it were just simply the

Re: Inline Bindings and Servlet Deployment

2008-04-24 Thread Tom Pelaia
Hi, I should qualify my statement by noting that I'm not using Wonder. So, I know that regular WebObjects 5.4.x can be used along with inline bindings and the resulting WAR file can be deployed successfully to JBoss. I don't know whether there is a complication related to Wonder since I

Re: Web Service fails: add is not a supported operation in com.webobjects.foundation.NSArray ?

2008-04-24 Thread Alan Ward
um, how about using an NSMutableArray? NSArray is immutable and does not implement add. Alan On Apr 24, 2008, at 7:18 AM, Juergen Lorenz Simon wrote: Hello all, I'm trying to implement a simple web service. One of the webservice operations takes an NSArray as parameter.

Re: Using localized strings in an AjaxGrid properties file?

2008-04-24 Thread Chuck Hill
On Apr 23, 2008, at 1:19 PM, Helmut Schottmüller wrote: Hi Chuck, hm, I thought that... The Ajax framework is part of Wonder, but in order to allow the widest reuse, it does not require the full use of Wonder. But thanks for the bunch of alternatives. It's very easy to provide

Re: Inline Bindings and Servlet Deployment

2008-04-24 Thread David Avendasora
Sputter. Cough. Wht? Someone _not_ using Wonder?! Okay, enough of my Chuck Hill impression. On to my Anjo Krank impression nah. I better not. =:-0 Dave On Apr 24, 2008, at 12:01 PM, Tom Pelaia wrote: Hi, I should qualify my statement by noting that I'm not using Wonder. So, I

Re: Web Service fails: add is not a supported operation in com.webobjects.foundation.NSArray ?

2008-04-24 Thread Mr. Pierre Frisch
This is a bug specific to WebServices It is fixed in WO 5.4.2 Pierre -- Pierre Frisch [EMAIL PROTECTED] On Apr 24, 2008, at 9:29, Chuck Hill wrote: I think... This was a bug. The add() method to support Java collections was added to NSArray as unimplemented BUT someone forgot to add an

Re: WOGenericContainer convert elementName to lowercase automatically

2008-04-24 Thread Yung-Luen Lan
Is it just me? I think it's a bug so I filed a bug report to Apple. yllan On Thu, Apr 24, 2008 at 12:06 AM, Yung-Luen Lan [EMAIL PROTECTED] wrote: Hi, I use WO to generate XML file in my project. After updating my outdated deploy environment to WO 5.4 / Project Wonder 4.x, I found the

WO 5.4 and Confused / Stateless components

2008-04-24 Thread Alex Cone
Hi! I just converted a project to WO 5.4 and I'm seeing very odd behavior/ errors with my stateless components. Basically... a) the application seems to be trying to synchronize bindings, leading to: This WOComponent does not have an instance variable of the name foo or _foo, nor a

Re: WOGenericContainer convert elementName to lowercase automatically

2008-04-24 Thread Lachlan Deck
Hi there, On 25/04/2008, at 7:01 AM, Yung-Luen Lan wrote: Is it just me? I think it's a bug so I filed a bug report to Apple. You'd have to take Wonder out of the mix to determine whether it's in WO or Wonder. Old versions of WO used to have (terrible) upper-case tags. I suspect

Re: Unable to decrement snapshot count ....count is already 0 or does not exist

2008-04-24 Thread Chuck Hill
Hi Owen, On Apr 23, 2008, at 4:16 PM, Owen McKerrow wrote: Hi All, One of our apps when down yesterday and on trawling through the log files I found 8 instances of the error : is unable to decrement snapshot count for object with global ID _EOIntegralKeyGlobalID[PublicationKeyword

Re: Digester and EOs [SOLVED]

2008-04-24 Thread Lachlan Deck
Hi David, it'd be great if you can add this to the wiki... On 25/04/2008, at 10:27 AM, David Holt wrote: This is actually pretty straight forward to do. I don't know if this is the best way to accomplish saving XML objects as EOs, but it works and will hopefully help someone else! The

Re: indexing non-sorted arrays in EOs

2008-04-24 Thread Jeff Schmitz
Yes, very nice. I should have thought of that. Thanks! Jeff On Apr 23, 2008, at 11:18 PM, Chuck Hill wrote: public WinAnalysis analysisAtPlace(int place) { EOQualifier winQual = WinAnalysis.PLACE.eq(place); return (WinAnalysis)winAnalyses(winQual).lastObject(); }

Batching creation of primary keys with Oracle

2008-04-24 Thread Ken Anderson
Everyone, Does anyone have a cookbook on how to fetch more than one primary key at a time from Oracle sequences? I know there are some DB plug-ins that do this for you automatically, but it doesn't seem like the Oracle plug-in does. Ideally, I would like to be able to set the size of

Re: Batching creation of primary keys with Oracle

2008-04-24 Thread Ken Anderson
BTW, I'm using WO 5.3 and Oracle 10g. And no, I'm not using WOnder, in case anyone is going to say: Oh, if you're using WOnder, you just flip this little do-hickey over here... Ken On Apr 24, 2008, at 10:27 PM, Ken Anderson wrote: Everyone, Does anyone have a cookbook on how to fetch