Re: Newbie D2JC Context-Sensitive Dropdowns

2005-12-05 Thread David Avendasora
Dave, Based on the lack of responses from the list, I doubt there is a ready-made way of doing this which seems odd as this seems to be something that any decent-sized D2JC project would need. I'm also going to submit it to a couple other WO lists and directly to a couple of the more know

Re: Multiple many-to-many with single-table inheritance

2005-12-05 Thread David Avendasora
Drew, I can see why you want to do this, but you should at least consider making this a many-to-many relationship as well. While using this powers-of-two system will allow you to easily embed many Types with a single to-one relationship, you will need code that can recognize any possible

Re: [Newbie] Lincensing of WO apps

2005-12-05 Thread L. Caballero
Hi All, No news in this question? Thanks. L. Caballero El 29/11/2005, a las 1:01, Marc Oesch escribió: Hello Miguel, Single Servlet Deployment, which should basically work fine on many platforms. Others have reported the same issue with 5.3.1 due to the license key problem, eg. here on

Re: Where to set display group bindings i java-file

2005-12-05 Thread Micky Holdorf
Hi everyone, I found the solution! To use WODisplayGroup and a fetch specification configured in the database I now use this code: quoteDisplayGroup.queryBindings().takeValueForKey(topic,"topic"); quoteDisplayGroup.fetch(); I had accidently switched value and key around in th

Re: How to manage long running tasks

2005-12-05 Thread Kieran Kelleher
You can just spin off a regular old java thread and it can have a life of its own. Just make a runnable class for the task and initialize a class instance with its own manual lock/unlock editing context and set in it its own local instances of whatever EO's it needs and let it off. You can

MEETING: Chicago - CAWUG December 6th

2005-12-05 Thread Bob Frank
Hi All, Sorry for the late notice. Its taken a few days longer than I thought to square away the dates & times with the Apple Store. We will be meeting TOMORROW ***NOT*** the 13th. Also, due to MacWorld, we will not be moving the January meeting either (i.e. Tuesday Jan. 3rd). Starting i

Tomcat Installer Update

2005-12-05 Thread Jeremy Matthews
Sorry for the cross-post...but I get nailed on both.What's new?version 5.5.12 - 1.4- Added Apache Commons DBCP jars- Added Lucerne jar- Added alternate ANT install method (for standalone development use)- Added standalone ANT_HOME declaration for standalone installs- Added additional ANT subfolders

Re: Locking/Unlocking-Problem with EditingContext

2005-12-05 Thread Helge Staedtler
ah, yep. wocode again. http://wocode.com/cgi-bin/WebObjects/WOCode.woa/wa/ShareCodeItem?itemId=301 thank you for that hint. I think this might be some side-effect of a direct action, where I lately created an EC manually. I will try the MultiECLockManager out, seems to solve the issue. thanks, H

Re: [OT] File Encoding question again

2005-12-05 Thread Ondra Cada
Hi, On 5.12.2005, at 20:23, Chuck Hill wrote: Is there a test I can run on the string (or the file) which gives back the current encoding? I could not find it in Javadoc. I can change the encoding but I need to know which encoding the file came with, as far as I understand it. Is there a

Re: [OT] File Encoding question again

2005-12-05 Thread Chuck Hill
On Dec 4, 2005, at 10:22 AM, Ute Hoffmann wrote: Hallo, sorry, this is more a Java than a WebObjects Question... Suppose a user loads up a file with data (cvs) which will be read in by WebObjects and then parsed and sent to the database... How can I find out which the encoding of the file

Re: Locking/Unlocking-Problem with EditingContext

2005-12-05 Thread Chuck Hill
I have seen that before, but not since I started to use the MultiECLockManager. I will guess that some exception is raised which caused the session to terminate without unlocking and (the default?) editing context. When it gets finalized, this result. The solution is to ensure that all e

Re: Stale data in EC

2005-12-05 Thread Robert Walker
This direct action is running on an application that has around 20instances running. So some how one of the other instances is insertinga new keyword and the other instances continue to report it as notbeing there.You could have a race condition where two instances check the database for the same k

Locking/Unlocking-Problem with EditingContext

2005-12-05 Thread Helge Staedtler
Hi all Debugging Experts on EditingContexts, I have some weird locking-problem which on an irregular basis leads to following exception: ERROR #1: [2005-12-05 10:14:18 CET] Unable to release locks held by a deallocated EOEditingContext. [2005-12-05 10:14:18 CET] java.lang.IllegalStateException:

Re: How to manage long running tasks

2005-12-05 Thread Stefan Pantke
Am 05.12.2005 um 12:25 schrieb Helge Staedtler: I think I have put together what you might need a time ago. have a look at www.wocode.com there you will find code and tutorial explaining LongResponses by example. http://wocode.com/cgi-bin/WebObjects/WOCode.woa/wa/ShareCodeItem? itemId=291

Re: How to manage long running tasks

2005-12-05 Thread Helge Staedtler
Hi Stefan, I think I have put together what you might need a time ago. have a look at www.wocode.com there you will find code and tutorial explaining LongResponses by example. http://wocode.com/cgi-bin/WebObjects/WOCode.woa/wa/ShareCodeItem?itemId=291 This way your Session-timeout does not matte