Re: Unable to release locks when using MultiECLockManager

2008-04-29 Thread Owen McKerrow
On 30/04/2008, at 3:09 PM, Chuck Hill wrote: On Apr 29, 2008, at 8:08 PM, Art Isbell wrote: On Apr 29, 2008, at 4:47 PM, Owen McKerrow wrote: I remember discussing MultiECLockManager on list last year with chuck Hill ( http://lists.apple.com/archives/Webobjects-dev/2007/ Apr/msg00609.html

Re: Question about missing close tag

2008-04-29 Thread Q
If you aren't using WO 5.4's template parser than you can turn off Preferences -> WOLips -> Binding Validation -> WO 5.4 otherwise rewrite the tag as valid XML like this: On 30/04/2008, at 3:14 PM, Ren, Kevin wrote: Hi, I tried to play some example code from WODER and somewhere else, and

Question about missing close tag

2008-04-29 Thread Ren, Kevin
Hi, I tried to play some example code from WODER and somewhere else, and got lots of error about this missing close tag. Like this How could I turn off this checking in Eclips/WOlips? thanks Xiaowen(Kevin) Ren Analyst Programmer Channel Applications, Retail Applications ANZ National Bank L

Re: Unable to release locks when using MultiECLockManager

2008-04-29 Thread Chuck Hill
On Apr 29, 2008, at 8:08 PM, Art Isbell wrote: On Apr 29, 2008, at 4:47 PM, Owen McKerrow wrote: I remember discussing MultiECLockManager on list last year with chuck Hill ( http://lists.apple.com/archives/Webobjects-dev/2007/Apr/msg00609.html ) who pointed out that he'd tweaked MultiECLo

Re: Unable to release locks when using MultiECLockManager

2008-04-29 Thread Chuck Hill
On Apr 29, 2008, at 6:25 PM, Owen McKerrow wrote: Hi Art, Thats sounds like word for word the practices that we follow. Although I did just double check the code to make sure and I found a couple of places which had manual lock/unlock's in them which should not have. From Session.java

Mapping Advanced Oracle DataType

2008-04-29 Thread Metal Metal
Hi All, How can I map a user defined oracle datatype (eg. an array of oracle objects) in EO Modeler ? For example:- CREATE OR REPLACE TYPE phone_object AS OBJECT ( a_code CHAR(3), p_number CHAR(8)); / CREATE OR REPLACE TYPE PHONE_TABLE IS TABLE OF phone_object; / How can I map this PHONE_T

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

2008-04-29 Thread Daniel Mejia
Cuauhtemoc, You can initialize attribute overriding the awakeFromInsertion method of your enterprise objects. Something like this: public void awakeFromInsertion(EOEditingContext context) { super.awakeFromInsertion(context); if (creationDate() == null) { setCr

Re: Unable to release locks when using MultiECLockManager

2008-04-29 Thread Owen McKerrow
The were only 2 of them. One was . ec.lock(); ec.revert(); ec.unlock(); The Other was making a display group ( all be it my tweaked version of one ). getEc().lock(); rfcdDisplayGroup = new OMDisplayGroup( 10, 1, "RFCD", getEc (), null, null ); EODatabaseDataSource dataSource = (E

Re: Unable to release locks when using MultiECLockManager

2008-04-29 Thread Art Isbell
On Apr 29, 2008, at 4:47 PM, Owen McKerrow wrote: I remember discussing MultiECLockManager on list last year with chuck Hill ( http://lists.apple.com/archives/Webobjects-dev/2007/Apr/msg00609.html ) who pointed out that he'd tweaked MultiECLockManager inside his GVCWOExtensions framework.

Re: Unable to release locks when using MultiECLockManager

2008-04-29 Thread Owen McKerrow
On 30/04/2008, at 12:07 PM, Art Isbell wrote: On Apr 29, 2008, at 3:25 PM, Owen McKerrow wrote: public void sleep() { // Need to check as this gets called after terminate() when logging out synchronized (ecLockManager) { if (ecLockManager().isLocked())

Re: Unable to release locks when using MultiECLockManager

2008-04-29 Thread Art Isbell
On Apr 29, 2008, at 3:25 PM, Owen McKerrow wrote: public void sleep() { // Need to check as this gets called after terminate() when logging out synchronized (ecLockManager) { if (ecLockManager().isLocked()) { ecLockManager().unlock(

Re: Unable to release locks when using MultiECLockManager

2008-04-29 Thread Owen McKerrow
Hi Art, Thats sounds like word for word the practices that we follow. Although I did just double check the code to make sure and I found a couple of places which had manual lock/unlock's in them which should not have. From Session.java public void awake() { ecLock

Re: Unable to release locks when using MultiECLockManager

2008-04-29 Thread Art Isbell
On Apr 29, 2008, at 2:24 PM, Owen McKerrow wrote: Sorry all, I should have specified that further. Has anyone seen it whilst using MultiECLockManager ? No, but you must use MultiECLockManager correctly. Are you invoking MultiECLockManager.unlock() in Session.sleep() before any statement

Re: Unable to release locks when using MultiECLockManager

2008-04-29 Thread Owen McKerrow
Sorry all, I should have specified that further. Has anyone seen it whilst using MultiECLockManager ? Owen McKerrow WebMaster, emlab Ph : +61 02 4221 5517 http://emlab.uow.edu.au - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - "I like the way this pr

Re: SQL to EOQualifier

2008-04-29 Thread Chuck Hill
Hi Paulo, On Apr 29, 2008, at 5:02 PM, Paulo Filipe Andrade wrote: Hello, I was wondering if one can translate something like this: select message_id from message m where creator_id = 5 AND (select count(*) from message where message.reply_to_id = m.message_id) > 0; to an EOQualifier. I

Initialization in a D2W Edit Page

2008-04-29 Thread Cuauhtemoc Hohman
Hi All, Does someone know how can I initialize an attribute when creating a new object in a D2W edit page? Is there a rule I can add for that? -- Atentamente, Cuauhtemoc Hohman ___ Do not post admin requests to the list. They will be ignored. Webobject

Re: Unable to release locks when using MultiECLockManager

2008-04-29 Thread Chuck Hill
On Apr 29, 2008, at 5:13 PM, Owen McKerrow wrote: Hi All, Trawling through my log files I have found a number of instances of the following 2008,04.29 06:12:47,595 OFF [Finalizer] (Log.NSLogErr:1546 appendln) - Unable to release locks held by a deallocated EOEditingContext. 2008,04.2

Unable to release locks when using MultiECLockManager

2008-04-29 Thread Owen McKerrow
Hi All, Trawling through my log files I have found a number of instances of the following 2008,04.29 06:12:47,595 OFF [Finalizer] (Log.NSLogErr:1546 appendln) - Unable to release locks held by a deallocated EOEditingContext. 2008,04.29 06:12:47,596 DEBUG [Finalizer] (Log.NSLogDebug:1

SQL to EOQualifier

2008-04-29 Thread Paulo Filipe Andrade
Hello, I was wondering if one can translate something like this: select message_id from message m where creator_id = 5 AND (select count(*) from message where message.reply_to_id = m.message_id) > 0; to an EOQualifier. It would be wonderfull if one could write a "creator = %@ AND [EMAIL P

Re: Java 1.6

2008-04-29 Thread Les Vogel
On 2008/04/30, at 00:05, Don Lindsay wrote: > I hope that Apple does not drop Java, I use it for almost all may projects > I work on, > I doubt they will. They are too invested in in for in house projects. As for comments about Apple not supporting anything but 64-bit, I don't see a problem wit

Re: Java 1.6

2008-04-29 Thread Miguel Arroz
Hi! On 2008/04/30, at 00:05, Don Lindsay wrote: I hope that Apple does not drop Java, I use it for almost all may projects I work on, Why not? They have to find room on the schedule for those iPhone sessions at WWDC! Something has got to go. Yours Miguel Arroz Miguel Arroz http://

Re: Java 1.6

2008-04-29 Thread Don Lindsay
I noticed the developer preview was only for 64bit, but I had though that was because they were going to release 32bit and 64bit separately. i can see now that I was mistaken. :) I am not sure why so many people are saying that the Java language is dead. As long as it continues to grow a

Re: Java 1.6

2008-04-29 Thread Hugi Þórðarson
Java 1.6 for Leopard is out ... ... this is for Intel 64-bit only... I'm sure that's some sort of a misunderstanding, right? Right!!? ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@

Re: Java 1.6

2008-04-29 Thread Joe Little
On Tue, Apr 29, 2008 at 2:19 PM, Galen Rhodes <[EMAIL PROTECTED]> wrote: > On Apr 29, 2008, at 5:02 PM, Joe Little wrote: > > > > On Tue, Apr 29, 2008 at 1:50 PM, Mike Schrag <[EMAIL PROTECTED]> > wrote: > > > > > Java 1.6 for Leopard is out ... > > > > > > > > > > And for those of you at WWDC, you

Re: Java 1.6

2008-04-29 Thread Mike Schrag
I don't guess it's "certified" yet, but I don't see any reason why it would not ... ms On Apr 29, 2008, at 5:18 PM, Les Vogel wrote: Does WebObjects run on Java 6? On Tue, Apr 29, 2008 at 11:15 AM, Mike Schrag <[EMAIL PROTECTED]> wrote: Also throw out Carbon SWT, because there's no 64-bit

Re: Java 1.6

2008-04-29 Thread Galen Rhodes
On Apr 29, 2008, at 5:02 PM, Joe Little wrote: On Tue, Apr 29, 2008 at 1:50 PM, Mike Schrag <[EMAIL PROTECTED]> wrote: Java 1.6 for Leopard is out ... And for those of you at WWDC, you already heard my rant on this one. The fine print is that this is for Intel 64-bit only. Throw out your fi

Re: Java 1.6

2008-04-29 Thread Les Vogel
Does WebObjects run on Java 6? On Tue, Apr 29, 2008 at 11:15 AM, Mike Schrag <[EMAIL PROTECTED]> wrote: > Also throw out Carbon SWT, because there's no 64-bit Carbon UI, so no > Eclipse on 1.6 until Cocoa SWT is finished. However, it doesn't install as > the default, yet, so nothing will break,

Re: Java 1.6

2008-04-29 Thread Mike Schrag
On Tue, Apr 29, 2008 at 1:50 PM, Mike Schrag <[EMAIL PROTECTED]> wrote: Java 1.6 for Leopard is out ... And for those of you at WWDC, you already heard my rant on this one. The fine print is that this is for Intel 64-bit only. Throw out your first gen macbooks, throw out the PPCs and G5s (you

Re: Java 1.6

2008-04-29 Thread Gavin Eadie
in case you were hunting: http://www.apple.com/support/downloads/javaformacosx105update1.html On Apr 29, 2008, at 4:50 PM, Mike Schrag wrote: Java 1.6 for Leopard is out ... ms ___ Do not post admin requests to the list. They will be ignored. We

Re: Java 1.6

2008-04-29 Thread Joe Little
On Tue, Apr 29, 2008 at 1:50 PM, Mike Schrag <[EMAIL PROTECTED]> wrote: > Java 1.6 for Leopard is out ... > And for those of you at WWDC, you already heard my rant on this one. The fine print is that this is for Intel 64-bit only. Throw out your first gen macbooks, throw out the PPCs and G5s (you

Java 1.6

2008-04-29 Thread Mike Schrag
Java 1.6 for Leopard is out ... 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/web

Re: Creating and Editing EO's

2008-04-29 Thread Cuauhtemoc Hohman
Hi All, Finally, to solve the creating/editing object issue I followed the suggestions made and used pageConfigurations. I'll post here what I did, just in case someone has to do a similar thing or has a suggestion to add. . First, as my application did not use pageConfigs, I had to change (in temp

Re: DTJC running on the iPhone

2008-04-29 Thread Don Lindsay
Hello; Have you looked at Borland JBuilder, it is what I use on OS X. Don On Mar 10, 2008, at 9:38 AM, Robert Walker wrote: I realize that I'm probably in a minority here, but I am not looking forward to Java, of any sort, coming to the iPhone. If you're interested in writing iPhone applica

Re: [SOLVED] Re: @sum optimization?

2008-04-29 Thread Florijan Stamenkovic
Yeah, and I guess that in the rare occasions when this is useful it is not hard to do it manually, so why deal with the complications of building it in... Well, live and learn :) Thanks for the input, F On Apr 29, 2008, at 02:00, Alexander Spohr wrote: The idea sounds good but then you ha

[Reminder] WOWODC 2008: one-day pass now available

2008-04-29 Thread Pascal Robert
Good morning everyone, don't forget to register for WOWODC 2008! If you register before May 5th, you get a free (and nice) CodeFab t-shirt! People who already registered will also get a t-shirt. If you were waiting for the schedule and the official sessions list, you can see it here:

Re: split deployment

2008-04-29 Thread Kieran Kelleher
Hi Anthony, Here are some links that might be useful for you to review: http://developer.apple.com/documentation/WebObjects/Deployment/Deploying_Applications/index.html http://wiki.objectstyle.org/confluence/display/WO/Programming__WebObjects-Web+Applications-Deployment-Split+Install http://wi