Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 77154 invoked from network); 26 May 2006 16:27:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 26 May 2006 16:27:46 -0000 Received: (qmail 85125 invoked by uid 500); 26 May 2006 16:27:45 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 84464 invoked by uid 500); 26 May 2006 16:27:43 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 84453 invoked by uid 99); 26 May 2006 16:27:43 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 May 2006 09:27:43 -0700 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_WHOIS,RCVD_IN_SORBS_WEB X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [206.190.49.131] (HELO web54401.mail.yahoo.com) (206.190.49.131) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 26 May 2006 09:27:42 -0700 Received: (qmail 15423 invoked by uid 60001); 26 May 2006 16:27:21 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=jBeVCyRkHwIPvavz/17+xjUJf1MC1QlzSxEmcO2kTe43dpL1jhyvEwFxV9YjPve6hs5mpfP0P9hHyVpfrjUChcMiOHQwvCha7vEYlbXrB5rvHSbpniM0lhHgB/0rLjxPndB66ifvF5o6cPkD8oKJTNUm5B8970V+PqPUrwz8Xsc= ; Message-ID: <20060526162721.15421.qmail@web54401.mail.yahoo.com> Received: from [208.54.95.129] by web54401.mail.yahoo.com via HTTP; Fri, 26 May 2006 09:27:21 PDT Date: Fri, 26 May 2006 09:27:21 -0700 (PDT) From: David Jencks Subject: Re: Move blocker GERONIMO-1960 to 1.1.1? To: dev@geronimo.apache.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I think I've lost the thread and level-of-reply info due to having to use the web interface for mail, sorry.... copying the message I'm replying to... --original message thread... On May 24, 2006, at 12:47 PM, Dain Sundstrom wrote: On May 23, 2006, at 11:26 PM, David Jencks wrote: On May 23, 2006, at 11:04 PM, David Jencks wrote: +1 on excluding this from 1.1. I agree it's not a blocker. I think client-corba needs a dependency on client-security, I thought it was there. I'll try to investigate on the plane tomorrow. I expected you to fix this by modifying the ServiceConfigBuilder to check that the gbean reference was satisfied in the ancestor set when it is reading the xml. This is what the other builders do for e.g. resource-refs, and I think it would be simple and non-invasive. However, in any case I don't think this is a blocker.... the worst that can happen is that you get an error later rather than sooner, you get essentially the same effect either way. Umm, re this comment, I should think before writing :-) A moment's further thought reminded me that the reason we can check e.g. resource-refs when we process them is that we have a multistep process in the j2ee module builders and when we resolve the references we already know all the gbeans. This is not the case for service modules so the verify method you added or some other way of introducing 2 steps would be necessary. Bingo! It took me a few tries to get this patch right. My first attempt worked just as you suggested above (verify as reading the xml), and I ran into the problem where beans were referring to stuff further down in the file. My second attempt was to modify the ServiceConfigBuilder to verify after all beans had been added, but I ran into the problem where beans were referring to stuff in modules that hadn't been processed yet. My final attempt was to put the verify method in DeploymentContext and set it to verify when we call getConfigurationData(). Since this method is only called when the deployment is complete, all gbeans should be available. The patch does appear to work, but complexity of writing it made me nervous about putting it into 1.1. -----my reply Ok... so I spent most of my plane ride to Florida working on getting MagicGBall working again. The plans your verifier flagged were indeed very faulty. This makes me somewhat positive towards including this in 1.1. Anyone else think including it is reasonable? thanks david jencks -dain