Re: [Wonder-disc] ANN: 5.4 builds

2007-11-05 Thread Les Vogel
Thanks to both Guido & Neitzer. That seems to solve the problem. On 11/5/07, Guido Neitzer <[EMAIL PROTECTED]> wrote: > > On 05.11.2007, at 22:36, Q wrote: > > >> [2007-11-6 5:18:46 HST] >> socket=null> Throwable occurred: java.lang.ClassCastException: > >> com.webobjects.appserver._private.WOL

Re: [Wonder-disc] ANN: 5.4 builds

2007-11-05 Thread Guido Neitzer
On 05.11.2007, at 22:36, Q wrote: [2007-11-6 5:18:46 HST] socket=null> Throwable occurred: java.lang.ClassCastException: com.webobjects.appserver._private.WOLowercaseCharArray You need to remove the com.webobjects.appserver.WOHttpIO class from ERExtensions.jar And for those who don't wan

Re: Question about EOs and their lifespan/uniqueness

2007-11-05 Thread Chuck Hill
On Nov 5, 2007, at 9:29 PM, Kevin Windham wrote: On Nov 5, 2007, at 2:26 PM, Mike Schrag wrote: If you're not refetching it and literally holding onto the same EO instance in your component, you're doing something wrong, because that works. If you're setting a var on an EO and then refet

Re: Question about EOs and their lifespan/uniqueness

2007-11-05 Thread Kevin Windham
On Nov 5, 2007, at 2:26 PM, Mike Schrag wrote: If you're not refetching it and literally holding onto the same EO instance in your component, you're doing something wrong, because that works. If you're setting a var on an EO and then refetching it, that will not work -- you get a new EO.

Re: Array of Objects to Array of Global IDs ?

2007-11-05 Thread Ken Anderson
James, When doing something similar a while ago, I found that trying to persist saved queries into the database was more trouble than its worth. What I ended up doing was saving them to the file system, and doing something similar to what you're trying - stored the global ID. The nice t

Re: Array of Objects to Array of Global IDs ?

2007-11-05 Thread Chuck Hill
On Nov 5, 2007, at 6:42 PM, Owen McKerrow wrote: Hmmm. Someone will correct me if Im wrong, but I had thought that globalID's were not persistent. i.e. your not guaranteed that the same object will get the same global ID the next time you restart your app ? In which case you would need t

Re: Array of Objects to Array of Global IDs ?

2007-11-05 Thread Ken Anderson
On Nov 5, 2007, at 9:42 PM, Owen McKerrow wrote: Someone will correct me if Im wrong, but I had thought that globalID's were not persistent. i.e. your not guaranteed that the same object will get the same global ID the next time you restart your app ? In which case you would need the objec

Re: Array of Objects to Array of Global IDs ?

2007-11-05 Thread Owen McKerrow
Hmmm. Someone will correct me if Im wrong, but I had thought that globalID's were not persistent. i.e. your not guaranteed that the same object will get the same global ID the next time you restart your app ? In which case you would need the objects Primary Key. Why do you want to store t

Re: Array of Objects to Array of Global IDs ?

2007-11-05 Thread James Cicenia
Well I have a query and reporting system. The user can select multiple eos from a list, etc., a query is then created, but now I have to store the query into a database. So.. don't I need to store the users eo selection via the global ids? I realize I could model the reports differently but

Re: Array of Objects to Array of Global IDs ?

2007-11-05 Thread James Cicenia
Ah.. Definitely an EOGenerator addition for me. Thanks... I just knew it was out there. :-) -j- On Nov 5, 2007, at 6:55 PM, Chuck Hill wrote: I have a method like this in my EO superclass: public EOGlobalID globalID() { return editingContext().globalIDForObject(this); } Then NSAr

Re: Array of Objects to Array of Global IDs ?

2007-11-05 Thread Mike Schrag
Valid point -- not sure why this isn't just a boolean flag on your EO, or a YourEOSelection entity that just points to the EO's or something. ms On Nov 5, 2007, at 7:57 PM, Owen McKerrow wrote: Hi James I think you'll find you don't need to touch the global ID's at all. Yes there is a way

Re: Array of Objects to Array of Global IDs ?

2007-11-05 Thread Owen McKerrow
Hi James I think you'll find you don't need to touch the global ID's at all. Yes there is a way you could extract them, but I wasn't going to tell you until we'd determined that you really really need to do it. However Chuck explained how :D Can you explain what exactly it is you are trying

Re: Array of Objects to Array of Global IDs ?

2007-11-05 Thread Mike Schrag
Aside from the editingContext().globalIDForObject(eo), if you use Wonder, there's the much fancier and handier ERXEOControlUtilities.convertEOtoGID(Object), which supports recursively converting dictionaries, arrays, etc from EO's to their GID equivalents (and the corresponding inverse ER

Re: Array of Objects to Array of Global IDs ?

2007-11-05 Thread Chuck Hill
I have a method like this in my EO superclass: public EOGlobalID globalID() { return editingContext().globalIDForObject(this); } Then NSArray gidsForSelectedObjects = (NSArray) selectedObjects ().valueForKey("globalID"); Will give you what you want. Chuck On Nov 5, 2007, at 4:49

Re: java.lang.AbstractMethodError at org.apache.axis.AxisEngine.refreshGlobalOptions(AxisEngine.java:502)

2007-11-05 Thread Mike Schrag
I ran into this exact exception when I ran one of our apps in development on Leopard. Incidentally, is there some funky classpath- related reason why axis is always shipped in /Library/WebObjects/ Extensions? This seems wrong to me -- other than some oddity of classloading, it seems like it

Array of Objects to Array of Global IDs ?

2007-11-05 Thread James Cicenia
Hello - I need to save selection of objects in my database. In order for me to do that do I have to first extract their global ids and then store those? If so is there a magic one line of WebObjects code that gives me the ids? Thanks James Cicenia

Re: Error associating with inserting a new record into the table in SQL Server 2005 database when its primary key's IDENTITY SPECIFICATION is YES

2007-11-05 Thread Chuck Hill
WebObjects (specifically EOF) does not play nicely with identity columns. It is going to be very difficult to make it work. If you search the archives you can many threads on this topic. I think there were some potential solutions posted as well. Unless you are trying to co-exist with a

Re: java.lang.AbstractMethodError at org.apache.axis.AxisEngine.refreshGlobalOptions(AxisEngine.java:502)

2007-11-05 Thread Simon McLean
Personally I find Axis complicates things, no matter what version you are using. We do a lot of complicated web service stuff and we do it all with raw xml and http post. It's sometimes easier to get your hands a little dirty than fight the Axis beast :-) Simon On 5 Nov 2007, at 23:53, Mr.

Error associating with inserting a new record into the table in SQL Server 2005 database when its primary key's IDENTITY SPECIFICATION is YES

2007-11-05 Thread Wang, Iris
Hello, Can anyone give me some suggestions about dealing with WebObjects application running against SQL Server 2005 database when the table's primary key is set to automatically generate? Any help will be greatly appreciated. In order to identify the problem, I have let our DBA create a s

Re: java.lang.AbstractMethodError at org.apache.axis.AxisEngine.refreshGlobalOptions(AxisEngine.java:502)

2007-11-05 Thread Mr. Pierre Frisch
Move to 5.4. WO 5.3.x uses Axis 1.1. There are significant changes in the Axis 1.1 to Axis 1.4 APIs and I am quite sure this will not work. WO 5.4 was build with Axis 1.4 and we fixed quite a few bugs. Which flavor of Web Services are you running? RPC/Document? SOAP? Pierre -- Pierre Frisch

Re: java.lang.AbstractMethodError at org.apache.axis.AxisEngine.refreshGlobalOptions(AxisEngine.java:502)

2007-11-05 Thread Kieran Kelleher
Guys, Ian is using WO 5.3.3/Java 1.5 on Tiger for dev and deploy. In that light can anyone give him some pointers? On Nov 5, 2007, at 3:44 PM, Mr. Pierre Frisch wrote: What is missing? I have deployed Web Services on WO 5.4 without problems. Thanks Pierre -- Pierre Frisch [EMAIL PROT

Re: java.lang.AbstractMethodError at org.apache.axis.AxisEngine.refreshGlobalOptions(AxisEngine.java:502)

2007-11-05 Thread Mr. Pierre Frisch
What is missing? I have deployed Web Services on WO 5.4 without problems. Thanks Pierre -- Pierre Frisch [EMAIL PROTECTED] On Nov 5, 2007, at 11:05, Anjo Krank wrote: FYI, the jars in JavaXML in 5.4 are pretty broken. I had an inner class missing that was referenced from it's outer class i

Re: Question about EOs and their lifespan/uniqueness

2007-11-05 Thread Mike Schrag
If you're not refetching it and literally holding onto the same EO instance in your component, you're doing something wrong, because that works. If you're setting a var on an EO and then refetching it, that will not work -- you get a new EO. I would add a print out in your boolean's set m

Re: Question about EOs and their lifespan/uniqueness

2007-11-05 Thread Chuck Hill
On Nov 5, 2007, at 12:14 PM, Kevin Windham wrote: I am running into a problem that I think may be related to the way EOs are created/managed in memory. I have an object that I pass in to a component. That object has some boolean variables that are not backed by the DB. They are simply decl

Question about EOs and their lifespan/uniqueness

2007-11-05 Thread Kevin Windham
I am running into a problem that I think may be related to the way EOs are created/managed in memory. I have an object that I pass in to a component. That object has some boolean variables that are not backed by the DB. They are simply declared in the class file, public boolean boolvar; I

Re: WO5.4 and Java Client

2007-11-05 Thread Paolo Sommaruga
sorry, I forgot Interface Builder ... Il giorno 05/nov/07, alle ore 16:57, Paolo Sommaruga ha scritto: Hi, we are in production some nib based jcs. Such jcs are complex enough. Therefore in order to migrate in a world without Interface Builder we need to use the existing code as much as

Re: wocommunity.org IRC channel reminder

2007-11-05 Thread Johan Henselmans
Op 5 nov 2007, om 19:58 heeft David LeBer het volgende geschreven: On 5-Nov-07, at 1:22 PM, Chuck Hill wrote: On Nov 5, 2007, at 5:17 AM, Johan Henselmans wrote: I looked at the wocomunity.org website. Nice. On the http://www.wocommunity.org/getting_started_with_webobjects.html there i

Re: java.lang.AbstractMethodError at org.apache.axis.AxisEngine.refreshGlobalOptions(AxisEngine.java:502)

2007-11-05 Thread Anjo Krank
FYI, the jars in JavaXML in 5.4 are pretty broken. I had an inner class missing that was referenced from it's outer class in the same jar... I basically downloaded xerces and copied the missing class file over into the jar. Your problem might be similar. (Or it's a classpath problem and y

Re: wocommunity.org IRC channel reminder

2007-11-05 Thread David LeBer
On 5-Nov-07, at 1:22 PM, Chuck Hill wrote: On Nov 5, 2007, at 5:17 AM, Johan Henselmans wrote: I looked at the wocomunity.org website. Nice. On the http://www.wocommunity.org/getting_started_with_webobjects.html there is mention of the IRC channel. I incidentally tested the IRC channel

Re: java.lang.AbstractMethodError at org.apache.axis.AxisEngine.refreshGlobalOptions(AxisEngine.java:502)

2007-11-05 Thread Mike Schrag
I am working in osx, eclispe3.2, and have included axis1.4 jars, but i can't figure out this error. I am trying to access a webservice at a https url but i do not think this is the problem. Any help would be great. thanks From here on out, every question should include the version of WO be

java.lang.AbstractMethodError at org.apache.axis.AxisEngine.refreshGlobalOptions(AxisEngine.java:502)

2007-11-05 Thread Ian Coleman
I am working in osx, eclispe3.2, and have included axis1.4 jars, but i can't figure out this error. I am trying to access a webservice at a https url but i do not think this is the problem. Any help would be great. thanks 2007-11-05 11:22:48,069 DEBUG i18n.ProjectResourceBundle getBundle

Re: wocommunity.org IRC channel reminder

2007-11-05 Thread Miguel Arroz
Hi! On 2007/11/05, at 18:22, Chuck Hill wrote: Any recommendations on an IRC client? ircle! It was kind of messy, but I guess that's the point with IRC! :) Personally I think IRC is dead. We should point people to mail- lists like this, and maybe, just maybe, a forum. Yours Migu

Re: wocommunity.org IRC channel reminder

2007-11-05 Thread Chuck Hill
On Nov 5, 2007, at 5:17 AM, Johan Henselmans wrote: I looked at the wocomunity.org website. Nice. On the http://www.wocommunity.org/ getting_started_with_webobjects.html there is mention of the IRC channel. I incidentally tested the IRC channel and noticed it as a little ... let's say qu

Re: Duplicating Enterprise Objects

2007-11-05 Thread Chuck Hill
On Nov 5, 2007, at 2:41 AM, Stefan Klein wrote: Hi, I use the deepCopy method described in "Practical Web Objects" (every WO developer should have one :-) ). Enumeration relationshipEnumerator = publicRelationships.objectEnumerator(); EORelationship aRelationship; w

Re: WO For Windows?

2007-11-05 Thread Chuck Hill
You would have to read the license from WO 5.4. I don't recall the most recent license having anything in it that would prohibit this. But - I am not a lawyer. Chuck On Nov 5, 2007, at 2:42 AM, Stefan Klein wrote: That's the technical way, but it is also a legal one ? Stefan Chuck Hill

Re: WOShowcase at DynEd?

2007-11-05 Thread Chuck Hill
On Nov 3, 2007, at 11:55 PM, Pascal Robert wrote: On Nov 3, 2007, at 10:05 PM, Klaus Berkling wrote: Does anyone still look at or use the WOShowcase at DynEd? http://www.dyned.com/woshowcase/ With the wiki pages and http://www.wocommunity.org/ I don't think there is much of a reason to k

Re: WebObjects Java Client Development

2007-11-05 Thread Chuck Hill
On Nov 5, 2007, at 9:03 AM, Steve Anderson wrote: Hi there I've been reading up on WebObjects, but have come away a little confused? Well, don't feel like you are alone. I have two questions. 1. Has Java client development been dropped in the latest version of WebObjects? The _t

WebObjects Java Client Development

2007-11-05 Thread Steve Anderson
Hi there I've been reading up on WebObjects, but have come away a little confused? I have two questions. 1. Has Java client development been dropped in the latest version of WebObjects? 2. If I am correct in thinking the EOModeler has also been dropped/ discontinued, am I also correct

Re: WO5.4 and Java Client

2007-11-05 Thread Paolo Sommaruga
Hi, we are in production some nib based jcs. Such jcs are complex enough. Therefore in order to migrate in a world without we need to use the existing code as much as possible in order to avoid altering the entire applications. Besides a great deal of Apple jc stuff works well even thoug

Fwd: [Wonder-disc] Deployment tools

2007-11-05 Thread Pascal Robert
Début du message réexpédié : De : Anjo Krank <[EMAIL PROTECTED]> Date : 5 novembre 2007 10:04:24 HNE À : wonder Project <[EMAIL PROTECTED]> Objet : [Wonder-disc] Deployment tools All, as in WO 5.4 the deployment tools are example-sourced by apple, I added them to Wonder. New features as of

WO LinkedIn.com group

2007-11-05 Thread Pascal Robert
Hello everyone, I created a "WebObjects Community Association" group in LinkedIn.com, if you want to join the group, follow this link: http://www.linkedin.com/e/gis/40584/6E31092AA705 And wait for my approval :-) ___ Do not post admin reque

Re: deep down NPE in EOF

2007-11-05 Thread Ken Anderson
Since you state that all StoredName objects have MyAppPerson data, why not just fetch MyAppPerson initially and have a to-one relationship back to StoredName? On Nov 4, 2007, at 7:32 PM, Chuck Hill wrote: On Nov 4, 2007, at 8:09 AM, Zak Burke wrote: I'm getting a strange NPE from deep d

wocommunity.org IRC channel reminder

2007-11-05 Thread Johan Henselmans
I looked at the wocomunity.org website. Nice. On the http://www.wocommunity.org/getting_started_with_webobjects.html there is mention of the IRC channel. I incidentally tested the IRC channel and noticed it as a little ... let's say quiet over there. Only Quinton Dolan from Australia was on

Re: Slogan

2007-11-05 Thread David LeBer
On 5-Nov-07, at 6:41 AM, Mitchel Roider wrote: Imagine - WebObjects - Deploy Reduce, Reuse and Recycle I like both of these. Or to steal from FSJ: Dude, it powers the friggin iTunes Store. Have you heard of it? ;david -- David LeBer Codeferous Software 'co-def-er-ous' adj. Literally 'co

Slogan

2007-11-05 Thread Mitchel Roider
Imagine - WebObjects - Deploy OR WebObjects: Grinding Through The WWW OR (The green approach) :-) Reduce, Reuse and Recycle ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-de

Re: WO For Windows?

2007-11-05 Thread Stefan Klein
That's the technical way, but it is also a legal one ? Stefan Chuck Hill schrieb: On Nov 1, 2007, at 11:18 PM, Lachlan Deck wrote: On 02/11/2007, at 3:31 PM, Arthur Orange wrote: What is the latest version of WO available for Windows OS (like XP/ Vista?)? WO's 'official' support for deve

Duplicating Enterprise Objects

2007-11-05 Thread Stefan Klein
Hi, I use the deepCopy method described in "Practical Web Objects" (every WO developer should have one :-) ). Enumeration relationshipEnumerator = publicRelationships.objectEnumerator(); EORelationship aRelationship; while (relationshipEnumerator.hasMoreElements()){

Re: WebObjects Community Web site

2007-11-05 Thread Daniele Corti
2007/11/4, Pascal Robert <[EMAIL PROTECTED]>: > > Hello everyone, > > the new WebObjects Community Web site is almost ready : > > http://www.wocommunity.org/ > > We would like your input on it. I've seen the site: Great Work!! Do you think to localize it also in other languages? if you s

Re: WebObjects Community Web site

2007-11-05 Thread Art Isbell
On Nov 4, 2007, at 10:42 AM, Baiss Eric Magnusson wrote: I start the two phase migration: 1) 10.4 server -> 10.5 with WO 5.3 WOA's Your WO 5.3 apps may crash under WO 5.4 due to some API changes. If you really want to ensure that they run, you'll need to package all the WO 5.3 framework