Return-Path: X-Original-To: apmail-felix-dev-archive@www.apache.org Delivered-To: apmail-felix-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EA6E2118EA for ; Sat, 12 Apr 2014 03:50:51 +0000 (UTC) Received: (qmail 18079 invoked by uid 500); 12 Apr 2014 03:50:50 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 18010 invoked by uid 500); 12 Apr 2014 03:50:49 -0000 Mailing-List: contact dev-help@felix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@felix.apache.org Delivered-To: mailing list dev@felix.apache.org Received: (qmail 18001 invoked by uid 99); 12 Apr 2014 03:50:49 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 12 Apr 2014 03:50:49 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW X-Spam-Check-By: apache.org Received-SPF: unknown (nike.apache.org: error in processing during lookup of bob@bobpaulin.com) Received: from [209.85.223.171] (HELO mail-ie0-f171.google.com) (209.85.223.171) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 12 Apr 2014 03:50:45 +0000 Received: by mail-ie0-f171.google.com with SMTP id ar20so6301435iec.30 for ; Fri, 11 Apr 2014 20:50:22 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=g4mMVCUQdPY4dcmu3wSAAw+3RMeBbcC0KfWTU3atHkU=; b=m0Y30p3V5o/cs92WMoeDmQ5Icbc7NH2IWV3ieo0molvCUeYnRj9cD2HExhzzIEUoSI CJk7whz9aB2MhZPFm9UWqF9RqBE3AhKS78jOETuRSBUU0LOAPRonflY7c03douKYn0dZ sGipfQdA3nEyOhiN8MyV2ubg3jQlF951QXNUCKDk9Ye5PsereUJ9xSQtZw4vnFnXI0IV EckbwdKH8jaIq/OvTOsYfr9GcJjS6YB9/+s8GoOv9/sShAj7Ui7slqG24Df+UqUUmj1h rEXN76x4VtUkdMWElUQb2LjCinuLvROrmCt/13vii+6CGSinD+98T1nywFZw9qgjwcrJ 1J7A== X-Gm-Message-State: ALoCoQkd/Xtdc7iRDUJKmVWvwlHebSkJOAB5lSfpvQNziKFmgCmFNWsY6+aV8nMTCyWg/sjlFOqv X-Received: by 10.42.16.199 with SMTP id q7mr21451657ica.16.1397274622091; Fri, 11 Apr 2014 20:50:22 -0700 (PDT) Received: from [192.168.1.7] (c-71-194-172-98.hsd1.il.comcast.net. [71.194.172.98]) by mx.google.com with ESMTPSA id jy4sm10645982igb.17.2014.04.11.20.50.21 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 11 Apr 2014 20:50:21 -0700 (PDT) Message-ID: <5348B7FC.6070607@bobpaulin.com> Date: Fri, 11 Apr 2014 22:50:20 -0500 From: Bob Paulin User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: dev@felix.apache.org Subject: Re: Wicket and Felix Jetty osgi-bundlecontext Servlet Context References: <5347550A.1030203@bobpaulin.com> <5348150E.9060509@luminis.eu> In-Reply-To: <5348150E.9060509@luminis.eu> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Jan, I've created https://issues.apache.org/jira/browse/FELIX-4483. I've attached a patch and an Integration Test. Thanks for your quick response! - Bob Paulin On 4/11/2014 11:15 AM, Jan Willem Janssen wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi Bob, > > On 10/04/14 20:35, Bob Paulin wrote: >> I wanted to know if there's a reason we could not execute it in >> the following order: >> >> 1) Get Bundle *2) Set osgi-bundlecontext Servlet Context* 3) Start >> WebAppBundleContext 4) Create Service Properties 5) Register >> Service > This seems to me as a more logical choice. > >> Is there a reason the bundle context could not be available >> earlier? Happy to submit a patch and JIRA but I wanted to see if >> the list had any insights into the significance of the original >> ordering. > I could not find anything in the WAB specification that prevents us > from publishing the bundle context before starting the > WebAppBundleContext. If you've a patch for this, I'd be more than > willing to apply it... > > - -- > Met vriendelijke groeten | Kind regards > > Jan Willem Janssen | Software Architect > +31 631 765 814 > > /My world is revolving around PulseOn and Amdatu/ > > Luminis Technologies B.V. > J.C. Wilslaan 29 > 7313 HK Apeldoorn > +31 88 586 46 30 > > http://www.luminis-technologies.com > http://www.luminis.eu > > KvK (CoC) 09 16 28 93 > BTW (VAT) NL8169.78.566.B.01 > -----BEGIN PGP SIGNATURE----- > Version: GnuPG/MacGPG2 v2.0.17 (Darwin) > Comment: GPGTools - http://gpgtools.org > Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ > > iQIcBAEBAgAGBQJTSBUOAAoJEKF/mP2eHDc4iRkP/RTQwasB+w2/28oijJzZWE2o > +Qb6K9AFryM4wbo+owLDDbbx6LAPzHDFVbw5PoA7e2vvYvVE+gLLYftsDZh1h00p > oGe/XnkVThjaOWjyCjIV5qMqfFJYvXoKcn7cx6O6BYQ6aLNQm00gE3DevhTc4r/R > erjg1b952QppsRW8+0BQolKmLxJqBCR3ykfK8+6s8NkxBeHVu0nqYKsDUfpwOZVy > iI7ZhYKZ83gJUmthSuZGsL1uGtTUpx5K72foJ+kvd1PZtf+qBs/TcAvK7YYUH1G0 > WZYPvgTp6ppBhi9E9xossXqOYkfbQEkJZtGdOi5qRDSDbmBnUSU4Ewga8QbVYUYP > mqB8eKwbTPJlRl0WvTkcgu1tj/iA6i6vk57/dX9zsHnj8D9QPlniNAOIzqVAxr4O > hKAwCXxEZL1FFPZPkSzbydejSKH7rHZJ176yvc2k4ufyvvs2Sn0mcnEoLRxHx2lW > hoPmqON2sh8bkxGkWKFzedemdpp80OeMzteWs8hCk3zu3PdZTE9km9euQCdpag5t > qOpcivfN5sKUegyzXYhKxj5s1zCNFvTU2pJQhnnYNsTArpBP/RPPSfuFbwRqFE36 > oyhvId5ztUHOY75Og5xIeNznBwV7xhzFMsBF4fS6xjVOPjrQUGSoGThr9Qb2GTKs > fbeaFwROBIwe/gtAAqGy > =NXDD > -----END PGP SIGNATURE----- >