Re: Advice on whether to upgrade Eclipse / WOLips from Eclipse Mars 4.5
HI John, I’m on Eclipse 4.7 with WO and it’s working fine. I can share my notes on the setup if you need them. Regards, Gordon Gordon Belray Information Architect University of Toronto Libraries gordon.bel...@utoronto.ca<mailto:gordon.bel...@utoronto.ca> 647-700-7402 On Feb 5, 2019, at 10:17 AM, Aaron Rosenzweig mailto:aa...@chatnbike.com>> wrote: Hi John, I’m on Eclipse 4.6 and it is ok. I have not tried 4.7 with WO. Newer Eclipse can sometimes bring better debugging and general Java goodness but other than that… If you are reasonably happy, I wouldn’t switch. I guess for giggles and grins you could try out 4.7 and see how it goes. Aaron Rosenzweig / Chat 'n Bike<https://ving.apple.com/proxy?t2=dE0W8n0x5N=http%3A%2F%2Fwww.chatnbike.com> e: aa...@chatnbike.com<mailto:aa...@chatnbike.com> t: (301) 956-2319 [Chat 'n Bike] [Chat 'n Bike] On Feb 5, 2019, at 5:08 AM, John Pollard mailto:j...@pollardweb.com>> wrote: Hi list, My last update of Eclipse/WOLips was in 2015 and I am on Eclipse Mars 4.5.2 + wolips / subclipse and all works fine. Should I move up (to Eclipse/WOLips 4.7?) or not much reason to do so? Many thanks for your advice, John ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com<mailto:Webobjects-dev@lists.apple.com>) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/aaron%40chatnbike.com This email sent to aa...@chatnbike.com<mailto:aa...@chatnbike.com> ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com<mailto:Webobjects-dev@lists.apple.com>) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/gordon.belray%40utoronto.ca This email sent to gordon.bel...@utoronto.ca ___ 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: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: The WOCommunity slack channel
Hi Hugi, could you please add me as well, we are big Slackers at UofT. Thanks, Gordon > On Sep 6, 2016, at 8:01 AM, Hugi Thordarsonwrote: > > Hi all, > just wanted to remind you that Samuel Pelletier created a slack channel for > the WOCommunity. It’s a lovely little place for chatting about WO. Just let > us know if you’d like an invite so you can join. > > Cheers, > - hugi > > // Hugi Thordarson > // http://www.loftfar.is/ > // s. 895-6688 > > ___ > 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: > https://lists.apple.com/mailman/options/webobjects-dev/gordon.belray%40utoronto.ca > > This email sent to gordon.bel...@utoronto.ca ___ 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: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: 5.4 uploading large files
Yeah this wasn't fully fixed until later ... I think maybe 5.4.3 changed the response streaming api's to take longs, but didn't fix wohttpio and worequest to make them parse content length as long. Perhaps, assuming you're still on the inside, you'd be able to slip 5.4.3.1 (or whatever it got up it internally) under the door somewhere (?) :) Asking that on a public mailing list hosted by Apple is not a great idea :-) Don't worry ... The public and private answer is the same :) And the answer will probably be: the community should fix it in Wonder :-) This would be great but I fear outside my scope. I've developed a wo app to manage video/audio content at the university and the uptake has been great. It's hard enough justifying WebObjects here, and issues such as this, if it cannot be resolved, raise more eyebrows. Gordon ___ 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: https://lists.apple.com/mailman/options/webobjects-dev/gordon.belray%40utoronto.ca This email sent to gordon.bel...@utoronto.ca Gordon Belray Systems and Interface Designer Information Technology Services University of Toronto Libraries gordon.bel...@utoronto.ca 416-946-8617 w 416-427-7007 m ___ 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: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: 5.4 uploading large files
Since this is, to my view, a bug affecting all of the community, wocommunity should paid for the work… if someone is willing to work on it. WOHttpIO is a final class... does the community have a budget for this? I recall membership fee but I don't see anything on wocommunity.org about a paid membership. Gordon ___ 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: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
5.4 uploading large files
Hi, I'm running WebObjects 5.4.3 and am seeing this error uploading a 2.1 GB file: com.webobjects.appserver._private.WOHttpIO Unable to parse content- length header: '2255571732'. Mike suggested it was fixed in 5.4, anyone else encountering it. Is there a workaround? Thanks, Gordon Gordon Belray Information Technology Services University of Toronto Libraries ___ 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: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
5.4 uploading large files
Hi, I'm running WebObjects 5.4.3 and am seeing this error uploading a 2.1 GB file: com.webobjects.appserver._private.WOHttpIO Unable to parse content- length header: '2255571732'. Mike suggested it was fixed in 5.4, anyone else encountering it. Is there a workaround? Thanks, Gordon Gordon Belray Information Technology Services University of Toronto Libraries ___ 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: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: embedding video???
Hi Ted, I use this in the html WEBOBJECT NAME=QuickTime1/WEBOBJECT and this in the wod file, there's also a binding for filename, I pull values dynamically and store the movie files on an external web server or Darwin streaming server. QuickTime1: WOQuickTime { height = 640; src = image.movieURL; width = 720; bgcolor=black; } Gordon On 24-May-10, at 9:46 AM, Theodore Petrosky wrote: I have a couple of video tutorials for my app and I am trying to embed them with my app. Usually, I would just use SnapX pro to capture some video and give my user a folder with the videos... works ok.. I was experimenting with Quicktime and found that the export to web worked well... however I don't understand how to create a component with the movie so my user can click a link and watch my tutorial... If I put the movie(s) in a folder in my WebServerResources, how can I link to them? Ted ___ 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.apple.com/mailman/options/webobjects-dev/gordon.belray%40utoronto.ca This email sent to gordon.bel...@utoronto.ca Gordon Belray Systems and Interface Designer Information Technology Services University of Toronto Libraries gordon.bel...@utoronto.ca 416-946-8617 w 416-427-7007 m ___ 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.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
-Xmx launch parameter
Hi, I'm trying to increase the memory allocation for my application but my app won't start beyond -Xmx 2048 (8 gigs on 10.5 OS X server, WO 5.4.3). I've tried adding launch parameters in Eclipse and JavaMonitor. I can't find a reference to this value in the .woa, what else do I need to modify? Any ideas? Thanks, Gordon Gordon Belray Systems and Interface Designer Information Technology Services University of Toronto Libraries gordon.bel...@utoronto.ca 416-946-8617 w 416-427-7007 m ___ 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.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Quoting hell, anybody a solution?
HI Johan, I've got this to work by creating the bindings in the wod file PerformancePrimaryKey: WOString { value = mySess.selectedPerfromance.primaryKey; } and then in the html a href = javascript:ShowContent('webobject name=PerformancePrimaryKey/webobject') ; onMouseOver = ShowContent('webobjects name=PerformancePrimaryKey/webobject'); return true; onMouseOut = HideContent('wo:WOString value =webobjects name=PerformancePrimaryKey/webobject'); return true; Hope t On 18-Feb-10, at 3:45 AM, Johan Henselmans wrote: I am trying to call a webobjects string in an a href; First i tried this: a href = javascript:ShowContent('wo:WOString value =[mySess.selectedPerformance.primaryKey]/') ; onMouseOver = ShowContent('wo:WOString value=[mySess.selectedPerformance.primaryKey]/'); return true; onMouseOut = HideContent('wo:WOString value =[mySess.selectedPerformance.primaryKey]/'); return true; Of course, that gave errors about the quoting. It said: 'The character '' must be escaped'. Expected behavior, too many quotes. Smart ass as I am (just have been listening to Bonzo Dog Doo-bah Band's 'Look at me I'm wonderful') I thought that using the quot; instead of would take care of it: a href = quot; javascript:ShowContent('wo:WOString value =[mySess.selectedPerformance.primaryKey]/') quot; onMouseOver = quot; ShowContent('wo:WOString value=[mySess.selectedPerformance.primaryKey]/'); return true; quot; onMouseOut = quot; HideContent('wo:WOString value =[mySess.selectedPerformance.primaryKey]/'); return true; quot; I would assume that the webobjects parser would parse the WOString bit, then pass the rest to the webserver which in return would pass it to the browser where the quot; quoting would be returned to it glorious quoting and be interpreted by the browser as being a javascript. Unfortunately that resulted in: SAXParseException: Open quote is expected for attribute href associated with an element type a. at org.apache.xerces.parsers.AbstractSAXParser.parse(null:Unknown) at org.apache.xerces.jaxp.SAXParserImpl $JAXPSAXParser.parse(null:Unknown) at com .webobjects .appserver .parser.woml.WOMLTemplateParser.process(WOMLTemplateParser.java:339) at com .webobjects .appserver .parser.woml.WOMLTemplateParser.parse(WOMLTemplateParser.java:653) at com .webobjects .appserver .parser.WOHTMLTemplateParser.parse(WOHTMLTemplateParser.java:40) at com .webobjects .appserver .parser .WOComponentTemplateParser .templateWithHTMLAndDeclaration(WOComponentTemplateParser.java:438) ... skipped 1 stack elements at com.webobjects.appserver.WOComponent.template(WOComponent.java: 499) ... skipped 17 stack elements Anybody a correct way of quoting? (Because the liberal use of quotes in this document, you should not feed this document to your SAXParser) Johan Henselmans jo...@netsense.nl ___ 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.apple.com/mailman/options/webobjects-dev/gordon.belray%40utoronto.ca This email sent to gordon.bel...@utoronto.ca Gordon Belray Application Programmer Information Technology Services University of Toronto Libraries gordon.bel...@utoronto.ca 416-946-8617 w 416-427-7007 m ___ 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.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: All In One Installer broken
...so I started a wiki page on this and will work on completing it as I get time. Any thoughts on that? Should I wipe all references on the wiki to the AIO? If we are ever going to get new devs to come to WebObjects, we need to have a working quick start. Any dev worth his salt should be comfortable on the command line, so maybe a bash install script that downloads and installs various bits and configures everything might be the better route. Any opinions on that? BTW, I went to use the WOInstaller.jar initially and thinking that a newbie would want standard install paths, I set the WOInstaller.jar target as /, but got an error saying System directory already exists. Should the WOInstaller.jar's CPIO class be changed to just overwrite existing files? Does that overlay directory paths (aka merge eith existing files if named differently, or does it realyl replace existing directories (ie., wiping them out)? Anyway, this is just some meandering thoughts / discussion before I leave off the How would a newbie WO dev fare on getting started for now and go do some work. Regards, Kieran ___ 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.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com This email sent to li...@thetimmy.com ___ 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.apple.com/mailman/options/webobjects-dev/probert%40macti.ca This email sent to prob...@macti.ca ___ 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.apple.com/mailman/options/webobjects-dev/gordon.belray%40utoronto.ca This email sent to gordon.bel...@utoronto.ca Gordon Belray Application Programmer Information Technology Services University of Toronto Libraries gordon.bel...@utoronto.ca 416-946-8617 w 416-427-7007 m ___ 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.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: how different are these urls working?
Hi Shravan, why not add a binding to WOHyperlink: onclick return confirm('Are you sure you want to delete this?'); Gordon On 30-Sep-09, at 3:05 PM, Shravan Kumar. M wrote: Hi John, I have a page with Delete links in a list to delete each row. Each row corresponds an EO. When we click on Delete link we have to confirm from user if (s)he is sure of doing that. So, we have added a confirm() js here and upon clicking ok, we have decided to use window.location.href = delete link url for the row user clicked; Please let me know if you need any other information. Thank you, Shravan Kumar. M -- --- On Wed, 9/30/09, John Huss johnth...@gmail.com wrote: From: John Huss johnth...@gmail.com Subject: Re: how different are these urls working? To: Shravan Kumar. M mshravan_...@yahoo.com, WebObjects-Dev Mailing List List webobjects-dev@lists.apple.com Date: Wednesday, September 30, 2009, 11:58 PM We'll need more info than that. On Wed, Sep 30, 2009 at 1:08 PM, Shravan Kumar. M mshravan_...@yahoo.com wrote: Hi Group, This does NOT work, i.e., this does NOT invoke WOComponent action method, but just invokes appendToResponse(resp, ctx), invokeAction(req, ctx). This link is generated in a WORepitition: window.location.href = /MSK/WebObjects/DemoApp.woa/-5/wo/ QbBT4uH3SmcSODt3O2rc6g/2.5.11.7.1.0.1.11.2 This works fine: window.location.href = /MSK/WebObjects/DemoApp.woa/-5/wo/ ubxmGDcAhE5cfjq7gDcMFM/19.5 Please advise, what could be the reason and any probable solution. Thank You, Shravan Kumar. M -- ___ 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.apple.com/mailman/options/webobjects-dev/johnthuss%40gmail.com This email sent to johnth...@gmail.com ___ 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.apple.com/mailman/options/webobjects-dev/gordon.belray%40utoronto.ca This email sent to gordon.bel...@utoronto.ca Gordon Belray Application Programmer Information Technology Services University of Toronto Libraries gordon.bel...@utoronto.ca 416-946-8617 w 416-427-7007 m ___ 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.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
writing to nfs mounts
Hey, we're having trouble writing to nfs mounts from within WebObjects. Even if we change ownership to appserver, it isn't writing. drwxrwxrwx 9 _appserver 100 4096 Sep 21 15:15 media drwxrwxrwx 2 _appserver 100 4096 Sep 21 19:18 mediaupload This has worked in the past for me, but in this case, the mounts are also mapped to different drives (our system admin did the setup). Any ideas? Thanks, Gordon Gordon Belray Application Programmer Information Technology Services University of Toronto Libraries gordon.bel...@utoronto.ca 416-946-8617 w 416-427-7007 m ___ 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.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Turn Key Install Problems
Hi Tavis, do you have a wolips.properties file in ~/Library/Appllication Support/ WOLips? The last time I used the turn key installer, it didn't create this file. Gordon On 18-Sep-09, at 3:12 PM, Tavis McDevitt wrote: Dear WebObjects Team: I am having trouble installing WebObjects/WOLips. About a month ago I installed Eclipse/WOLips manually but my applications (including examples) gave me a lot of Java exceptions. I figured I'd had something out of version so when I heard about a new installation package I installed it by: 1. Throwing away my old Eclipse installation (which was still in my Downloads folder). 2. Using Terminal to remove hidden files/folders pertaining to Eclipse in my User directory. 3. Installing the Eclipse+WOLips package (everything but Eclipse - Manifest). Now when I try to start Eclipse I get a box that says: An error has occured. See the log file... The log file is big. I can remove the old Eclipse folder from the trash and Eclipse will start, but it is as I last used it. I want a clean install. What on my system is still pointing to the old Eclipse installation? Thanks for your help, Tavis McDevitt __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ 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.apple.com/mailman/options/webobjects-dev/gordon.belray%40utoronto.ca This email sent to gordon.bel...@utoronto.ca Gordon Belray Application Programmer Information Technology Services University of Toronto Libraries gordon.bel...@utoronto.ca 416-946-8617 w 416-427-7007 m ___ 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.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
more pubcookie wo
Hey again, We have a directAction that is protected by the pubcookie module, we have tried using Location /cgi-bin/WebObjects/MyApp.woa/wa/ directActionName and LocationMatch directActionName When we use a submit button within a form bound to a a directAction we get this: Error message: Invalid POST data. (POST data length: 0) But if we use the directAction in the URL it works. The directAction is just returning a WOComponent that will read a header variable. There is nothing in either the apache2 access_log or error_log for the POST data error but refreshing the browser window works with this output: 142.150.195.106 - - [15/Sep/2009:13:45:18 -0400] POST / PubCookie.reply HTTP/1.1 302 336 142.150.195.106 - utoridValue [15/Sep/2009:13:45:18 -0400] GET /cgi- bin/WebObjects/MyMedia.woa/wa/utorauth HTTP/1.1 200 1960 Thanks, Gordon Gordon Belray Application Programmer Information Technology Services University of Toronto Libraries gordon.bel...@utoronto.ca 416-946-8617 w 416-427-7007 m ___ 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.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
pubcookie and WO
Hey eveyone, We're using PubCookie http://www.pubcookie.org/ here for user authentication, and we need to have a directory to point back to in the Apache module: Directory /Library/WebServer/Documents/private AllowOverride AuthConfig PubcookieInactiveExpire -1 PubcookieAppID PubcookieTest AuthType UTORid require valid-user /Directory I would like to use a directAction link for this but Apache doesn't recognize it, neither the http://myhost/cgi-bin/WebObjects/App.woa or http://myhost/cgi-bin/WebObjects/App.woa/wa/landingPage? will work Can anyone suggest has to do this? Thanks, Gordon Gordon Belray Application Programmer Information Technology Services University of Toronto Libraries gordon.bel...@utoronto.ca 416-946-8617 w 416-427-7007 m ___ 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.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: SOLVED pubcookie and WO
Hi Joe (and Chuck), thanks for your help, that worked. For example: Location /cgi-bin/WebObjects/YourApp.woa or Location /cgi-bin/ WebObjects/YourApp.woa/wa will work. If God was a programmer, the Sabbath would never be. Gordon On 13-Sep-09, at 1:11 PM, Joe Little wrote: Use Location not Directory On Sep 13, 2009, at 9:56 AM, Gordon Belray gordon.bel...@utoronto.ca wrote: Hey eveyone, We're using PubCookie http://www.pubcookie.org/ here for user authentication, and we need to have a directory to point back to in the Apache module: Directory /Library/WebServer/Documents/private AllowOverride AuthConfig PubcookieInactiveExpire -1 PubcookieAppID PubcookieTest AuthType UTORid require valid-user /Directory I would like to use a directAction link for this but Apache doesn't recognize it, neither the http://myhost/cgi-bin/WebObjects/App.woa or http://myhost/cgi-bin/WebObjects/App.woa/wa/landingPage? will work Can anyone suggest has to do this? Thanks, Gordon Gordon Belray Application Programmer Information Technology Services University of Toronto Libraries gordon.bel...@utoronto.ca 416-946-8617 w 416-427-7007 m ___ 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.apple.com/mailman/options/webobjects-dev/jmlittle%40gmail.com This email sent to jmlit...@gmail.com Gordon Belray Application Programmer Information Technology Services University of Toronto Libraries gordon.bel...@utoronto.ca 416-946-8617 w 416-427-7007 m ___ 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.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Antw: Re: Migrating Data from a temporary table into another editing context
Hi Andri, why not fetch directly with the new editing context? Gordon On 30-Apr-09, at 1:38 AM, Andri vonAllmen wrote: Hi Gordon, thanks for your response. Unfortunately the local instances of the objects are null too. Regards Andri Gordon Belray gordon.bel...@utoronto.ca Mittwoch, 29. April 2009 15:46 Hi Andri, try using EOEnterpriseObject result = (EOEnterpriseObject) EOUtilities.localInstanceOfObject(newEditingContext, result); Gordon 'loha folks, short: How do i migrate data, fetched from a temporary table, from one editing context into another? Details below... The situation is as follows: First, data are inserted into a temporary table (Oracle 8i) by using a stored procedure. Then, in the same procedure, these data are fetched from the temporary table into the user sessions editing context. Up to now, I've used ReportMill for generating reports based on this temporary data. This happens in the same editing context and does not cause any problems. But since ReportMill isn't fun to work with at all, I've decided to implement my own web-based reporting tool. This one generates the report in its own thread and uses its own editing context (no shared editing context). It works by simply processing a object graph and invoking all methods (attributes, relationships) using reflection (java.lang.reflect) based on some root objects that have to be passed to the reporting tool. Since the data source is a temporary table in this case, the data objects can't be inserted into another editing context, because an exception, telling that these objects can't be registered in two editing contexts, would be (and is) shown. So, I've tried to migrate them into a new editing context by faulting for the objects global id in the original editing context. This basically works, but the migrated data, namely all attribute values, relationships etc. are NULL. For permanent tables, this way of migration works well (code below): EOEditingContext oldEditingContext = enterpriseObject.editingContext(); EOGlobalID globalID = oldEditingContext.globalIDForObject (enterpriseObject); result = newEditingContext.faultForGlobalID(globalID, newEditingContext); Another trial was, to copy all objects, telling the old editing context to forget about them and inserting the copy into the new editing context (see code below). EOEnterpriseObject result = enterpriseObject; enterpriseObject.editingContext().forgetObject(enterpriseObject); newEditingContext.insertObject(result); But this does not work either. When trying to get some attributes value or another object reachable over a relationship, still null is returned. BUT, when adding e.g. a system out BEFORE migrating the data, accessing some value (e.g. the primary key), the migrated data are not null (in fact, now all attributes and relationships and so on are accessible and do return the correct value). Since I'm treating this phenomenon for hours and don't see the light, I finally have to ask for help. Any hints would be appreciated. Regards Andri von Allmen ___ 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.apple.com/mailman/options/webobjects-dev/gordon.belray %40utoronto.ca This email sent to gordon.bel...@utoronto.ca Gordon Belray Information Architect and Imaging System Manager Information Technology Services Robarts Library 416.946.8617cell: 416.427.7007 gordon.bel...@utoronto.ca Gordon Belray Information Architect and Imaging System Manager Information Technology Services Robarts Library 416.946.8617cell: 416.427.7007 gordon.bel...@utoronto.ca ___ 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.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Migrating Data from a temporary table into another editing context
Hi Andri, try using EOEnterpriseObject result = (EOEnterpriseObject) EOUtilities.localInstanceOfObject(newEditingContext, result); Gordon 'loha folks, short: How do i migrate data, fetched from a temporary table, from one editing context into another? Details below... The situation is as follows: First, data are inserted into a temporary table (Oracle 8i) by using a stored procedure. Then, in the same procedure, these data are fetched from the temporary table into the user sessions editing context. Up to now, I've used ReportMill for generating reports based on this temporary data. This happens in the same editing context and does not cause any problems. But since ReportMill isn't fun to work with at all, I've decided to implement my own web-based reporting tool. This one generates the report in its own thread and uses its own editing context (no shared editing context). It works by simply processing a object graph and invoking all methods (attributes, relationships) using reflection (java.lang.reflect) based on some root objects that have to be passed to the reporting tool. Since the data source is a temporary table in this case, the data objects can't be inserted into another editing context, because an exception, telling that these objects can't be registered in two editing contexts, would be (and is) shown. So, I've tried to migrate them into a new editing context by faulting for the objects global id in the original editing context. This basically works, but the migrated data, namely all attribute values, relationships etc. are NULL. For permanent tables, this way of migration works well (code below): EOEditingContext oldEditingContext = enterpriseObject.editingContext (); EOGlobalID globalID = oldEditingContext.globalIDForObject (enterpriseObject); result = newEditingContext.faultForGlobalID(globalID, newEditingContext); Another trial was, to copy all objects, telling the old editing context to forget about them and inserting the copy into the new editing context (see code below). EOEnterpriseObject result = enterpriseObject; enterpriseObject.editingContext().forgetObject(enterpriseObject); newEditingContext.insertObject(result); But this does not work either. When trying to get some attributes value or another object reachable over a relationship, still null is returned. BUT, when adding e.g. a system out BEFORE migrating the data, accessing some value (e.g. the primary key), the migrated data are not null (in fact, now all attributes and relationships and so on are accessible and do return the correct value). Since I'm treating this phenomenon for hours and don't see the light, I finally have to ask for help. Any hints would be appreciated. Regards Andri von Allmen ___ 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.apple.com/mailman/options/webobjects-dev/gordon.belray% 40utoronto.ca This email sent to gordon.bel...@utoronto.ca Gordon Belray Information Architect and Imaging System Manager Information Technology Services Robarts Library 416.946.8617cell: 416.427.7007 gordon.bel...@utoronto.ca ___ 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.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Strategic advice
Hi, sorry to trouble you guys with this, but we're scrambling to get a new production/deployment environment together after a significant power outage that corrupted our main production server. We're still running XCode 2.4, OS X 10.4.11, WebObjects 5.3.3 but have a new XServe running 10.5 and WebObjects 5.4.2 and OpenBase 10. We could really use some basic strategic advice for moving forward, and could use some help with the following: Is WO 5.4.2 or 5.4.3 stable enough for dev and deployment work, or is WO 5.3.3 on OSX 10.5 a better option (using Mike Schrag's excellent tutorial)? I've installed Eclipse/WOLips using the All-in-one-turnkey installer (thanks everyone for the wiki and podcast tutorials, they're a big help), but so far can't get a simple HelloWorld app to do a split install deployment. Any suggestions for 5.4 deployment tutorials (sorry I'm posting this question to the dev list). I've been able to get a test migration to Eclipse working before, but this was using 10.4. We're currently not using Project Wonder, but obviously will when things settle down. Any advice would be much appreciated, Gordon Gordon Belray Information Architect and Imaging System Manager Information Technology Services Robarts Library 416.946.8617cell: 416.427.7007 [EMAIL PROTECTED] ___ 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.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]
Re: Strategic advice
Hi Mike, On 20-Oct-08, at 10:48 AM, Mike Schrag wrote: Is WO 5.4.2 or 5.4.3 stable enough for dev and deployment work, or is WO 5.3.3 on OSX 10.5 a better option (using Mike Schrag's excellent tutorial)? We just moved to 5.4.3 in production. 5.4.3 seems to be pretty good. We are still 5.3 in production, but are planning very soon to move to 5.4.3 for all of our deployments. We are currently in a mixed environment, which, as Guido said, can be a bit of a disaster. Only mix dev and deploy if you have good controls on your build and deployment process. this sounds promising. I've installed Eclipse/WOLips using the All-in-one-turnkey installer (thanks everyone for the wiki and podcast tutorials, they're a big help), but so far can't get a simple HelloWorld app to do a split install deployment. Out of the box, it doesn't do split install. You can probably do that easy enough with an addition to the build.xml file. What I personally do is add a symlink in the WebServer folders to point to the WebServerResources folder in the installed application and configure apache to follow symlinks for that directory. The new versions of WOLips include support for split install out-of- the-box (including split install of embedded frameworks). This is currently only in nightly, though I suspect we'll be going to stable relatively soon. I modified the build.xml file following the wiki and got two .woa's, I changed the permissions and violà, first deployment working! I'm sure I'll have more questions. BTW, for adding images to WebServerResources, I found a nice short-cut, simply copy the image file and paste it to the folder in Eclipse, this was the only way I could actually get it to work, I tried to control click and add the file with no luck, does this method work like the XCode Add existing files? Gordon Gordon Belray Information Architect and Imaging System Manager Information Technology Services Robarts Library 416.946.8617cell: 416.427.7007 [EMAIL PROTECTED] Gordon Belray Information Architect and Imaging System Manager Information Technology Services Robarts Library 416.946.8617cell: 416.427.7007 [EMAIL PROTECTED] ___ 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.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]
Re: move from using EO_PK_TABLE to OpenBase plugin
Hi Shelley, add this to your application constructor JDBCPlugIn.setPlugInNameForSubprotocol (com.webobjects.jdbcadaptor.OpenBasePKPlugIn, openbase); and in your model's adaptor settings add this: Driver: com.openbase.jdbc.ObDriver Plugin: com.webobjects.jdbcadaptor.OpenBasePKPlugIn That should do it. Gordon On 25-Jun-08, at 3:28 AM, Shelley Eitzen wrote: Hi All, WebObjects 5.3 XCode 2.x Openbase 10.x We currently have an application which utilises the EO_PK_TABLE in generating primary keys. We need to use the Openbase method of generating primary keys. Can anyone please tell me how to change this? Thanks in Advance Shelley ___ 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.apple.com/mailman/options/webobjects-dev/gordon.belray% 40utoronto.ca This email sent to [EMAIL PROTECTED] Gordon Belray Information Architect and Imaging System Manager Information Technology Services Robarts Library 416.946.8617cell: 416.427.7007 [EMAIL PROTECTED] ___ 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.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]
Re: fckeditor and DirectConnect
Hi Helmut, you can try putting moving it to your WebServer and passing in a base url instead, e.g. http://localhost/FCKEdtior. Gordon On 12-May-08, at 5:09 AM, Helmut Schottmüller wrote: Hi, maybe very stupid but when I try to integrate the fckeditor with DirectConnect, I have problems to set the oFCKeditor.BasePath property. How can I retrieve a working path from my WebServerResources directory? urlForResourceNamed seems to work on files only... Regards, Helmut ___ 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.apple.com/mailman/options/webobjects-dev/gordon.belray% 40utoronto.ca This email sent to [EMAIL PROTECTED] Gordon Belray Information Architect and Imaging System Manager Information Technology Services Robarts Library 416.946.8617cell: 416.427.7007 [EMAIL PROTECTED] ___ 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.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]
forcing component reload
Hi, When generating files for downloads in appendToResponse, is there a way of forcing a return to a component page to indicate to the user that the file was successfully downloaded? thanks, Gordon Gordon Belray Information Architect and Imaging System Manager Information Technology Services Robarts Library 416.946.8617cell: 416.427.7007 [EMAIL PROTECTED] ___ 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.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]
Re: forcing component reload
Hi Chuck, my only solution so far has been to use javascript. I use a WOLongResponsePage to generate a large file and return to component with a hyperlink to download the file via appendToResponse. I use javascript to hide the link once it is clicked, but was just wondering if that was the only option, which seems to be the case. thanks, Gordon On 18-Mar-08, at 1:46 PM, Chuck Hill wrote: Not sure exactly what effect you are looking for. Client side JavaScript is the only thing that I can think of that might do what you want. Chuck On Mar 18, 2008, at 9:26 AM, Gordon Belray wrote: Hi, When generating files for downloads in appendToResponse, is there a way of forcing a return to a component page to indicate to the user that the file was successfully downloaded? thanks, Gordon Gordon Belray Information Architect and Imaging System Manager Information Technology Services Robarts Library 416.946.8617cell: 416.427.7007 [EMAIL PROTECTED] ___ 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.apple.com/mailman/options/webobjects-dev/chill% 40global-village.net This email sent to [EMAIL PROTECTED] -- Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems. http://www.global-village.net/products/practical_webobjects Gordon Belray Information Architect and Imaging System Manager Information Technology Services Robarts Library 416.946.8617cell: 416.427.7007 [EMAIL PROTECTED] ___ 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.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]
Re: WWDC 08
Hi, I'd offer to record the event, but I'm not sure if I'll make it down. Is there the possibility this year of making the course material, videos etc available for purchase by people who don't attend? That was always the plan. However... we had a large number of A/ V technical problems. Development skill apparently does not carry over to A/V skills. The results were less than fully satisfactory. We should be prepared this year. I can resume the A/V problems to this: - DON'T EVER USE a PowerBook G4 as a iMovie capture station - it's even worse to use a PowerBook G4 as a iMovie capture station AND a AirPort Base Station You might want to take a simple approach next time, use real video cameras running off A/C adapters, record to tape then suck it into your edit station later using firewire. I normally use a good DV cam with XLR audio in, there's often an audio line out that you can plug straight into. I rarely use tapes anymore, I record straight to Quicktime on my laptop using Wirecast and firewire to the camera. Wirecast allows for an array of scene selections including the presenter's desktop, you can do this wirelessly through a local network. - wired microphones are a PITA Minidisc players were good for this years ago, when you could still buy them. I don't know what devices are usually used these days, but you could record the audio stand alone and mix it back in later using the camera audio to sync things together. Post-production is BAD. - bad lengthy VGA cable is BAD Gordon Gordon Belray Information Architect and Imaging System Manager Information Technology Services Robarts Library 416.946.8617cell: 416.427.7007 [EMAIL PROTECTED] ___ 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.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]
Re: Resizing images
If anyone would like Brendan Duddridge's JNIWrapper, let me know. The wocode link is dead. Gordon On 4-Feb-08, at 12:18 PM, Mike Schrag wrote: In order of speed (fastest to slowest): JNI CoreImage/ImageIO JNI ImageMagick system call ImageMagick Java2D Java2D is easiest, but it's DOG slow. If you don't have any performance requirements (or if you aren't dealing with large images), it's the path of least resistance. ms On Feb 4, 2008, at 12:00 PM, Miguel Arroz wrote: Hi! Forgot to mention that detail... no OS X below to rely on. :( Yours Miguel Arroz On 2008/02/04, at 16:47, Mike Schrag wrote: I use a JNI wrapper around OS X's CoreImage/ImageIO ... It kicks the butt (by at least an order of magnitude and sometimes more) of any other method on OS X. ms On Feb 4, 2008, at 11:31 AM, Miguel Arroz wrote: Hi! Just to know, what library do you use to manipulate images (getting X and Y size, resizing, etc)? Do you use the standard Java stuff, or anything else better/faster? Yours Miguel Arroz Miguel Arroz http://www.terminalapp.net http://www.ipragma.com ___ 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.apple.com/mailman/options/webobjects-dev/mschrag% 40mdimension.com This email sent to [EMAIL PROTECTED] ___ 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.apple.com/mailman/options/webobjects-dev/arroz% 40guiamac.com This email sent to [EMAIL PROTECTED] Miguel Arroz http://www.terminalapp.net http://www.ipragma.com ___ 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.apple.com/mailman/options/webobjects-dev/gordon.belray% 40utoronto.ca This email sent to [EMAIL PROTECTED] Gordon Belray Information Architect and Imaging System Manager Information Technology Services Robarts Library 416.946.8617cell: 416.427.7007 [EMAIL PROTECTED] ___ 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.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]
Re: New podcasts and iTunes
I've used a bunch of programs for making podcasts, for screen captures with audio you could try Snapz Pro X and Quicktime Pro will export anything to a podcast. There's also ProfCast for Powerpoint/Keynote presentations with audio. The mailing list is great but it's not the same as a good visual tutorial. Gordon On 10-Jan-08, at 7:44 PM, Pascal Robert wrote: Actually, using Podcast Producer is really easy to us. The problem is that you need the server part. If you are brave enough to install leopard then you probably have podcast producer somewhere on your machine. But i'd stick to contributing to the mailing list. It's so much easier :-) Simon On 10 Jan 2008, at 23:54, Chuck Hill wrote: So, uh, how do you make a podcast? ___ 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.apple.com/mailman/options/webobjects-dev/gordon.belray% 40utoronto.ca This email sent to [EMAIL PROTECTED] Gordon Belray Information Architect and Imaging System Manager Information Technology Services Robarts Library 416.946.8617cell: 416.427.7007 [EMAIL PROTECTED] ___ 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.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]
Powerpoint generation
Hi, I was wondering if anyone has any recommendations for generating Powerpoint files with WO. POI-HSLF looks like it should do the trick, but any feedback would be appreciated. Gordon Gordon Belray Information Architect and Imaging System Manager Information Technology Services Robarts Library 416.946.8617cell: 416.427.7007 [EMAIL PROTECTED] ___ 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.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]
class loader launch problem with Wonder
Hi, I'm trying to get Project Wonder integrated into an existing application and get the following on launch: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at com.webobjects._bootstrap.WOBootstrap.main(WOBootstrap.java:71) Caused by: com.webobjects.foundation.NSForwardException [java.util.zip.ZipException] No such file or directory at com.webobjects.foundation.NSForwardException._runtimeExceptionForThrowab le(NSForwardException.java:47) at er.extensions.ERXApplication.stringFromJar(ERXApplication.java:343) at er.extensions.ERXApplication.setup(ERXApplication.java:396) at er.extensions.ERXApplication.main(ERXApplication.java:353) at Application.main(Application.java:16) ... 5 more In /Library/Java/Extensions I have the following jars: avalon, batik, fop, junit, lucene-core, OpenBaseJDBC, xalan, xerces, xml-apis and in /Library/WebObjects/Extensions: axis-ant, axis, commons- discovery, commons-logging, jaxrpc, saaj, wsdl4j (I removed log4j as per Kieren's tutorial). I'm mid migration from XCode to Eclipse and am encountering this in XCode. any help would be appreciated. Gordon Gordon Belray Information Architect and Imaging System Manager Information Technology Services Robarts Library 416.946.8617cell: 416.427.7007 [EMAIL PROTECTED] ___ 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.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]
Re: class loader launch problem with Wonder
Hi Chuck, This is really a Wonder question and best asked on the Wonder list. After a very, very quick look at the source, it seems that is is something malformed that you have on the classpath: } else if(jar.endsWith(.jar)) { String info = stringFromJar(jar, Resources/Info.plist); if(info != null) { NSDictionary dict = (NSDictionary) NSPropertyListSerialization.propertyListFromString(info); bundle = (String) dict.objectForKey(CFBundleExecutable); allFrameworks.add(bundle); // System.out.println(Jar bundle: + bundle); } } Do you have any jars that might be taken to be frameworks without an Resources/Info.plist file? There's also an Obj-C library ImageIOJNIjnilib.m and libImaeIOJNI.jnilib in my /Library/Java/Extensions, but I can take this to the Wonder list, unless you have a quick fix. thanks, Gordon Chuck On Dec 5, 2007, at 8:13 AM, Gordon Belray wrote: On 5-Dec-07, at 11:03 AM, Chuck Hill wrote: On Dec 5, 2007, at 7:44 AM, Gordon Belray wrote: Hi, I'm trying to get Project Wonder integrated into an existing application and get the following on launch: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at com.webobjects._bootstrap.WOBootstrap.main(WOBootstrap.java:71) Caused by: com.webobjects.foundation.NSForwardException [java.util.zip.ZipException] No such file or directory at com.webobjects.foundation.NSForwardException._runtimeExceptionForTh rowable(NSForwardException.java:47) at er.extensions.ERXApplication.stringFromJar (ERXApplication.java:343) at er.extensions.ERXApplication.setup(ERXApplication.java:396) at er.extensions.ERXApplication.main(ERXApplication.java:353) at Application.main(Application.java:16) ... 5 more In /Library/Java/Extensions I have the following jars: avalon, batik, fop, junit, lucene-core, Move those someplace else, /Library/WebObjects/Extensions or a framework or somewhere OpenBaseJDBC, That one is OK xalan, xerces, xml-apis Get those out too. moved everything except OpenBaseJDBC to /Library/WebObjects/ Extensions, still getting the same launch error: Chuck and in /Library/WebObjects/Extensions: axis-ant, axis, commons- discovery, commons-logging, jaxrpc, saaj, wsdl4j (I removed log4j as per Kieren's tutorial). I'm mid migration from XCode to Eclipse and am encountering this in XCode. any help would be appreciated. Gordon Gordon Belray Information Architect and Imaging System Manager Information Technology Services Robarts Library 416.946.8617cell: 416.427.7007 [EMAIL PROTECTED] ___ 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.apple.com/mailman/options/webobjects-dev/chill% 40global-village.net This email sent to [EMAIL PROTECTED] -- Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems. http://www.global-village.net/products/practical_webobjects Gordon Belray Information Architect and Imaging System Manager Information Technology Services Robarts Library 416.946.8617cell: 416.427.7007 [EMAIL PROTECTED] -- Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems. http://www.global-village.net/products/practical_webobjects Gordon Belray Information Architect and Imaging System Manager Information Technology Services Robarts Library 416.946.8617cell: 416.427.7007 [EMAIL PROTECTED] ___ 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.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]
Re: class loader launch problem with Wonder
On 5-Dec-07, at 11:03 AM, Chuck Hill wrote: On Dec 5, 2007, at 7:44 AM, Gordon Belray wrote: Hi, I'm trying to get Project Wonder integrated into an existing application and get the following on launch: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at com.webobjects._bootstrap.WOBootstrap.main(WOBootstrap.java:71) Caused by: com.webobjects.foundation.NSForwardException [java.util.zip.ZipException] No such file or directory at com.webobjects.foundation.NSForwardException._runtimeExceptionForThro wable(NSForwardException.java:47) at er.extensions.ERXApplication.stringFromJar(ERXApplication.java: 343) at er.extensions.ERXApplication.setup(ERXApplication.java:396) at er.extensions.ERXApplication.main(ERXApplication.java:353) at Application.main(Application.java:16) ... 5 more In /Library/Java/Extensions I have the following jars: avalon, batik, fop, junit, lucene-core, Move those someplace else, /Library/WebObjects/Extensions or a framework or somewhere OpenBaseJDBC, That one is OK xalan, xerces, xml-apis Get those out too. moved everything except OpenBaseJDBC to /Library/WebObjects/ Extensions, still getting the same launch error: Chuck and in /Library/WebObjects/Extensions: axis-ant, axis, commons- discovery, commons-logging, jaxrpc, saaj, wsdl4j (I removed log4j as per Kieren's tutorial). I'm mid migration from XCode to Eclipse and am encountering this in XCode. any help would be appreciated. Gordon Gordon Belray Information Architect and Imaging System Manager Information Technology Services Robarts Library 416.946.8617cell: 416.427.7007 [EMAIL PROTECTED] ___ 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.apple.com/mailman/options/webobjects-dev/chill% 40global-village.net This email sent to [EMAIL PROTECTED] -- Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems. http://www.global-village.net/products/practical_webobjects Gordon Belray Information Architect and Imaging System Manager Information Technology Services Robarts Library 416.946.8617cell: 416.427.7007 [EMAIL PROTECTED] ___ 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.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]
Re: class loader launch problem with Wonder
ERExtensions, ERJars, JavaWOExtensions frameworks. Gordon On 5-Dec-07, at 10:50 AM, Daniele Corti wrote: 2007/12/5, Gordon Belray [EMAIL PROTECTED]: Hi, I'm trying to get Project Wonder integrated into an existing application and get the following on launch: Which frameworks did you include? java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java :39) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke (Method.java:585) at com.webobjects._bootstrap.WOBootstrap.main(WOBootstrap.java:71) Caused by: com.webobjects.foundation.NSForwardException [java.util.zip.ZipException ] No such file or directory at com.webobjects.foundation.NSForwardException._runtimeExceptionForThrow able(NSForwardException.java:47) at er.extensions.ERXApplication.stringFromJar(ERXApplication.java: 343) at er.extensions.ERXApplication.setup(ERXApplication.java:396) at er.extensions.ERXApplication.main(ERXApplication.java:353) at Application.main(Application.java:16) ... 5 more In /Library/Java/Extensions I have the following jars: avalon, batik, fop, junit, lucene-core, OpenBaseJDBC, xalan, xerces, xml-apis and in /Library/WebObjects/Extensions: axis-ant, axis, commons- discovery, commons-logging, jaxrpc, saaj, wsdl4j (I removed log4j as per Kieren's tutorial). I'm mid migration from XCode to Eclipse and am encountering this in XCode. any help would be appreciated. Gordon Gordon Belray Information Architect and Imaging System Manager Information Technology Services Robarts Library 416.946.8617cell: 416.427.7007 [EMAIL PROTECTED] ___ 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.apple.com/mailman/options/webobjects-dev/ildenae% 40gmail.com This email sent to [EMAIL PROTECTED] -- Daniele Corti AIM: S0CR4TE5 Messenger: [EMAIL PROTECTED] -- Computers are like air conditioners -- they stop working properly if you open WINDOWS -- What about the four lusers of the apocalypse? I nominate: advertising, can't log in, power switch and what backup? --Alistair Young Gordon Belray Information Architect and Imaging System Manager Information Technology Services Robarts Library 416.946.8617cell: 416.427.7007 [EMAIL PROTECTED] ___ 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.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]
Re: Slogan
and the rallying cry: EO, EO, WO (as in Old MacApple had a farm). Gordon On 5-Nov-07, at 8:16 AM, David LeBer wrote: 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 'code-bearing' site: http://codeferous.com blog: http://davidleber.net profile: http://www.linkedin.com/in/davidleber -- Toronto Area Cocoa / WebObjects developers group: http://tacow.org ___ 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.apple.com/mailman/options/webobjects-dev/gordon.belray% 40utoronto.ca This email sent to [EMAIL PROTECTED] Gordon Belray Information Architect and Imaging System Manager Information Technology Services Robarts Library 416.946.8617cell: 416.427.7007 [EMAIL PROTECTED] ___ 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.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]
Re: Database choices
Hi Mike, The solo license is for single server local-access. It should work with any version of WO, not sure about 5.4 yet. http://www.openbase.com/home-News-detail.1060.html Gordon On 30-Oct-07, at 5:42 PM, Mike Schrag wrote: WebObjects OpenBase 10 includes a new plugin and WO qualifier objects, allowing you to easily perform complex sub-queries inside your WebObjects applications. Schema synchroni- zation functions allow users to easily manage WebObjects schemas. New licensing al- lows for free deployment of WebObjects applications. Is OB 10 free for any of the versions for WO deployment, or is this license only for specific versions (like the Solo version or something)? ms ___ 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.apple.com/mailman/options/webobjects-dev/gordon.belray% 40utoronto.ca This email sent to [EMAIL PROTECTED] Gordon Belray Information Architect and Imaging System Manager Information Technology Services Robarts Library 416.946.8617cell: 416.427.7007 [EMAIL PROTECTED] ___ 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.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]
Re: wocode.com: down again
Hi Pascal, you can try dropping James O an email: [EMAIL PROTECTED] Gordon On 4-Oct-07, at 3:59 PM, Pascal Robert wrote: wocode.com is not available again, it shows the default Web page of Mac OS X Server... Does anyone knows who's behind this site ? ___ 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.apple.com/mailman/options/webobjects-dev/gordon.belray% 40utoronto.ca This email sent to [EMAIL PROTECTED] Gordon Belray Information Architect and Imaging System Manager Information Technology Services Robarts Library 416.946.8617cell: 416.427.7007 [EMAIL PROTECTED] ___ 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.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]
Re: Stale data
Hi Corin, this might seem remedial, but the way I tested it when running multiple instances of an application was to fetch in the data on one instance, change the relationship on another, and then refetch it to see if the relationship was updated. In your case, you would need to change it on the non-WO app. You may also want to look into some change notification frameworks such as Wonder's ERChangeNotificationJMS. Quite a lot has been written on the topic of fresh data, take a look at this: http://wiki.objectstyle.org/confluence/display/WO/EOF-Using+EOF- Caching+and+Freshness Gordon On 28-Sep-07, at 5:14 AM, Corin Lawson wrote: Thanks Gordon, I'll be sure to try it, but how do I test? Cheers, Corin. On 27/09/2007, at 11:24 PM, Gordon Belray wrote: Hi Corin, this has worked for me in the past: EOFetchSpecification fs = new EOFetchSpecification(SomeObject, null, null); fs.setRefreshesRefetchedObjects(true); String [] keypaths = {toRelationship}; fs.setPreftechingRelationhsipKeyPaths(new NSArray(keypaths)); cheers, Gordon On 27-Sep-07, at 1:12 AM, Corin Lawson wrote: Hi List, I have been experiencing the following problem for some time now and have not been able to establish a pattern or replicate the problem, let alone solve it, please help. The symptom is that a certain process fails because the WO (5.2.4) app is using stale or cached data, where the data has been changed in the database (mysql 5) by a separate (non-WO) system. The stale data has been known to persist for over an hour. The data in question is contained in an entity that is a to- many relationship of another entity which is being fetched. From inspecting the standard output with DEOAdaptorDebugEnabled=true I see that in the majority of cases the entity in question and all it's related entities are being fetched each time that the process is executed. But in other cases (which are indistinguishable from the other cases AFAIK) only the entity is fetched and none of it's related entities. In all my test cases it works as I expect it to work. It is extremely frustrating that I cannot replicate the problem. What debugging info can I turn on to distinguish the problem case from ok case? I have tried various approaches to fix the problem, even regularly calling invalidateAllObjects() on the EOEditingContext but to no avail. Cheers, Corin. ___ 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.apple.com/mailman/options/webobjects-dev/ gordon.belray%40utoronto.ca This email sent to [EMAIL PROTECTED] Gordon Belray Information Architect and Imaging System Manager Information Technology Services Robarts Library 416.946.8617cell: 416.427.7007 [EMAIL PROTECTED] Gordon Belray Information Architect and Imaging System Manager Information Technology Services Robarts Library 416.946.8617cell: 416.427.7007 [EMAIL PROTECTED] ___ 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.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]
Re: Stale data
Hi Corin, this has worked for me in the past: EOFetchSpecification fs = new EOFetchSpecification(SomeObject, null, null); fs.setRefreshesRefetchedObjects(true); String [] keypaths = {toRelationship}; fs.setPreftechingRelationhsipKeyPaths(new NSArray(keypaths)); cheers, Gordon On 27-Sep-07, at 1:12 AM, Corin Lawson wrote: Hi List, I have been experiencing the following problem for some time now and have not been able to establish a pattern or replicate the problem, let alone solve it, please help. The symptom is that a certain process fails because the WO (5.2.4) app is using stale or cached data, where the data has been changed in the database (mysql 5) by a separate (non-WO) system. The stale data has been known to persist for over an hour. The data in question is contained in an entity that is a to-many relationship of another entity which is being fetched. From inspecting the standard output with DEOAdaptorDebugEnabled=true I see that in the majority of cases the entity in question and all it's related entities are being fetched each time that the process is executed. But in other cases (which are indistinguishable from the other cases AFAIK) only the entity is fetched and none of it's related entities. In all my test cases it works as I expect it to work. It is extremely frustrating that I cannot replicate the problem. What debugging info can I turn on to distinguish the problem case from ok case? I have tried various approaches to fix the problem, even regularly calling invalidateAllObjects() on the EOEditingContext but to no avail. Cheers, Corin. ___ 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.apple.com/mailman/options/webobjects-dev/gordon.belray% 40utoronto.ca This email sent to [EMAIL PROTECTED] Gordon Belray Information Architect and Imaging System Manager Information Technology Services Robarts Library 416.946.8617cell: 416.427.7007 [EMAIL PROTECTED] ___ 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.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]
future of wocode.com
Hi, does anyone know if there are plans for wocode.com beyond its current moribund state? I see mention of it on the Announced Initiatives on the wiki but it would be good if it was available again. cheers, Gordon Gordon Belray Information Architect and Imaging System Manager Information Technology Services Robarts Library 416.946.8617cell: 416.427.7007 [EMAIL PROTECTED] ___ 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.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]
Re: future of wocode.com
Hi Simon, I've written to James O'Loughlin but haven't heard anything back yet. Perhaps you can contact him as well with the offer. thanks, Gordon On 11-Jul-07, at 10:14 AM, Simon McLean wrote: My vote would be for it's content to be transferred into the wiki. How about a sample code section on the wiki ? (the wiki being the object style hosted one) I'll volunteer some man hours to shift the content across - we would need the wocode administrator to get the site running again to do that :-) or a copy of the DB. Simon On 11 Jul 2007, at 14:40, Gordon Belray wrote: Hi, does anyone know if there are plans for wocode.com beyond its current moribund state? I see mention of it on the Announced Initiatives on the wiki but it would be good if it was available again. cheers, Gordon Gordon Belray Information Architect and Imaging System Manager Information Technology Services Robarts Library 416.946.8617cell: 416.427.7007 [EMAIL PROTECTED] ___ 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.apple.com/mailman/options/webobjects-dev/simon_mclean% 40mac.com This email sent to [EMAIL PROTECTED] Gordon Belray Information Architect and Imaging System Manager Information Technology Services Robarts Library 416.946.8617cell: 416.427.7007 [EMAIL PROTECTED] ___ 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.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]
webserver resources slow with error 501
Hi,for the last month or so, some images from our webserver have been hanging. In the Apache access log there's quite a few - - - [07/Jul/2006:11:58:00 -0400] "" 501 - with the error "Invalid method in request" sometimes 10 per second. I know this is vague but does anyone have any insight as to what could be the cause?thanks,Gordon Gordon Belray Information Architect Information Technology Services University of Toronto 416.946.8617 Robarts 416.946.8151 1 Spadina 416.427.7007 cell ___ 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.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to archive@mail-archive.com
JNDI and EOModeler
Hi,We're struggling with JNDI, in using the JNDI adaptor in EOModeler, we're finding it extremely slow returning data from an LDAP directory. Using Perl, it is very fast. Has anyone experienced this and knows of a solution, or should we try and establish a connection directly through our application.thanks,GordonGordon BelrayInformation ArchitectInformation Technology ServicesUniversity of Toronto416.946.8617 Robarts 416.946.8151 1 Spadina416.427.7007 cell ___ 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.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to archive@mail-archive.com