Display-Data Consistency in session

2005-11-18 Thread Randy Becker
I'm coming up against some issues with modifying my database - whenever I modify an object, the change is reflected in the database, but is not displayed correctly until the current session is ended and a new one created. Am I doing something wrong when I change the DB? I'm doing something

Re: Cannot Resolve Symbol Error/WO 5.3.1

2005-11-18 Thread Jonathan Miller
Lachlan -- Thanks so much for those instructions but I'm still getting those errors. Does anyone else have any ideas? Thanks in advance! Jon ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjec

Re: Access to running WO app via network

2005-11-18 Thread Lachlan Deck
Hi there, On 18/11/2005, at 11:46 PM, David Teran wrote: WOHost can be quite confusing. You should only use it if you have problems or really want that the apply only 'listens' on that address. Am 18.11.2005 um 13:41 schrieb Hans-Martin Mensch: You are absolutely right, thanks for the tip.

Re: WODirectConnect

2005-11-18 Thread Lachlan Deck
Hi there, On 18/11/2005, at 11:03 AM, Justin Barry wrote: Dear List, I am running Xcode 2.2 and WO 5.3.1, I have read pieces about how to work with WODirectConnectEnabled being set to false. but I haven't got it to work. I have started WOTaskd and javamonitor, etc. So my question is w

Re: MultiECLockManager

2005-11-18 Thread Marcos Trejo Munguia
Ok, I understand that, but I could use for example, in one component a MECLM's registered editing context, in another a ERXEC, in another a editing context with manul locking, etc.? On Nov 18, 2005, at 1:29 PM, David LeBer wrote: On 18-Nov-05, at 2:18 PM, Marcos Trejo Munguia wrote: Hi Chu

Re: CORRECTION: Re: More newbie questions

2005-11-18 Thread Lachlan Deck
Hi there, On 18/11/2005, at 5:48 PM, Randy Becker wrote: I'm using a WORepetition currently. It displays objects I want it to, Good. Actually this kind of stuff comes up in the Apple tutorials (I think) - so have you been through the "Web Applications" tutorial from the following? http:/

Re: SharedEditingContext Write Locks?

2005-11-18 Thread David Teran
Hi Ben, thanks, this was very helpful. I now have a better understanding about this sec stuff and if i find time i will make some tests. Regards, David Am 18.11.2005 um 20:11 schrieb Ben Trumbull: At 11:38 PM +0100 11/17/05, David Teran wrote: Now my question: if i am not really aware that

Re: SharedEditingContext Write Locks?

2005-11-18 Thread Ben Trumbull
At 9:35 PM -0500 11/17/05, Dov Rosenberg wrote: Can anyone think of a reasonable strategy? You can eliminate livelock by have the reader threads cooperate with the updating process. What I've seen work is that the SEC is updated on a schedule, every X minutes. The threads check if an updat

Re: MultiECLockManager

2005-11-18 Thread David LeBer
On 18-Nov-05, at 2:18 PM, Marcos Trejo Munguia wrote: Hi Chuck. I was wondering if I have to use the MultiECLockManager in all my application or I can be selective?, I don't know if being selective can cause me problems (more deadlocks). You don't *have* to do anything :-) MECLM is an im

Re: SharedEditingContext Write Locks?

2005-11-18 Thread Ben Trumbull
At 3:33 PM +1100 11/18/05, Lachlan Deck wrote: Could you perhaps create a subclass of EOSharedEditingContext, setting it as the default SEC, and - implement a readers-writer locking process that will queue readers if a writer is in the queue so that writer(s) don't get starved. - i.e., when the

Re: Simple Newbie Question

2005-11-18 Thread David LeBer
On 18-Nov-05, at 2:12 PM, [EMAIL PROTECTED] wrote: I have an EOModel with 2 tables in it: USERS and PHONE_CONTACTS (with a mandatory one-to-many relationship between a user and phone_contacts). I've tested with a D2W app and all works fine. Now I want to create my own app from scratch. I

