Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 82235 invoked from network); 7 Mar 2011 02:25:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 7 Mar 2011 02:25:21 -0000 Received: (qmail 15055 invoked by uid 500); 7 Mar 2011 02:25:20 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 15011 invoked by uid 500); 7 Mar 2011 02:25:20 -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 15002 invoked by uid 99); 7 Mar 2011 02:25:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Mar 2011 02:25:20 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Mar 2011 02:25:20 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 5F65539A371 for ; Mon, 7 Mar 2011 02:24:59 +0000 (UTC) Date: Mon, 7 Mar 2011 02:24:59 +0000 (UTC) From: "Ivan (JIRA)" To: dev@geronimo.apache.org Message-ID: <1003399101.228.1299464699375.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <4778515.36031295359185278.JavaMail.jira@thor> Subject: [jira] Commented: (GERONIMO-5761) map the bundle resolved state to configuration load status MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/GERONIMO-5761?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13003239#comment-13003239 ] Ivan commented on GERONIMO-5761: -------------------------------- Attached the two updated files, DependencyManager and ConfigurationExtender, now the appclient should work well, I could run the appname case in our testsuite. Based on ours and OSGi implementations, RESOLVED events are not delivered in our expected order, actually, from the JavaDoc, there is no guarantee for it. Also, while trying to resolve the bundle using bundle.loadClass or packageAdmin, OSGi framework will try to resolve bundles as many as possible (Guess that it is implementation depends). Sometimes, the child car bundle would be resolved before its dependent bundles, if no implicit import packages from that bunde is used. Now, I only trigger the resolved action after all the required bundles are installed, also an EventListener is added in the ConfigurationExtender. I am thinking that since the classloader arch in OSGi is not parent-child, maybe we could try to change our dependency mechanism to other ways. > map the bundle resolved state to configuration load status > ---------------------------------------------------------- > > Key: GERONIMO-5761 > URL: https://issues.apache.org/jira/browse/GERONIMO-5761 > Project: Geronimo > Issue Type: Improvement > Security Level: public(Regular issues) > Components: kernel > Affects Versions: 3.0 > Reporter: Ivan > Assignee: Ivan > Attachments: ConfigurationExtender.java, DependencyManager.java, GERONIMO-5761-02.patch, GERONIMO-5761.patch > > > http://www.mail-archive.com/dev@geronimo.apache.org/msg83998.html > Will provide a proposed patch later. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira