Error generating SQL in WOLips

2008-11-18 Thread Ramsey Lee Gurley
I'm using the latest nightly build of WOLips and I'm getting the following error when attempting to generate SQL in Entity Modeler. It appears that class was modified recently (5525). Is anyone else having difficulty with SQL generation on WOLips nightly? java.lang.NoClassDefFoundError: c

Re: capistrano deployments w/ wo

2008-11-18 Thread Michael Bushkov
Hi Lachlan, On Tue, Nov 18, 2008 at 11:08 PM, Lachlan Deck <[EMAIL PROTECTED]> wrote: > Hi Michael, > > On 18/11/2008, at 10:46 PM, Michael Bushkov wrote: > >> I've posted some initial information here: >> >> http://wiki.objectstyle.org/confluence/display/WO/Web+Applications-Deployment-Capistrano+

Re: Programmatic URL are Problematic

2008-11-18 Thread Guido Neitzer
On 18.11.2008, at 22:00, Chuck Hill wrote: On Nov 18, 2008, at 8:27 PM, Joe Moreno wrote: Hi All, Is there a way for context().completeURLWithRequestHandlerKey() to return 127.0.0.1? I'm running WO 5.3.x in dev on 10.5.5 with Eclipse 3.3.2 & WOLips 3.3.5047. I ran several OS X upda

Re: Programmatic URL are Problematic

2008-11-18 Thread Chuck Hill
On Nov 18, 2008, at 8:27 PM, Joe Moreno wrote: Hi All, Is there a way for context().completeURLWithRequestHandlerKey() to return 127.0.0.1? I'm running WO 5.3.x in dev on 10.5.5 with Eclipse 3.3.2 & WOLips 3.3.5047. I ran several OS X updates on the dev machine and now it seems that

Programmatic URL are Problematic

2008-11-18 Thread Joe Moreno
Hi All, Is there a way for context().completeURLWithRequestHandlerKey() to return 127.0.0.1? I'm running WO 5.3.x in dev on 10.5.5 with Eclipse 3.3.2 & WOLips 3.3.5047. I ran several OS X updates on the dev machine and now it seems that context().completeURLWithRequestHandlerKey(), w

Generating Javadocs with links to existing WO Javadocs

2008-11-18 Thread Paul Hoadley
Hello, I can probably sweat this out, but it seems like something others would already be doing. I want to generate some HTML Javadocs for several projects. Ideally, I'd like to have my @link tags that point to WO (and Wonder, for that matter) classes to resolve to existing online docume

Who is tbody and why won't he leave me alone?

2008-11-18 Thread Randy Wigginton
Hello, I'm building a table that is being fed into wonder's excel generator. Everything was fine until recently; I had a repetition that output what I needed. Then, the requirements changed and I needed to generate more data. Thinking this is webobjects and this kind of thing is easy,

Re: deploy WO 5.3 on OS 10.5

2008-11-18 Thread Josh Paul
Thanks, all! Planning on deployment this week... On Nov 18, 2008, at 3:09 PM, David LeBer wrote: On 18-Nov-08, at 6:03 PM, Kieran Kelleher wrote: Fully embed it and forget it. Ditto. We deploy WO5.3 apps with fully embedded frameworks on Tiger and Leopard and (apart from one server wer

Re: failing to provide new primary keys

2008-11-18 Thread Mike Schrag
Doesn't everyone have inverse relationships on join entities? They're required for flattening, and sort of annoying if you're not flattening, Except when you can't flatten as you're needing to store additional info in the join. Yeah, that was part 2 above, but i wrote it unclearly ... I meant

Re: failing to provide new primary keys

2008-11-18 Thread Lachlan Deck
On 19/11/2008, at 10:09 AM, Mike Schrag wrote: I'm thinking though (in this age of optimisations) that this means you have to map the reverse relationship in order for the pk to propogate. Either way it seems to me that it'd make more sense if the option to propogate (or labelled 'propogate

Re: deploy WO 5.3 on OS 10.5

2008-11-18 Thread Hugi Thordarson
Exactly :-). On 18.11.2008, at 23:03, Kieran Kelleher wrote: Fully embed it and forget it. On Nov 18, 2008, at 4:33 PM, Josh Paul wrote: Anyone deployed 5.3 on 10.5? Any caveats, roadbumps, etc.? TIA ___ Do not post admin requests to the list. T

Re: failing to provide new primary keys

2008-11-18 Thread Mike Schrag
I'm thinking though (in this age of optimisations) that this means you have to map the reverse relationship in order for the pk to propogate. Either way it seems to me that it'd make more sense if the option to propogate (or labelled 'propogated') was on the relationship from the join rathe

Re: deploy WO 5.3 on OS 10.5

2008-11-18 Thread David LeBer
On 18-Nov-08, at 6:03 PM, Kieran Kelleher wrote: Fully embed it and forget it. Ditto. We deploy WO5.3 apps with fully embedded frameworks on Tiger and Leopard and (apart from one server were we don't have full control over the contents of /Library/Java/Extensions/) have no problems. We

Re: deploy WO 5.3 on OS 10.5

2008-11-18 Thread Kieran Kelleher
Fully embed it and forget it. On Nov 18, 2008, at 4:33 PM, Josh Paul wrote: Anyone deployed 5.3 on 10.5? Any caveats, roadbumps, etc.? TIA ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-

Re: Problems with Web Services

2008-11-18 Thread Pascal Robert
Le 08-11-18 à 15:51, Lachlan Deck a écrit : On 19/11/2008, at 6:13 AM, Pascal Robert wrote: I just tried with WO 5.4.3 (with the jars instead of frameworks) and I don't have the error. On 18.11.2008, at 16:58, Pascal Robert wrote: Hi list, I'm creating some Web services (yes, with SO

Re: deploy WO 5.3 on OS 10.5

2008-11-18 Thread Guido Neitzer
On 18.11.2008, at 15:17, Hugi Thordarson wrote: FWIW I've been running a couple (simple) WO 5.3 apps on a MacMini/G4 with Leopard for a couple of months, no (unusual) roadbumps. And for the other side: I'm running two 5.4 applications on a Mac Mini with Tiger. I do "all included" deployment

Re: deploy WO 5.3 on OS 10.5

2008-11-18 Thread Hugi Thordarson
FWIW I've been running a couple (simple) WO 5.3 apps on a MacMini/G4 with Leopard for a couple of months, no (unusual) roadbumps. Cheers, - Hugi // Hugi Thordarson // http://hugi.karlmenn.is/ On 18.11.2008, at 21:33, Josh Paul wrote: Anyone deployed 5.3 on 10.5? Any caveats, roadbumps, e

deploy WO 5.3 on OS 10.5

2008-11-18 Thread Josh Paul
Anyone deployed 5.3 on 10.5? Any caveats, roadbumps, etc.? TIA ___ 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 Subscription: http://lists.ap

Re: Problems with Web Services

2008-11-18 Thread Lachlan Deck
On 19/11/2008, at 6:13 AM, Pascal Robert wrote: I just tried with WO 5.4.3 (with the jars instead of frameworks) and I don't have the error. On 18.11.2008, at 16:58, Pascal Robert wrote: Hi list, I'm creating some Web services (yes, with SOAP...) and when I start the app, I get : [2008

Re: failing to provide new primary keys

2008-11-18 Thread Lachlan Deck
On 19/11/2008, at 2:57 AM, Mike Schrag wrote: Propagate primary key turned on for all relationships where the FK is part of the PK? Is this a general check that can be performed? If your EO has a composite primary key then the inverse relationship of each PK join must be propagates primary

Re: capistrano deployments w/ wo

2008-11-18 Thread Lachlan Deck
Hi Michael, On 18/11/2008, at 10:46 PM, Michael Bushkov wrote: I've posted some initial information here: http://wiki.objectstyle.org/confluence/display/WO/Web+Applications-Deployment-Capistrano+%28Overview%29 This is some kind of overview/beginner's guide. There are 2 things to go: * I'll

Re: NSMacOSRomanStringEncoding UnsupportedEncodingException

2008-11-18 Thread Chuck Hill
On Nov 18, 2008, at 11:43 AM, Ramsey Lee Gurley wrote: Okay, so I've tried this twice now, and both bounced immediately. I hope three of these don't show up on the list, but I think the problem must have been how my mobileme System preference automatically set up my email account's reply

Re: NSMacOSRomanStringEncoding UnsupportedEncodingException

2008-11-18 Thread Ramsey Lee Gurley
I'm in the midst of upgrading my dev environment and I'm actually seeing a bit of weirdness related to this. I'm using wonder source and for some reason all my WOO files automatically converted in Eclipse from MacRoman to UTF-8... but only in ERExtensions build 8627. In ERDirectToWeb, all

Re: NSMacOSRomanStringEncoding UnsupportedEncodingException

2008-11-18 Thread Ramsey Lee Gurley
Okay, so I've tried this twice now, and both bounced immediately. I hope three of these don't show up on the list, but I think the problem must have been how my mobileme System preference automatically set up my email account's reply address. Trying one more time... On Nov 17, 2008, at 4:

Re: Problems with a fetch

2008-11-18 Thread JR Ruggentaler
I got this working with WO 5.4.3. I never had older versions of WO on my system (~new Mac Book Pro). Other coworkers had issues with older versions of WO and CLASSPATH. Here is the registration code from Application class // Register Web Service // WSDL: http://localhost:4000

Re: Problems with Web Services

2008-11-18 Thread Pascal Robert
I just tried with WO 5.4.3 (with the jars instead of frameworks) and I don't have the error. BTW, I hope the crash in the "How to drive in Iceland" is not a real one, because it look real (good job by the producers if it's fake) :-) Hi To bad :) We had some realy interesting "challenges"

WO parsing exception

2008-11-18 Thread Tom Pelaia
Hi, I am using WebObject 5.4 and when I deploy my war file to OC4J I get the following error: WOMLDefaultErrorHandler.warning(org.xml.sax.SAXParseException: 14, Column 57>: XML-20129: (Error) Namespace prefix 'wo' used but not declared.) The application runs fine under JBoss, but not OC4J

Re: Scaling a PNG

2008-11-18 Thread Mike Schrag
Its just for a small project with few resizes and the results look very good so I'll stick with it. Thanx for the help though. JAI is not accelerated on OS X, so if performance is an issue, JNI will kick the butt of JAI by two orders of magnitude. ms

Re: [FIXED] NSMacOSRomanStringEncoding UnsupportedEncodingException

2008-11-18 Thread Cheong Hee (Datasonic)
Will it help if the classpath is changed to point to right java sdk path after installed? Most of the other distributions on other platforms realize the world is bigger than the United States and include the multiplatform JVM support. For some reason Microsoft doesn't feel the same need. I

Re: Problems with Web Services

2008-11-18 Thread Atli Páll Hafsteinsson
Hi To bad :) We had some realy interesting "challenges" implementing the simplest things in SOAP :S Wish you good luck. Atli On 11/18/08 6:38 PM, "Pascal Robert" <[EMAIL PROTECTED]> wrote: > The other end is using SOAP and they want to use the same protocols. > But since I don't need to send