MultiECLockManager

2005-11-18 Thread Marcos Trejo Munguia
Hi Chuck. I was wondering if I have to use the MultiECLockManager in all my application or I can be selective?, I don't know if being selective can cause me problems (more deadlocks). Thank you for your help. ___ Do not post admin requests to the l

Re: SharedEditingContext Write Locks?

2005-11-18 Thread Ben Trumbull
At 11:38 PM +0100 11/17/05, David Teran wrote: Now my question: if i am not really aware that i am changing such a shared eo, because a 'set' method in another (non shared) eo changes something in such a 'shared' eo, then i would normally -not- do this kind of locking because i simply do not kn

Simple Newbie Question

2005-11-18 Thread umac_nospam_1
I have an EOModel with 2 tables in it: USERS and PHONE_CONTACTS (with a mandatory one-to-many relationship between a user and phone_contacts). I've tested with a D2W app and all works fine. Now I want to create my own app from scratch. I'm stuck on making a page to create a new user. I

Re: WODirectConnect

2005-11-18 Thread David Holt
Did you turn on Personal Web Sharing (assuming the client version)? That is what enables Apache. David -- I don't want you to follow me or anyone else. I would not lead you to the promised land if I could, because if I could lead you in, somebody else would lead you out. –Eugene V. Debs from S

Re: Xcode 2.2 Error reporting

2005-11-18 Thread Cliff Tuel
> if I can ask something, even if it isn't the "usual" way, at least > you're saying Xcode engineering team is responding on the Xcode > mailing list, so what about the WebObject team? can't they answer on > this mailing list too? They do! You're just not recognizing the names, and they don't alw

Re: Localized Date Formatting

2005-11-18 Thread Francis Labrie
Hi, Le 18 nov. 2005, à 04:22, Johan Henselmans a écrit : I am trying to get localized date formatting to work. My first Idea was to use the browser accept-language to format the data, but I am already stuck before that: How do I get the localized data format? I tried this one, which shoul

Re: Xcode 2.2 Error reporting

2005-11-18 Thread Dev WO
Hi Cliff, if I can ask something, even if it isn't the "usual" way, at least you're saying Xcode engineering team is responding on the Xcode mailing list, so what about the WebObject team? can't they answer on this mailing list too? since WWDC05 it has been a pain to work with the latest dev

Re: SharedEditingContext Write Locks?

2005-11-18 Thread Dov Rosenberg
> >> It seems that calling objectsForFetchSpecification() to either >> fetch data >> into the shared editing context or to refresh it too often is a bad >> thing. >> When multiple threads are trying to do the same operation - the EOF >> deadlock >> occurs. > > deadlock or writer starvation? i.e.

Re: Access to running WO app via network

2005-11-18 Thread David Teran
WOHost can be quite confusing. You should only use it if you have problems or really want that the apply only 'listens' on that address. just my 2ct. david Am 18.11.2005 um 13:41 schrieb Hans-Martin Mensch: You are absolutely right, thanks for the tip. But I had still another problem whic

Localized Date Formatting

2005-11-18 Thread Johan Henselmans
I am trying to get localized date formatting to work. My first Idea was to use the browser accept-language to format the data, but I am already stuck before that: How do I get the localized data format? I tried this one, which should work according to the Class definition NSTimestampForm

Re: Access to running WO app via network

2005-11-18 Thread David Teran
For testing purposes I need to access my running WO application (in development mode, started from Xcode) from another machine (Windows PC) inside our LAN. But I can't use the URL I have on my local browser (which is something like "http://localhost:54342/cgi-bin/ WebObjects/SkillPortal.woa"

Access to running WO app via network

2005-11-18 Thread hans-martin . mensch
Hi to all! For testing purposes I need to access my running WO application (in development mode, started from Xcode) from another machine (Windows PC) inside our LAN. But I can't use the URL I have on my local browser (which is something like "http://localhost:54342/cgi-bin/ WebObjects/Ski