Re: Problems with Web Services

2008-11-18 Thread Pascal Robert
The other end is using SOAP and they want to use the same protocols. But since I don't need to send EOs, I think I will simply use normal Axis calls. Unless you are forced by some evil empire to use SOAP I would strongly advice you too look at some other web service implemntation, like XM

Re: Problems with Web Services

2008-11-18 Thread Atli Páll Hafsteinsson
Unless you are forced by some evil empire to use SOAP I would strongly advice you too look at some other web service implemntation, like XML-RPC. SOAP is a real pain in the you know what. Atli On 11/18/08 5:52 PM, "Pascal Robert" <[EMAIL PROTECTED]> wrote: > Same exception :-/ > >> Hi Pascal.

Re: Scaling a PNG

2008-11-18 Thread Atli Páll Hafsteinsson
Hi Its just for a small project with few resizes and the results look very good so I'll stick with it. Thanx for the help though. Atli On 11/18/08 6:04 PM, "Guido Neitzer" <[EMAIL PROTECTED]> wrote: > On 18.11.2008, at 08:33, Atli Páll Hafsteinsson wrote: > >> Thanx for the help but I finally

Re: Scaling a PNG

2008-11-18 Thread Guido Neitzer
On 18.11.2008, at 08:33, Atli Páll Hafsteinsson wrote: Thanx for the help but I finally figured out how to use JAI to do this .. me and a colleague started a challenge who could find the solution faster, that seemd to do the trick :) Sucsessfully using ScaleDescriptor from the JAI package n

Re: Problems with Web Services

2008-11-18 Thread Pascal Robert
Same exception :-/ Hi Pascal. There was a bug in WOWebServiceRegistrar in the first versions of WO 5.4 where an exception was thrown when registering a service using the method you're using. The workaround was to use this method instead: WOWebServiceRegistrar.registerWebService( ".Accou

Re: Cannot run any app in development

2008-11-18 Thread David Holt
One last post. I couldn't figure out what had changed on my system to cause the problems so I reinstalled on an external drive, then migrated everything from the internal drive over. Lo and behold, Eclipse can run/debug projects again. There are some updates waiting in Software Update queue

Re: Problems with Web Services

2008-11-18 Thread Hugi Thordarson
Hi Pascal. There was a bug in WOWebServiceRegistrar in the first versions of WO 5.4 where an exception was thrown when registering a service using the method you're using. The workaround was to use this method instead: WOWebServiceRegistrar.registerWebService( ".AccountMgrService", Accoun

Problems with Web Services

2008-11-18 Thread Pascal Robert
Hi list, I'm creating some Web services (yes, with SOAP...) and when I start the app, I get : [2008-11-18 11:53:32 EST] A fatal exception occurred: com.webobjects.webservices.support.WOXMLProvider.getRoles()Ljava/util/ List; [2008-11-18 11:53:32 EST] java.lang.AbstractMethodError: com.

Re: Can I embed the jdbc drivers?

2008-11-18 Thread Hugi Thordarson
Yes, you can. Just add your jdbc driver jars to the "Libraries" folder in your project (assuming you're using FBL) and add them to your build path (Project properties -> Java build path -> Libraries -> Add JARs...). We embed everything in our apps (including the jdbc driver jars for Orac

Can I embed the jdbc drivers?

2008-11-18 Thread James Cicenia
Hello - I am a bit confused how I am supposed to handle the jdbc drivers for my new linux install. I was doing an embedded deployment and wonder how it finds the drivers. Thanks James Cicenia ___ Do not post admin requests to the list. They will be

Re: Display Group: sort in memory

2008-11-18 Thread John Huss
I wasn't sure a derived attribute would work because I didn't think expressions were allowed in the order by clause, but sure enough, it works with Postgres. Thanks, John On Tue, Nov 18, 2008 at 9:24 AM, Mike Schrag <[EMAIL PROTECTED]> wrote: > Your only real option is to compute your value in t

Re: failing to provide new primary keys

2008-11-18 Thread Mike Schrag
Propagate primary key turned on for all relationships where the FK is part of the PK? Is this a general check that can be performed? If your EO has a composite primary key then the inverse relationship of each PK join must be propagates primary key? I can't think of an exception to this wh

Re: failing to provide new primary keys

2008-11-18 Thread Chuck Hill
On Nov 18, 2008, at 4:22 AM, Mike Schrag wrote: Propagate primary key turned on for all relationships where the FK is part of the PK? Is this a general check that can be performed? If your EO has a composite primary key then the inverse relationship of each PK join must be propagates prim

Re: Scaling a PNG

2008-11-18 Thread Atli Páll Hafsteinsson
Hi Thanx for the help but I finally figured out how to use JAI to do this .. me and a colleague started a challenge who could find the solution faster, that seemd to do the trick :) Sucsessfully using ScaleDescriptor from the JAI package now. Atli On 11/18/08 3:29 PM, "Simon McLean" <[EMAIL PR

Re: WOWODC app is down

2008-11-18 Thread Pascal Robert
Le 08-11-18 à 10:26, Chuck Hill a écrit : On Nov 18, 2008, at 4:26 AM, Pascal Robert wrote: That's strange, it's the second time that someone reports this exact problem in the same timerange (between 03:00 and 03:30 EST). No exceptions, nothing except that I'm sleeping at that time :-)

Re: WOWODC app is down

2008-11-18 Thread Chuck Hill
On Nov 18, 2008, at 4:26 AM, Pascal Robert wrote: That's strange, it's the second time that someone reports this exact problem in the same timerange (between 03:00 and 03:30 EST). No exceptions, nothing except that I'm sleeping at that time :-) Backup running on the server at that time? S

Re: Display Group: sort in memory

2008-11-18 Thread Mike Schrag
I have a (batched) display group of EOs and I need to sort it using a key that only available in memory, not in the model. What is the best way to do that? Using setSortOrderings seems to require that all the keys are defined in the model. It's basically impossible to sort a batching displa

Re: Scaling a PNG

2008-11-18 Thread Gustavo Pizano
If im not wrong the WO Tutorial has a code that scale images. G On 18.11.2008, at 16:06, Atli Páll Hafsteinsson wrote: Hi Has anyone scaled a PNG image preserving its transparency? Code samples would be most helpfull. Regards, Atli ___ Do not po

Display Group: sort in memory

2008-11-18 Thread John Huss
I have a (batched) display group of EOs and I need to sort it using a key that only available in memory, not in the model. What is the best way to do that? Using setSortOrderings seems to require that all the keys are defined in the model. Thanks, John __

Scaling a PNG

2008-11-18 Thread Atli Páll Hafsteinsson
Hi Has anyone scaled a PNG image preserving its transparency? Code samples would be most helpfull. Regards, Atli ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Un

Re: WOWODC app is down

2008-11-18 Thread Timo Hoepfner
Am 18.11.2008 um 13:26 schrieb Pascal Robert: That's strange, it's the second time that someone reports this exact problem in the same timerange (between 03:00 and 03:30 EST). No exceptions, nothing except that I'm sleeping at that time :-) For me that sounds like monitor is configured to

Re: capistrano deployments w/ wo

2008-11-18 Thread Simon McLean
Wow, thanks for this. Capistrano looks fantastic. Going to have a play with this tonight... Simon On 18 Nov 2008, at 11:46, Michael Bushkov wrote: Hi, I've posted some initial information here: http://wiki.objectstyle.org/confluence/display/WO/Web+Applications-Deployment-Capistrano+%28Overvie

Re: [FIXED] NSMacOSRomanStringEncoding UnsupportedEncodingException

2008-11-18 Thread Dov Rosenberg
Most of the other distributions on other platforms realize the world is bigger than the United States and include the multiplatform JVM support. For some reason Microsoft doesn't feel the same need. I guess it mirrors the built-in support that Macs have for multibyte languages whereas in the MSFT

Re: [FIXED] NSMacOSRomanStringEncoding UnsupportedEncodingException

2008-11-18 Thread David Avendasora
Hey all, Thanks for all the pointers. All my Component's WOO files did in fact point to UTF-8, but there must have be things inside WO and/or Wonder that still use NSMacOSRomanStringEncoding. I don't know if it is only when deploying to Tomcat on Windows, but the solution was to uninstall

Re: NSMacOSRomanStringEncoding UnsupportedEncodingException

2008-11-18 Thread Dov Rosenberg
We develop exclusively on Macs and have for the past 5 years but somehow we had mixed settings in our .woo files as well. We finally converted them all to UTF-8 when we moved to Project Wonder. I think the changes probably occurred as WOLips changed its defaults over the years. Dov Rosenberg On

Re: WOWODC app is down

2008-11-18 Thread Pascal Robert
That's strange, it's the second time that someone reports this exact problem in the same timerange (between 03:00 and 03:30 EST). No exceptions, nothing except that I'm sleeping at that time :-) If someone get the same problem, please retry one hour later (after 04:00 EST). Hi, I wante

Re: failing to provide new primary keys

2008-11-18 Thread Mike Schrag
Propagate primary key turned on for all relationships where the FK is part of the PK? Is this a general check that can be performed? If your EO has a composite primary key then the inverse relationship of each PK join must be propagates primary key? ms _

Re: capistrano deployments w/ wo

2008-11-18 Thread Michael Bushkov
Hi, I've posted some initial information here: http://wiki.objectstyle.org/confluence/display/WO/Web+Applications-Deployment-Capistrano+%28Overview%29 This is some kind of overview/beginner's guide. There are 2 things to go: * I'll write about advanced usage techniques. * I'll publish my sources t

Re: Webobjects-dev Digest, Vol 5, Issue 1120

2008-11-18 Thread Andrew R. Kinnie
I had a similar problem yesterday. It involved a join table between two entities with a composite primary key in the join table. Is the checkbox to propagate primary keys checked in the advanced tab in both entities which are being joined? e.g. entity A joining with entity B in a join tabl

Re: NSMacOSRomanStringEncoding UnsupportedEncodingException

2008-11-18 Thread Cheong Hee (Datasonic)
Hi David If you could check your Component woo file e.g. Main.woo, NSMacOSRomanStringEncoding is probably coded. I I noticed that if the component file is created under Eclipse/Windows, the woo file will be as such: {"WebObjects Release" = "WebObjects 5.0"; encoding = "UTF-8"; } However

WOWODC app is down

2008-11-18 Thread jp . malrieu
Hi, I wanted to buy the 2008 sessions recordings, but the store part of the app is down. I can't proceed further than choosing my location. JPM ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobje