From karawilliams@example.com Mon Nov 01 19:25:56 2010 Return-Path: <karawilliams@example.com> Delivered-To: karawilliams@example.com Received: (qmail 46010 invoked from network); 1 Nov 2010 19:25:55 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 1 Nov 2010 19:25:55 -0000 Received: (qmail 44774 invoked by uid 500); 1 Nov 2010 19:26:26 -0000 Delivered-To: karawilliams@example.com Received: (qmail 44752 invoked by uid 500); 1 Nov 2010 19:26:25 -0000 Mailing-List: contact karawilliams@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:karawilliams@example.com> List-Unsubscribe: <mailto:karawilliams@example.com> List-Post: <mailto:karawilliams@example.com> List-Id: <user.karaf.apache.org> Reply-To: karawilliams@example.com Delivered-To: mailing list karawilliams@example.com Received: (qmail 44744 invoked by uid 99); 1 Nov 2010 19:26:25 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Nov 2010 19:26:25 +0000 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=FREEMAIL_FROM,SPF_HELO_PASS,SPF_NEUTRAL,T_TO_NO_BRKTS_FREEMAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: 83.161.120.155 is neither permitted nor denied by domain of karawilliams@example.com) Received: from [83.161.120.155] (HELO kuber.nabble.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Nov 2010 19:26:20 +0000 Received: from ben.nabble.com ([83.161.120.155]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from <karawilliams@example.com>) id 1PD011-0004eb-UP for karawilliams@example.com; Mon, 01 Nov 2010 12:25:59 -0700 Date: Mon, 1 Nov 2010 12:25:59 -0700 (PDT) From: Mike Van <karawilliams@example.com> To: karawilliams@example.com Message-ID: <karawilliams@example.com> Subject: Overriding a 3rd party bundle's Bunde-ExecutionEnvironment setting MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit All, I'm attempting to use a 3rd party bundle, org.apache.commons.lang v=2.3.0. This bundle has the "Bundle-ExecutionEnvironment" set to JRE 1.1, and Karaf will not deploy it. So, my question is, how do I override that setting? A number of great folks on the IRC channel have suggested using a different version, and I'll look into that, but until then, I'd like to get this version working. v/r, Mike van -- View this message in context: http://karaf.922171.n3.nabble.com/Overriding-a-3rd-party-bundle-s-Bunde-ExecutionEnvironment-setting-tp1823817p1823817.html Sent from the Karaf - User mailing list karawilliams@example.com. From karawilliams@example.com Mon Nov 01 20:21:21 2010 Return-Path: <karawilliams@example.com> Delivered-To: karawilliams@example.com Received: (qmail 91379 invoked from network); 1 Nov 2010 20:21:20 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 1 Nov 2010 20:21:20 -0000 Received: (qmail 39159 invoked by uid 500); 1 Nov 2010 20:21:52 -0000 Delivered-To: karawilliams@example.com Received: (qmail 39087 invoked by uid 500); 1 Nov 2010 20:21:51 -0000 Mailing-List: contact karawilliams@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:karawilliams@example.com> List-Unsubscribe: <mailto:karawilliams@example.com> List-Post: <mailto:karawilliams@example.com> List-Id: <user.karaf.apache.org> Reply-To: karawilliams@example.com Delivered-To: mailing list karawilliams@example.com Received: (qmail 39079 invoked by uid 99); 1 Nov 2010 20:21:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Nov 2010 20:21:51 +0000 X-ASF-Spam-Status: No, hits=-1.6 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO relay2-v.mail.gandi.net) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Nov 2010 20:21:43 +0000 X-Originating-IP: 83.161.120.155 Received: from mfilter4-d.gandi.net (mfilter4-d.gandi.net [83.161.120.155]) by relay2-v.mail.gandi.net (Postfix) with ESMTP id B1008135E4 for <karawilliams@example.com>; Mon, 1 Nov 2010 21:21:20 +0100 (CET) X-Virus-Scanned: Debian karawilliams@example.com Received: from relay2-v.mail.gandi.net ([83.161.120.155]) by mfilter4-d.gandi.net (mfilter4-d.gandi.net [83.161.120.155]) (amavisd-new, port 10024) with ESMTP id vsCmd-d7Ae+p for <karawilliams@example.com>; Mon, 1 Nov 2010 21:21:18 +0100 (CET) X-Originating-IP: 83.161.120.155 Received: from [83.161.120.155] (bre91-1-82-238-224-4.fbx.proxad.net [83.161.120.155]) (Authenticated sender: karawilliams@example.com) by relay2-v.mail.gandi.net (Postfix) with ESMTPA id E160D135BD for <karawilliams@example.com>; Mon, 1 Nov 2010 21:21:17 +0100 (CET) Message-ID: <karawilliams@example.com> Date: Mon, 01 Nov 2010 21:21:17 +0100 From: =?ISO-8859-1?Q?Jean-Baptiste_Onofr=E9?= <karawilliams@example.com> Reply-To: karawilliams@example.com User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:83.161.120.155) Gecko/20100913 Icedove/3.0.7 MIME-Version: 1.0 To: karawilliams@example.com Subject: Re: Overriding a 3rd party bundle's Bunde-ExecutionEnvironment setting References: <karawilliams@example.com> In-Reply-To: <karawilliams@example.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi Mike, as said on IRC, could you make a try using the commons-lang SMX bundle ? Thanks Regards JB On 11/01/2010 08:25 PM, Mike Van wrote: > > All, > > > > I'm attempting to use a 3rd party bundle, org.apache.commons.lang v=2.3.0. > This bundle has the "Bundle-ExecutionEnvironment" set to JRE 1.1, and Karaf > will not deploy it. So, my question is, how do I override that setting? > > > > A number of great folks on the IRC channel have suggested using a different > version, and I'll look into that, but until then, I'd like to get this > version working. > > > > v/r, > > > > Mike van > > From karawilliams@example.com Fri Nov 05 09:17:02 2010 Return-Path: <karawilliams@example.com> Delivered-To: karawilliams@example.com Received: (qmail 5407 invoked from network); 5 Nov 2010 09:17:02 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 5 Nov 2010 09:17:02 -0000 Received: (qmail 17368 invoked by uid 500); 5 Nov 2010 09:17:33 -0000 Delivered-To: karawilliams@example.com Received: (qmail 17294 invoked by uid 500); 5 Nov 2010 09:17:32 -0000 Mailing-List: contact karawilliams@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:karawilliams@example.com> List-Unsubscribe: <mailto:karawilliams@example.com> List-Post: <mailto:karawilliams@example.com> List-Id: <user.karaf.apache.org> Reply-To: karawilliams@example.com Delivered-To: mailing list karawilliams@example.com Received: (qmail 17286 invoked by uid 99); 5 Nov 2010 09:17:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Nov 2010 09:17:32 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO h1795998.stratoserver.net) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Nov 2010 09:17:25 +0000 Received: from h1795998.stratoserver.net (unknown [83.161.120.155]) by h1795998.stratoserver.net (Postfix) with ESMTP id CCD976BC20F for <karawilliams@example.com>; Fri, 5 Nov 2010 09:17:03 +0000 (UTC) Received: from mbagies.local (unknown [83.161.120.155]) by h1795998.stratoserver.net (Postfix) with ESMTPA for <karawilliams@example.com>; Fri, 5 Nov 2010 09:17:03 +0000 (UTC) Message-ID: <karawilliams@example.com> Date: Fri, 05 Nov 2010 10:17:03 +0100 From: Andreas Gies <karawilliams@example.com> User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; de; rv:83.161.120.155) Gecko/20101027 Thunderbird/3.1.6 MIME-Version: 1.0 To: karawilliams@example.com Subject: Features in Karaf / Pax Exam Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Hello, I am sorry if am hitting the wrong list with my question, but it seemed a good starting point for me ... We have started the development of a karaf based application and wnat to exploit the features support for packaging. In my features I have the following: <features> <feature name="YConX888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4Whiteboard" version="${project.version}"> <!-- This line works for deploying into karaf, but not in conjunction with pax - exam --> <!--feature version="${project.version}">YConX888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4quinox</feature--> <!-- TODO: avoid repetition of the derby version --> <bundle>mvn:org.apache.derby/derby/83.161.120.155</bundle> <bundle>mvn:${project.groupId}/${project.groupId}.core/${project.version}</bundle> <!--bundle>mvn:${project.groupId}/${project.groupId}.database/${project.version}</bundle> <bundle>mvn:${project.groupId}/${project.groupId}.dataproviderservice/${project.version}</bundle> <bundle>mvn:${project.groupId}/${project.groupId}.gui/${project.version}</bundle> <bundle>mvn:${project.groupId}/${project.groupId}.logger/${project.version}</bundle--> </feature> </features> For my integration test the first thing i want to test is that the packaging works ok and have copied/modified the FeaturesTest found in karaf itself. In my configuration I have: @Configuration public static Option[] configuration() throws Exception { return OptionUtils.combine( Helper.getDefaultOptions( systemProperty("org.ops4j.pax.logging.DefaultServiceLog.level").value("DEBUG") ), PaxRunnerOptions.scanFeatures( maven().groupId("de.yconx.osgi").artifactId("features").type("xml").classifier("features").version("0.0.1-SNAPSHOT"), "YConX888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4quinox/0.0.1-SNAPSHOT" ), PaxRunnerOptions.scanFeatures( maven().groupId("de.yconx.whiteboard").artifactId("features").type("xml").classifier("features").version("0.0.1-SNAPSHOT"), "YConX888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4Whiteboard/0.0.1-SNAPSHOT" ), waitForFrameworkStartup(), equinox() ); } The test succeeds if I omit the feature reference in my feature definition, but fails if i include it. The basic idea was, that the feature is my unit of deployment into the karaf container and that features kind of build on top of each other. So, the question is: Am I doing something out of the ordinary ? Am I hitting a pax-exam limitation that is already known? (happy to log a bug there...) Is there a syntax issue I am not spotting and would make it work in both environments ? Thanks in advance Andreas From karawilliams@example.com Fri Nov 05 09:35:28 2010 Return-Path: <karawilliams@example.com> Delivered-To: karawilliams@example.com Received: (qmail 12148 invoked from network); 5 Nov 2010 09:35:27 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 5 Nov 2010 09:35:27 -0000 Received: (qmail 39380 invoked by uid 500); 5 Nov 2010 09:35:59 -0000 Delivered-To: karawilliams@example.com Received: (qmail 39306 invoked by uid 500); 5 Nov 2010 09:35:57 -0000 Mailing-List: contact karawilliams@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:karawilliams@example.com> List-Unsubscribe: <mailto:karawilliams@example.com> List-Post: <mailto:karawilliams@example.com> List-Id: <user.karaf.apache.org> Reply-To: karawilliams@example.com Delivered-To: mailing list karawilliams@example.com Received: (qmail 39298 invoked by uid 99); 5 Nov 2010 09:35:57 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Nov 2010 09:35:57 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [83.161.120.155] (HELO tongtech.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 05 Nov 2010 09:35:48 +0000 Received: from IBM0618 (unknown [83.161.120.155]) by tongtech.com with CMailServer 5.3 SMTP; Fri, 05 Nov 2010 17:35:15 +0800 From: "ext2" <karawilliams@example.com> To: <karawilliams@example.com>, <karawilliams@example.com> References: <karawilliams@example.com> <karawilliams@example.com> Subject: How about to to facilitate to use JNDI(boot delegation) in karaf? Date: Fri, 5 Nov 2010 17:35:23 +0800 Message-ID: <F5C25F4F7C6548ACA16CFFF223E1F8B0@IBM0618> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <karawilliams@example.com> Thread-Index: Act6Am7wICHwqwTwRranL5iCZCIZ1QCxKfWA X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5931 X-Virus-Checked: Checked by ClamAV on apache.org Hi: When I using jndi in osgi, the "javax.naming" package is required. But because "javax.naming" package is not direct refereced in the java's source code(; So the generated bundle's Import-Package header doesn't contains "javax.naming" package; Although the karaf's etc/jre.properties file could define "javax.naming" to be exportable from boot class loader. But because we doesn't declare import for "javax.naming" package in bundle,so a ClassNotFound Exception will still occurs; So we want the package "javax.naming" which could be used, even there is not import declaration in bundle; To support this, I can only define org.osgi.framework.bootdelegation system property in karaf's startup script; So I am wondering if karaf could support a configure file which allow we configure the " org.osgi.framework.bootdelegation" ? if so , it's easy to use control boot delegation; From karawilliams@example.com Fri Nov 05 10:04:44 2010 Return-Path: <karawilliams@example.com> Delivered-To: karawilliams@example.com Received: (qmail 15911 invoked from network); 5 Nov 2010 10:04:44 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 5 Nov 2010 10:04:44 -0000 Received: (qmail 54902 invoked by uid 500); 5 Nov 2010 10:05:15 -0000 Delivered-To: karawilliams@example.com Received: (qmail 54828 invoked by uid 500); 5 Nov 2010 10:05:13 -0000 Mailing-List: contact karawilliams@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:karawilliams@example.com> List-Unsubscribe: <mailto:karawilliams@example.com> List-Post: <mailto:karawilliams@example.com> List-Id: <user.karaf.apache.org> Reply-To: karawilliams@example.com Delivered-To: mailing list karawilliams@example.com Received: (qmail 54820 invoked by uid 99); 5 Nov 2010 10:05:13 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Nov 2010 10:05:13 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of karawilliams@example.com designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-ww0-f46.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Nov 2010 10:05:07 +0000 Received: by wwd20 with SMTP id 20so3055194wwd.3 for <karawilliams@example.com>; Fri, 05 Nov 2010 03:04:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=LHccu1+Lhr3jtX8311YiBTRXK9/Uw2dKU/lL4deHzMw=; b=m30BCFElzPmCT2CKEdTPtiDoAqEsocraCCyGZ1hEGRq0oHF+xS8eJDm7U8rI2TxV4W aexJ3unnrfjjORQVkFgAyBzFd0mCzeZLGt2Uu/Gsn7J7Do5lerOlafYdzix/F28vPMX8 h92PDGjmXF+OOIOd5JIJol8uHFBx1goOHpEmA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=KuM/7PDHVzJAWabwLJtUk/vG3bwcrpfgaRudd3MDcH1bEm3XnCdd+GzPwxB6Ors9I5 9kQuQflWuBvNEZ724d6h7nmYRDK6pAZ4FrmeFyE6ELW7D0urmN9bWH7c/tUyZCTSTnXt OlU3Tu1mU75+gWIveNJi3m6UPfyi2WXc0mH2I= MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id o15mr1847027wbw.8.1288951486746; Fri, 05 Nov 2010 03:04:46 -0700 (PDT) Received: by 83.161.120.155 with HTTP; Fri, 5 Nov 2010 03:04:46 -0700 (PDT) In-Reply-To: <F5C25F4F7C6548ACA16CFFF223E1F8B0@IBM0618> References: <karawilliams@example.com> <karawilliams@example.com> <F5C25F4F7C6548ACA16CFFF223E1F8B0@IBM0618> Date: Fri, 5 Nov 2010 11:04:46 +0100 Message-ID: <karawilliams@example.com> Subject: Re: How about to to facilitate to use JNDI(boot delegation) in karaf? From: Guillaume Nodet <karawilliams@example.com> To: karawilliams@example.com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org The boot delegation property can be modified in etc/config.properties or overriden in etc/custom.properties. Can you give a bit more detail on how to use JNDI ? I'm not sure to understand why the package is used but not directly referenced. On Fri, Nov 5, 2010 at 10:35, ext2 <karawilliams@example.com> wrote: > Hi: > =A0 =A0 =A0 =A0When =A0I using jndi in osgi, the "javax.naming" package i= s required. > But because "javax.naming" package is not direct refereced in the java's > source code(; So the generated bundle's Import-Package header doesn't > contains "javax.naming" package; > =A0 =A0 =A0 =A0Although the karaf's etc/jre.properties =A0file could defi= ne > "javax.naming" to be exportable from boot class loader. But because we > doesn't declare import =A0for "javax.naming" package in bundle,so =A0a > ClassNotFound Exception will still occurs; > =A0 =A0 =A0 =A0So we want the package "javax.naming" which could be used,= even > there is not import declaration in bundle; > =A0 =A0 =A0 =A0To support this, =A0I can only define > org.osgi.framework.bootdelegation =A0system property in karaf's startup > script; > =A0 =A0 =A0 =A0So I am wondering if karaf could support a configure file = which > allow we configure the " org.osgi.framework.bootdelegation" ? =A0if so , = it's > easy to use control boot delegation; > > > --=20 Cheers, Guillaume Nodet ------------------------ Blog: http://gnodet.blogspot.com/ ------------------------ Open Source SOA http://fusesource.com From karawilliams@example.com Fri Nov 05 10:07:10 2010 Return-Path: <karawilliams@example.com> Delivered-To: karawilliams@example.com Received: (qmail 24293 invoked from network); 5 Nov 2010 10:07:10 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 5 Nov 2010 10:07:10 -0000 Received: (qmail 57168 invoked by uid 500); 5 Nov 2010 10:07:41 -0000 Delivered-To: karawilliams@example.com Received: (qmail 57099 invoked by uid 500); 5 Nov 2010 10:07:39 -0000 Mailing-List: contact karawilliams@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:karawilliams@example.com> List-Unsubscribe: <mailto:karawilliams@example.com> List-Post: <mailto:karawilliams@example.com> List-Id: <user.karaf.apache.org> Reply-To: karawilliams@example.com Delivered-To: mailing list karawilliams@example.com Received: (qmail 57091 invoked by uid 99); 5 Nov 2010 10:07:39 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Nov 2010 10:07:39 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of karawilliams@example.com designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-wy0-f176.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Nov 2010 10:07:34 +0000 Received: by wyg36 with SMTP id 36so3015077wyg.21 for <karawilliams@example.com>; Fri, 05 Nov 2010 03:07:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=ApMnXh8fSb4uKNB6Lpm/XGNtxLANXYrpr/r4IjL6awo=; b=ZdUQkthUUgHdxqnOUhZWZAHRBVkBVBWesqk+O27R94tCHsCNQejoU9vNlgNL4IdUz9 XkEkqPA4WcXTf2aIusfcmOdg7T7FptGA6wwrTzq9r8PHFgl4JX5eknU9kuosPzfFQZly olM9ymL227Ze5E6yCYccaRipSXo1R7vUtvLCU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=N2dnXexcZMhId2SYUEm0KpwqP++K5Ua+Sooqq2+BhdOr3EIDuISZdiHlRlOM/Hf+YK X4oMb54Ktw/aXrC5q1gYPezPKqNap2NWaMS/ZVutPVKe9FbVDcHD92veGhFKzYnhF/ax CjxlWeQtpFflbyx2XYeHM716skshvuTIvefJs= MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id o15mr1849441wbw.8.1288951633151; Fri, 05 Nov 2010 03:07:13 -0700 (PDT) Received: by 83.161.120.155 with HTTP; Fri, 5 Nov 2010 03:07:13 -0700 (PDT) In-Reply-To: <karawilliams@example.com> References: <karawilliams@example.com> Date: Fri, 5 Nov 2010 11:07:13 +0100 Message-ID: <karawilliams@example.com> Subject: Re: Features in Karaf / Pax Exam From: Guillaume Nodet <karawilliams@example.com> To: karawilliams@example.com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I think pax-exam has its own features parser, so it may have been kept behing what karaf provides. We really need to use a schema and version that to be able to detect such problems more easily. On Fri, Nov 5, 2010 at 10:17, Andreas Gies <karawilliams@example.com> wrote: > Hello, > > I am sorry if am hitting the wrong list with my question, but it seemed a > good starting point for me ... > > We have started the development of a karaf based application and wnat to > exploit the features support > for packaging. In my features I have the following: > > <features> > <feature name=3D"YConX888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4Whiteboard" version=3D"${project.version}"> > > <!-- This line works for deploying into karaf, but not in conjunction wit= h > pax - exam --> > <!--feature version=3D"${project.version}">YConX888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4quinox</feature--> > > <!-- TODO: avoid repetition of the derby version --> > <bundle>mvn:org.apache.derby/derby/83.161.120.155</bundle> > <bundle>mvn:${project.groupId}/${project.groupId}.core/${project.version}= </bundle> > <!--bundle>mvn:${project.groupId}/${project.groupId}.database/${project.v= ersion}</bundle> > <bundle>mvn:${project.groupId}/${project.groupId}.dataproviderservice/${p= roject.version}</bundle> > <bundle>mvn:${project.groupId}/${project.groupId}.gui/${project.version}<= /bundle> > <bundle>mvn:${project.groupId}/${project.groupId}.logger/${project.versio= n}</bundle--> > </feature> > </features> > > For my integration test the first thing i want to test is that the packag= ing > works ok and have copied/modified > the FeaturesTest found in karaf itself. In my configuration I have: > > @Configuration > public static Option[] configuration() throws Exception { > =A0return OptionUtils.combine( > =A0 =A0Helper.getDefaultOptions( > > =A0systemProperty("org.ops4j.pax.logging.DefaultServiceLog.level").value(= "DEBUG") > =A0 =A0), > =A0 =A0PaxRunnerOptions.scanFeatures( > > =A0maven().groupId("de.yconx.osgi").artifactId("features").type("xml").cl= assifier("features").version("0.0.1-SNAPSHOT"), > =A0 =A0 =A0"YConX888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4quinox/0.0.1-SNAPSHOT" > =A0 =A0), > =A0 =A0PaxRunnerOptions.scanFeatures( > > =A0maven().groupId("de.yconx.whiteboard").artifactId("features").type("xm= l").classifier("features").version("0.0.1-SNAPSHOT"), > =A0 =A0 =A0"YConX888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4Whiteboard/0.0.1-SNAPSHOT" > =A0 =A0), > =A0 =A0waitForFrameworkStartup(), > =A0 =A0equinox() > =A0); > } > > The test succeeds if I omit the feature reference in my feature definitio= n, > but fails if i include it. > The basic idea was, that the feature is my unit of deployment into the ka= raf > container and that features > kind of build on top of each other. > > So, the question is: > > Am I doing something out of the ordinary ? > Am I hitting a pax-exam limitation that is already known? (happy to log a > bug there...) > Is there a syntax issue I am not spotting and would make it work in both > environments ? > > > Thanks in advance > Andreas > > > > --=20 Cheers, Guillaume Nodet ------------------------ Blog: http://gnodet.blogspot.com/ ------------------------ Open Source SOA http://fusesource.com From karawilliams@example.com Fri Nov 05 11:02:24 2010 Return-Path: <karawilliams@example.com> Delivered-To: karawilliams@example.com Received: (qmail 38003 invoked from network); 5 Nov 2010 11:02:23 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 5 Nov 2010 11:02:23 -0000 Received: (qmail 11385 invoked by uid 500); 5 Nov 2010 11:02:55 -0000 Delivered-To: karawilliams@example.com Received: (qmail 10731 invoked by uid 500); 5 Nov 2010 11:02:53 -0000 Mailing-List: contact karawilliams@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:karawilliams@example.com> List-Unsubscribe: <mailto:karawilliams@example.com> List-Post: <mailto:karawilliams@example.com> List-Id: <user.karaf.apache.org> Reply-To: karawilliams@example.com Delivered-To: mailing list karawilliams@example.com Received: (qmail 10723 invoked by uid 99); 5 Nov 2010 11:02:53 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Nov 2010 11:02:53 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [83.161.120.155] (HELO tongtech.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 05 Nov 2010 11:02:46 +0000 Received: from IBM0618 (unknown [83.161.120.155]) by tongtech.com with CMailServer 5.3 SMTP; Fri, 05 Nov 2010 19:02:13 +0800 From: "ext2" <karawilliams@example.com> To: <karawilliams@example.com> References: <karawilliams@example.com><karawilliams@example.com><F5C25F4F7C6548ACA16CFFF223E1F8B0@IBM0618> <karawilliams@example.com> Subject: Re: How about to to facilitate to use JNDI(boot delegation) in karaf? Date: Fri, 5 Nov 2010 19:02:22 +0800 Message-ID: <C2857999021B4635960C168FCAD980C2@IBM0618> MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <karawilliams@example.com> Thread-Index: Act80PB9rQiw8MJ6Tvi1ZSq/lqqCUAAASvSQ X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5931 X-Virus-Checked: Checked by ClamAV on apache.org >: Re: How about to to facilitate to use JNDI(boot delegation) in karaf? >The boot delegation property can be modified in etc/config.properties >or overriden in etc/custom.properties. I have checked it, but it seems they can only allow I to define = additional exportable package of boot class loader. But when using these package , = I must explicit import them in bundle, or else class not found exception = will occurs; Here "exportable" means: the package could be visible to others, = but the others must explicit import them, then to use; But the org.osgi.framework.bootdelegation could make the exportable = package of boot class loader will be visible directly in bundle.=20 Here:"visible directly " means: the other bundles need not import it, = and use the package directly. =20 Do you means I could define the org.osgi.framework.bootdelegation = property in these files, etc, just add a text like following: org.osgi.framework.bootdelegation=3Djavax.naming, ..... I have tried, it doesn't works; >Can you give a bit more detail on how to use JNDI ? I'm not sure to >understand why the package is used but not directly referenced. Ooh,, I am sorry not to express it clearly; In my situation, I am using a special jndi which comes from a third part product; The third part's jndi is not a bundle, and it's copyright = doesn't allow I convert it to be a bundle;=20 So I can only wrapped the third part's jndi library and my application = in same bundle, and put the jndi jars in bundle class path. In my application , I am using the jndi in source code , just like: Context ctx=3D new InitialContext(); ctx.lookup(); the source code doesn't directly use any class of "javax.naming" = package, so the bnd tools cannot find reference to "javax.naming.*" package = according by my application's code . But the third part's jndi will use javax.naming(that's say: "used , but not direct referenced in source = code", forgive my poor english);=20 Finally because the bundle doesn't import all package from = javax.naming.*, and when the jndi implementation will throw some "javax.naming.*"'s = class not found exception. On Fri, Nov 5, 2010 at 10:35, ext2 <karawilliams@example.com> wrote: > Hi: > =A0 =A0 =A0 =A0When =A0I using jndi in osgi, the "javax.naming" = package is required. > But because "javax.naming" package is not direct refereced in the = java's > source code(; So the generated bundle's Import-Package header doesn't > contains "javax.naming" package; > =A0 =A0 =A0 =A0Although the karaf's etc/jre.properties =A0file could = define > "javax.naming" to be exportable from boot class loader. But because we > doesn't declare import =A0for "javax.naming" package in bundle,so =A0a > ClassNotFound Exception will still occurs; > =A0 =A0 =A0 =A0So we want the package "javax.naming" which could be = used, even > there is not import declaration in bundle; > =A0 =A0 =A0 =A0To support this, =A0I can only define > org.osgi.framework.bootdelegation =A0system property in karaf's = startup > script; > =A0 =A0 =A0 =A0So I am wondering if karaf could support a configure = file which > allow we configure the " org.osgi.framework.bootdelegation" ? =A0if so = , it's > easy to use control boot delegation; > > > --=20 Cheers, Guillaume Nodet ------------------------ Blog: http://gnodet.blogspot.com/ ------------------------ Open Source SOA http://fusesource.com From karawilliams@example.com Fri Nov 05 11:24:34 2010 Return-Path: <karawilliams@example.com> Delivered-To: karawilliams@example.com Received: (qmail 52131 invoked from network); 5 Nov 2010 11:24:34 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 5 Nov 2010 11:24:34 -0000 Received: (qmail 31887 invoked by uid 500); 5 Nov 2010 11:25:05 -0000 Delivered-To: karawilliams@example.com Received: (qmail 31862 invoked by uid 500); 5 Nov 2010 11:25:03 -0000 Mailing-List: contact karawilliams@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:karawilliams@example.com> List-Unsubscribe: <mailto:karawilliams@example.com> List-Post: <mailto:karawilliams@example.com> List-Id: <user.karaf.apache.org> Reply-To: karawilliams@example.com Delivered-To: mailing list karawilliams@example.com Received: (qmail 31852 invoked by uid 99); 5 Nov 2010 11:25:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Nov 2010 11:25:03 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of karawilliams@example.com designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-wy0-f176.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Nov 2010 11:24:57 +0000 Received: by wyg36 with SMTP id 36so3077048wyg.21 for <karawilliams@example.com>; Fri, 05 Nov 2010 04:24:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=ERL8Xy2LZSqj5v4YiVKz5mVnFk88Iuhd4N7IMgnoOPE=; b=BHDM8Kn8OEC7RNEYZJ5Kf8cXgZ2lswp3hBkJY7VG8tBfEvTdFV55kTcpoYyTDFkh8b Ftx9hLjdHAIPnJ0BjHt9lXhPpkW0+S+Y+LrsRPliDcWdwD8I1IhgKoPskPefAYSbEzL0 h4DQ7rj9iRjUWqyNqEPlHY9D436zAbgt271Co= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=UKVU3Z0IPNZ+Y91oKU3M+Ycbv4GTNYBj9RGnSvQQdWbAHCEycPnl4AIm8IUAjxSbk/ qdterleMPGcmRSs/+/gPIl1BaGskmBr1Iv+BmPPRm99/c1SILkhT/+NK0POGX7D4uGpq IKkWNgrxgQ2y+fKVE8xNb5+r4n3gslONr53zo= MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id d15mr1924404wbt.37.1288956274813; Fri, 05 Nov 2010 04:24:34 -0700 (PDT) Received: by 83.161.120.155 with HTTP; Fri, 5 Nov 2010 04:24:34 -0700 (PDT) In-Reply-To: <C2857999021B4635960C168FCAD980C2@IBM0618> References: <karawilliams@example.com> <karawilliams@example.com> <F5C25F4F7C6548ACA16CFFF223E1F8B0@IBM0618> <karawilliams@example.com> <C2857999021B4635960C168FCAD980C2@IBM0618> Date: Fri, 5 Nov 2010 12:24:34 +0100 Message-ID: <karawilliams@example.com> Subject: Re: How about to to facilitate to use JNDI(boot delegation) in karaf? From: Guillaume Nodet <karawilliams@example.com> To: karawilliams@example.com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org On Fri, Nov 5, 2010 at 12:02, ext2 <karawilliams@example.com> wrote: > >>: Re: How about to to facilitate to use JNDI(boot delegation) in karaf? > >>The boot delegation property can be modified in etc/config.properties >>or overriden in etc/custom.properties. > I have checked it, but it seems they can only allow I to define additiona= l > exportable package of boot class loader. But when using these package , I > must explicit import them in bundle, or else class not found exception wi= ll > occurs; Here "exportable" means: the package could be visible to others, = but > the others =A0must explicit import them, then to use; > > But the =A0org.osgi.framework.bootdelegation could make the exportable pa= ckage > of boot class loader will be visible directly in bundle. > Here:"visible directly " means: the other bundles need not import it, and > use the package directly. > > > Do you means I could define the org.osgi.framework.bootdelegation propert= y > in these files, etc, just add a text like following: > =A0 =A0 =A0 =A0org.osgi.framework.bootdelegation=3Djavax.naming, ..... > I have tried, it doesn't works; The property is already defined in etc/config.properties: # javax.transaction is needed to avoid class loader constraint violation when using javax.sql org.osgi.framework.bootdelegation=3Dorg.apache.karaf.jaas.boot,sun.*,com.su= n.*,javax.transaction,javax.transaction.* If you set it in etc/custom.properties, it should work too, but make sure you include all the packages above: org.osgi.framework.bootdelegation=3Djavax.naming,org.apache.karaf.jaas.boot= ,sun.*,com.sun.*,javax.transaction,javax.transaction.* Though, I'm not sure it's a good idea (see below). > >>Can you give a bit more detail on how to use JNDI ? I'm not sure to >>understand why the package is used but not directly referenced. > > Ooh,, I am sorry not to express it clearly; > In my situation, I am using a special jndi which comes from a third part > product; The third part's jndi is not a bundle, and it's copyright doesn'= t > allow I convert it to be a bundle; > So I can only wrapped the third part's jndi library and my application in > same bundle, and put the jndi jars in bundle class path. > > In my application , I am using the jndi in source code , just like: > =A0 =A0 =A0 =A0Context ctx=3D new InitialContext(); > =A0 =A0 =A0 =A0ctx.lookup(); > the source code doesn't directly use any class of "javax.naming" package,= so > the bnd tools cannot find reference to "javax.naming.*" package =A0accord= ing > by my application's code . =A0But the third part's jndi will use > javax.naming(that's say: "used , but not direct referenced in source code= ", > forgive my poor english); > Finally because the bundle doesn't import all package from javax.naming.*= , > and when the jndi implementation will throw some "javax.naming.*"'s class > not found exception. With BND, you can force the inclusion of packages (though BND itself should be able to discover that one anyway). You need to not use the * in that case so that BND does not try to actually detect which packages are used. So in the import instructions for BND, use: <Import-Package>javax.naming,*</Import-Package> and it should work better. > > On Fri, Nov 5, 2010 at 10:35, ext2 <karawilliams@example.com> wrote: >> Hi: >> =A0 =A0 =A0 =A0When =A0I using jndi in osgi, the "javax.naming" package = is required. >> But because "javax.naming" package is not direct refereced in the java's >> source code(; So the generated bundle's Import-Package header doesn't >> contains "javax.naming" package; >> =A0 =A0 =A0 =A0Although the karaf's etc/jre.properties =A0file could def= ine >> "javax.naming" to be exportable from boot class loader. But because we >> doesn't declare import =A0for "javax.naming" package in bundle,so =A0a >> ClassNotFound Exception will still occurs; >> =A0 =A0 =A0 =A0So we want the package "javax.naming" which could be used= , even >> there is not import declaration in bundle; >> =A0 =A0 =A0 =A0To support this, =A0I can only define >> org.osgi.framework.bootdelegation =A0system property in karaf's startup >> script; >> =A0 =A0 =A0 =A0So I am wondering if karaf could support a configure file= which >> allow we configure the " org.osgi.framework.bootdelegation" ? =A0if so , > it's >> easy to use control boot delegation; >> >> >> > > > > -- > Cheers, > Guillaume Nodet > ------------------------ > Blog: http://gnodet.blogspot.com/ > ------------------------ > Open Source SOA > http://fusesource.com > > > --=20 Cheers, Guillaume Nodet ------------------------ Blog: http://gnodet.blogspot.com/ ------------------------ Open Source SOA http://fusesource.com From karawilliams@example.com Fri Nov 05 13:12:29 2010 Return-Path: <karawilliams@example.com> Delivered-To: karawilliams@example.com Received: (qmail 5802 invoked from network); 5 Nov 2010 13:12:29 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 5 Nov 2010 13:12:29 -0000 Received: (qmail 92252 invoked by uid 500); 5 Nov 2010 13:13:01 -0000 Delivered-To: karawilliams@example.com Received: (qmail 92231 invoked by uid 500); 5 Nov 2010 13:12:59 -0000 Mailing-List: contact karawilliams@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:karawilliams@example.com> List-Unsubscribe: <mailto:karawilliams@example.com> List-Post: <mailto:karawilliams@example.com> List-Id: <user.karaf.apache.org> Reply-To: karawilliams@example.com Delivered-To: mailing list karawilliams@example.com Received: (qmail 92223 invoked by uid 99); 5 Nov 2010 13:12:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Nov 2010 13:12:58 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO tongtech.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 05 Nov 2010 13:12:53 +0000 Received: from IBM0618 (unknown [83.161.120.155]) by tongtech.com with CMailServer 5.3 SMTP; Fri, 05 Nov 2010 21:12:21 +0800 From: "ext2" <karawilliams@example.com> To: <karawilliams@example.com> References: <karawilliams@example.com><karawilliams@example.com><F5C25F4F7C6548ACA16CFFF223E1F8B0@IBM0618><karawilliams@example.com><C2857999021B4635960C168FCAD980C2@IBM0618> <karawilliams@example.com> Subject: Re: How about to to facilitate to use JNDI(boot delegation) in karaf? Date: Fri, 5 Nov 2010 21:12:30 +0800 Message-ID: <93D2B17E46F64BE582B0330A82D9E9E0@IBM0618> MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <karawilliams@example.com> Thread-Index: Act83BgmJUXMzGmgTOKXXF5qhT+GZgADR2zQ X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5931 Thanks Guillaume Nodet , Thanks very much.=20 You suggestion is a better choice. While in my situation, not only the javax.naming package, but a lot of = other packages such as "com.sun.jndi.*" ...etc; it's difficult to list them = all out in the bnd's configurations all out.=20 So how about to using Require-Bundle Header? It need not set boot delegation, and it works like import-package. If so , how can I specify = the system boot loader's name in the Required-Bundle header? =20 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D On Fri, Nov 5, 2010 , Guillaume Nodet [karawilliams@example.com] wrote: >On Fri, Nov 5, 2010 at 12:02, ext2 <karawilliams@example.com> wrote: > >>: Re: How about to to facilitate to use JNDI(boot delegation) in = karaf? > >>The boot delegation property can be modified in etc/config.properties >>or overriden in etc/custom.properties. > I have checked it, but it seems they can only allow I to define = additional > exportable package of boot class loader. But when using these package = , I > must explicit import them in bundle, or else class not found exception will > occurs; Here "exportable" means: the package could be visible to = others, but > the others =A0must explicit import them, then to use; > > But the =A0org.osgi.framework.bootdelegation could make the exportable package > of boot class loader will be visible directly in bundle. > Here:"visible directly " means: the other bundles need not import it, = and > use the package directly. > > > Do you means I could define the org.osgi.framework.bootdelegation = property > in these files, etc, just add a text like following: > =A0 =A0 =A0 =A0org.osgi.framework.bootdelegation=3Djavax.naming, ..... > I have tried, it doesn't works; The property is already defined in etc/config.properties: # javax.transaction is needed to avoid class loader constraint violation when using javax.sql org.osgi.framework.bootdelegation=3Dorg.apache.karaf.jaas.boot,sun.*,com.= sun.* ,javax.transaction,javax.transaction.* If you set it in etc/custom.properties, it should work too, but make sure you include all the packages above: org.osgi.framework.bootdelegation=3Djavax.naming,org.apache.karaf.jaas.bo= ot,su n.*,com.sun.*,javax.transaction,javax.transaction.* Though, I'm not sure it's a good idea (see below). > >>Can you give a bit more detail on how to use JNDI ? I'm not sure to >>understand why the package is used but not directly referenced. > > Ooh,, I am sorry not to express it clearly; > In my situation, I am using a special jndi which comes from a third = part > product; The third part's jndi is not a bundle, and it's copyright = doesn't > allow I convert it to be a bundle; > So I can only wrapped the third part's jndi library and my application = in > same bundle, and put the jndi jars in bundle class path. > > In my application , I am using the jndi in source code , just like: > =A0 =A0 =A0 =A0Context ctx=3D new InitialContext(); > =A0 =A0 =A0 =A0ctx.lookup(); > the source code doesn't directly use any class of "javax.naming" = package, so > the bnd tools cannot find reference to "javax.naming.*" package = =A0according > by my application's code . =A0But the third part's jndi will use > javax.naming(that's say: "used , but not direct referenced in source code", > forgive my poor english); > Finally because the bundle doesn't import all package from = javax.naming.*, > and when the jndi implementation will throw some "javax.naming.*"'s = class > not found exception. With BND, you can force the inclusion of packages (though BND itself should be able to discover that one anyway). You need to not use the * in that case so that BND does not try to actually detect which packages are used. So in the import instructions for BND, use: <Import-Package>javax.naming,*</Import-Package> and it should work better. > > On Fri, Nov 5, 2010 at 10:35, ext2 <karawilliams@example.com> wrote: >> Hi: >> =A0 =A0 =A0 =A0When =A0I using jndi in osgi, the "javax.naming" = package is required. >> But because "javax.naming" package is not direct refereced in the = java's >> source code(; So the generated bundle's Import-Package header doesn't >> contains "javax.naming" package; >> =A0 =A0 =A0 =A0Although the karaf's etc/jre.properties =A0file could = define >> "javax.naming" to be exportable from boot class loader. But because = we >> doesn't declare import =A0for "javax.naming" package in bundle,so = =A0a >> ClassNotFound Exception will still occurs; >> =A0 =A0 =A0 =A0So we want the package "javax.naming" which could be = used, even >> there is not import declaration in bundle; >> =A0 =A0 =A0 =A0To support this, =A0I can only define >> org.osgi.framework.bootdelegation =A0system property in karaf's = startup >> script; >> =A0 =A0 =A0 =A0So I am wondering if karaf could support a configure = file which >> allow we configure the " org.osgi.framework.bootdelegation" ? =A0if = so , > it's >> easy to use control boot delegation; >> >> >> > > > > -- > Cheers, > Guillaume Nodet > ------------------------ > Blog: http://gnodet.blogspot.com/ > ------------------------ > Open Source SOA > http://fusesource.com > > > --=20 Cheers, Guillaume Nodet ------------------------ Blog: http://gnodet.blogspot.com/ ------------------------ Open Source SOA http://fusesource.com From karawilliams@example.com Fri Nov 05 13:24:33 2010 Return-Path: <karawilliams@example.com> Delivered-To: karawilliams@example.com Received: (qmail 13807 invoked from network); 5 Nov 2010 13:24:33 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 5 Nov 2010 13:24:33 -0000 Received: (qmail 17998 invoked by uid 500); 5 Nov 2010 13:25:04 -0000 Delivered-To: karawilliams@example.com Received: (qmail 17984 invoked by uid 500); 5 Nov 2010 13:25:03 -0000 Mailing-List: contact karawilliams@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:karawilliams@example.com> List-Unsubscribe: <mailto:karawilliams@example.com> List-Post: <mailto:karawilliams@example.com> List-Id: <user.karaf.apache.org> Reply-To: karawilliams@example.com Delivered-To: mailing list karawilliams@example.com Received: (qmail 17976 invoked by uid 99); 5 Nov 2010 13:25:02 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Nov 2010 13:25:02 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [83.161.120.155] (HELO mailgw-2.ptv.de) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Nov 2010 13:24:56 +0000 X-ASG-Debug-ID: 1288963474-649e00ef0000-OhaQtl X-Barracuda-URL: http://83.161.120.155:8000/cgi-bin/mark.cgi Received: from ska-wn-e30.ptvag.ptv.de (localhost [83.161.120.155]) by mailgw-2.ptv.de (Spam & Virus Firewall) with ESMTP id 61E32101E2AA for <karawilliams@example.com>; Fri, 5 Nov 2010 14:24:34 +0100 (CET) Received: from ska-wn-e30.ptvag.ptv.de ([83.161.120.155]) by mailgw-2.ptv.de with ESMTP id xxciua8Y2EuOtgMD for <karawilliams@example.com>; Fri, 05 Nov 2010 14:24:34 +0100 (CET) X-Barracuda-Envelope-From: karawilliams@example.com X-ASG-Whitelist: Client Received: from SKA-WN-E25CEX.ptvag.ptv.de ([83.161.120.155]) by ska-wn-e30.ptvag.ptv.de ([83.161.120.155]) with mapi; Fri, 5 Nov 2010 14:24:34 +0100 From: Achim Nierbeck <karawilliams@example.com> X-Barracuda-BBL-IP: 83.161.120.155 X-Barracuda-RBL-IP: 83.161.120.155 To: "karawilliams@example.com" <karawilliams@example.com> Date: Fri, 5 Nov 2010 14:24:31 +0100 X-ASG-Orig-Subj: AW: How about to to facilitate to use JNDI(boot delegation) in karaf? Subject: AW: How about to to facilitate to use JNDI(boot delegation) in karaf? Thread-Topic: How about to to facilitate to use JNDI(boot delegation) in karaf? Thread-Index: Act83BgmJUXMzGmgTOKXXF5qhT+GZgADR2zQAADD8oA= Message-ID: <karawilliams@example.com> References: <karawilliams@example.com><karawilliams@example.com><F5C25F4F7C6548ACA16CFFF223E1F8B0@IBM0618><karawilliams@example.com><C2857999021B4635960C168FCAD980C2@IBM0618> <karawilliams@example.com> <93D2B17E46F64BE582B0330A82D9E9E0@IBM0618> In-Reply-To: <93D2B17E46F64BE582B0330A82D9E9E0@IBM0618> Accept-Language: de-DE Content-Language: de-DE X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: de-DE Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Barracuda-Connect: UNKNOWN[83.161.120.155] X-Barracuda-Start-Time: 1288963474 X-Barracuda-Virus-Scanned: by karawilliams@example.com X-Virus-Checked: Checked by ClamAV on apache.org Sorry, to interrupt, but Require-Bundle is really bad practice :( Just one side node from me, I once had also an issue with JNDI, because of = which is the First Implementing class. I fixed this issue by setting the following param= eter=20 in the karaf.sh/bat. -Djava.naming.factory.initial=3Dcom.sun.jndi.rmi.registry.RegistryContextFa= ctory This way I made sure that the default ContextFactory of the jdk is used (an= d not the one Provided by tomcat at that time) Greetings, Achim=20 -----Urspr=FCngliche Nachricht----- Von: ext2 [mailto:karawilliams@example.com]=20 Gesendet: Freitag, 5. November 2010 14:13 An: karawilliams@example.com Betreff: Re: How about to to facilitate to use JNDI(boot delegation) in kar= af? Thanks Guillaume Nodet , Thanks very much.=20 You suggestion is a better choice. While in my situation, not only the javax.naming package, but a lot of othe= r packages such as "com.sun.jndi.*" ...etc; it's difficult to list them all out in the bnd's configurations all out.=20 So how about to using Require-Bundle Header? It need not set boot delegation, and it works like import-package. If so , how can I specify the system boot loader's name in the Required-Bundle header? =20 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D On Fri, Nov 5, 2010 , Guillaume Nodet [karawilliams@example.com] wrote: >On Fri, Nov 5, 2010 at 12:02, ext2 <karawilliams@example.com> wrote: > >>: Re: How about to to facilitate to use JNDI(boot delegation) in karaf? > >>The boot delegation property can be modified in etc/config.properties >>or overriden in etc/custom.properties. > I have checked it, but it seems they can only allow I to define additiona= l > exportable package of boot class loader. But when using these package , I > must explicit import them in bundle, or else class not found exception will > occurs; Here "exportable" means: the package could be visible to others, but > the others =A0must explicit import them, then to use; > > But the =A0org.osgi.framework.bootdelegation could make the exportable package > of boot class loader will be visible directly in bundle. > Here:"visible directly " means: the other bundles need not import it, and > use the package directly. > > > Do you means I could define the org.osgi.framework.bootdelegation propert= y > in these files, etc, just add a text like following: > =A0 =A0 =A0 =A0org.osgi.framework.bootdelegation=3Djavax.naming, ..... > I have tried, it doesn't works; The property is already defined in etc/config.properties: # javax.transaction is needed to avoid class loader constraint violation when using javax.sql org.osgi.framework.bootdelegation=3Dorg.apache.karaf.jaas.boot,sun.*,com.su= n.* ,javax.transaction,javax.transaction.* If you set it in etc/custom.properties, it should work too, but make sure you include all the packages above: org.osgi.framework.bootdelegation=3Djavax.naming,org.apache.karaf.jaas.boot= ,su n.*,com.sun.*,javax.transaction,javax.transaction.* Though, I'm not sure it's a good idea (see below). > >>Can you give a bit more detail on how to use JNDI ? I'm not sure to >>understand why the package is used but not directly referenced. > > Ooh,, I am sorry not to express it clearly; > In my situation, I am using a special jndi which comes from a third part > product; The third part's jndi is not a bundle, and it's copyright doesn'= t > allow I convert it to be a bundle; > So I can only wrapped the third part's jndi library and my application in > same bundle, and put the jndi jars in bundle class path. > > In my application , I am using the jndi in source code , just like: > =A0 =A0 =A0 =A0Context ctx=3D new InitialContext(); > =A0 =A0 =A0 =A0ctx.lookup(); > the source code doesn't directly use any class of "javax.naming" package, so > the bnd tools cannot find reference to "javax.naming.*" package =A0accord= ing > by my application's code . =A0But the third part's jndi will use > javax.naming(that's say: "used , but not direct referenced in source code", > forgive my poor english); > Finally because the bundle doesn't import all package from javax.naming.*= , > and when the jndi implementation will throw some "javax.naming.*"'s class > not found exception. With BND, you can force the inclusion of packages (though BND itself should be able to discover that one anyway). You need to not use the * in that case so that BND does not try to actually detect which packages are used. So in the import instructions for BND, use: <Import-Package>javax.naming,*</Import-Package> and it should work better. > > On Fri, Nov 5, 2010 at 10:35, ext2 <karawilliams@example.com> wrote: >> Hi: >> =A0 =A0 =A0 =A0When =A0I using jndi in osgi, the "javax.naming" package = is required. >> But because "javax.naming" package is not direct refereced in the java's >> source code(; So the generated bundle's Import-Package header doesn't >> contains "javax.naming" package; >> =A0 =A0 =A0 =A0Although the karaf's etc/jre.properties =A0file could def= ine >> "javax.naming" to be exportable from boot class loader. But because we >> doesn't declare import =A0for "javax.naming" package in bundle,so =A0a >> ClassNotFound Exception will still occurs; >> =A0 =A0 =A0 =A0So we want the package "javax.naming" which could be used= , even >> there is not import declaration in bundle; >> =A0 =A0 =A0 =A0To support this, =A0I can only define >> org.osgi.framework.bootdelegation =A0system property in karaf's startup >> script; >> =A0 =A0 =A0 =A0So I am wondering if karaf could support a configure file= which >> allow we configure the " org.osgi.framework.bootdelegation" ? =A0if so , > it's >> easy to use control boot delegation; >> >> >> > > > > -- > Cheers, > Guillaume Nodet > ------------------------ > Blog: http://gnodet.blogspot.com/ > ------------------------ > Open Source SOA > http://fusesource.com > > > --=20 Cheers, Guillaume Nodet ------------------------ Blog: http://gnodet.blogspot.com/ ------------------------ Open Source SOA http://fusesource.com From karawilliams@example.com Fri Nov 05 13:26:35 2010 Return-Path: <karawilliams@example.com> Delivered-To: karawilliams@example.com Received: (qmail 14003 invoked from network); 5 Nov 2010 13:26:34 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 5 Nov 2010 13:26:34 -0000 Received: (qmail 19148 invoked by uid 500); 5 Nov 2010 13:27:06 -0000 Delivered-To: karawilliams@example.com Received: (qmail 19070 invoked by uid 500); 5 Nov 2010 13:27:05 -0000 Mailing-List: contact karawilliams@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:karawilliams@example.com> List-Unsubscribe: <mailto:karawilliams@example.com> List-Post: <mailto:karawilliams@example.com> List-Id: <user.karaf.apache.org> Reply-To: karawilliams@example.com Delivered-To: mailing list karawilliams@example.com Received: (qmail 19062 invoked by uid 99); 5 Nov 2010 13:27:04 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Nov 2010 13:27:04 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of karawilliams@example.com designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-wy0-f176.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Nov 2010 13:26:58 +0000 Received: by wyg36 with SMTP id 36so3185702wyg.21 for <karawilliams@example.com>; Fri, 05 Nov 2010 06:26:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=gR1Dpr51Jdy0SkBc4JaC+l4k4i/bLOEeCrj2/OlITRQ=; b=RTGVkMEc+gdb/GwVBJxy24bxqb0zb9GPeMPoANtGfFOK9lLOiBFJWOmYsUnl4ITtK8 M9CkPNTG0URgXkGjvmaxEsbV7tbmdsDJravj2ASEYH88SfQHzFnLa4evlj1cXTR2oRkY Z0DqWc8nR9kdOvLdYjqfs7ZauW6ih+TdMOOuY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=cIpZSZ1lDLLx/bg+6eJYvCme27ZlyKakjRgw3Voacj4zQQqZi2PzZaukpID1VBpHNc Esrr6HCaoP1W8yKTkArTCrJq1EhTfafSf29qUv9dv/Rl9pHrmb08npu61pwvKxwMG8X1 YlJ3cGLRCMarTB+s3WyONdhTpn7UjZKVVYRR0= MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id k3mr2033813wbs.66.1288963597616; Fri, 05 Nov 2010 06:26:37 -0700 (PDT) Received: by 83.161.120.155 with HTTP; Fri, 5 Nov 2010 06:26:37 -0700 (PDT) In-Reply-To: <karawilliams@example.com> References: <karawilliams@example.com> <karawilliams@example.com> <F5C25F4F7C6548ACA16CFFF223E1F8B0@IBM0618> <karawilliams@example.com> <C2857999021B4635960C168FCAD980C2@IBM0618> <karawilliams@example.com> <93D2B17E46F64BE582B0330A82D9E9E0@IBM0618> <karawilliams@example.com> Date: Fri, 5 Nov 2010 14:26:37 +0100 Message-ID: <karawilliams@example.com> Subject: Re: How about to to facilitate to use JNDI(boot delegation) in karaf? From: Guillaume Nodet <karawilliams@example.com> To: karawilliams@example.com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Also, Aries provides a JNDI / OSGi integration which you may want to look at depending on your needs. On Fri, Nov 5, 2010 at 14:24, Achim Nierbeck <karawilliams@example.com> wrote: > Sorry, to interrupt, but Require-Bundle is really bad practice :( > > > Just one side node from me, I once had also an issue with JNDI, because o= f which is the > First Implementing class. I fixed this issue by setting the following par= ameter > in the karaf.sh/bat. > > -Djava.naming.factory.initial=3Dcom.sun.jndi.rmi.registry.RegistryContext= Factory > > This way I made sure that the default ContextFactory of the jdk is used (= and not the one > Provided by tomcat at that time) > > Greetings, Achim > > > -----Urspr=FCngliche Nachricht----- > Von: ext2 [mailto:karawilliams@example.com] > Gesendet: Freitag, 5. November 2010 14:13 > An: karawilliams@example.com > Betreff: Re: How about to to facilitate to use JNDI(boot delegation) in k= araf? > > Thanks Guillaume Nodet , Thanks very much. > You suggestion is a better choice. > While in my situation, not only the javax.naming package, but a lot of ot= her > packages such as "com.sun.jndi.*" ...etc; it's difficult to list them all > out in the bnd's configurations all out. > So how about to using Require-Bundle Header? It need not set boot > delegation, and it works like import-package. If so , how can I specify t= he > system boot loader's name in the Required-Bundle header? > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D > On Fri, Nov 5, 2010 , Guillaume Nodet [karawilliams@example.com] wrote: > >>On Fri, Nov 5, 2010 at 12:02, ext2 <karawilliams@example.com> wrote: >> >>>: Re: How about to to facilitate to use JNDI(boot delegation) in karaf? >> >>>The boot delegation property can be modified in etc/config.properties >>>or overriden in etc/custom.properties. >> I have checked it, but it seems they can only allow I to define addition= al >> exportable package of boot class loader. But when using these package , = I >> must explicit import them in bundle, or else class not found exception > will >> occurs; Here "exportable" means: the package could be visible to others, > but >> the others =A0must explicit import them, then to use; >> >> But the =A0org.osgi.framework.bootdelegation could make the exportable > package >> of boot class loader will be visible directly in bundle. >> Here:"visible directly " means: the other bundles need not import it, an= d >> use the package directly. >> >> >> Do you means I could define the org.osgi.framework.bootdelegation proper= ty >> in these files, etc, just add a text like following: >> =A0 =A0 =A0 =A0org.osgi.framework.bootdelegation=3Djavax.naming, ..... >> I have tried, it doesn't works; > > The property is already defined in etc/config.properties: > > # javax.transaction is needed to avoid class loader constraint > violation when using javax.sql > org.osgi.framework.bootdelegation=3Dorg.apache.karaf.jaas.boot,sun.*,com.= sun.* > ,javax.transaction,javax.transaction.* > > If you set it in etc/custom.properties, it should work too, but make > sure you include all the packages above: > org.osgi.framework.bootdelegation=3Djavax.naming,org.apache.karaf.jaas.bo= ot,su > n.*,com.sun.*,javax.transaction,javax.transaction.* > > Though, I'm not sure it's a good idea (see below). > >> >>>Can you give a bit more detail on how to use JNDI ? I'm not sure to >>>understand why the package is used but not directly referenced. >> >> Ooh,, I am sorry not to express it clearly; >> In my situation, I am using a special jndi which comes from a third part >> product; The third part's jndi is not a bundle, and it's copyright doesn= 't >> allow I convert it to be a bundle; >> So I can only wrapped the third part's jndi library and my application i= n >> same bundle, and put the jndi jars in bundle class path. >> >> In my application , I am using the jndi in source code , just like: >> =A0 =A0 =A0 =A0Context ctx=3D new InitialContext(); >> =A0 =A0 =A0 =A0ctx.lookup(); >> the source code doesn't directly use any class of "javax.naming" package= , > so >> the bnd tools cannot find reference to "javax.naming.*" package =A0accor= ding >> by my application's code . =A0But the third part's jndi will use >> javax.naming(that's say: "used , but not direct referenced in source > code", >> forgive my poor english); >> Finally because the bundle doesn't import all package from javax.naming.= *, >> and when the jndi implementation will throw some "javax.naming.*"'s clas= s >> not found exception. > > With BND, you can force the inclusion of packages (though BND itself > should be able to discover that one anyway). > You need to not use the * in that case so that BND does not try to > actually detect which packages are used. > So in the import instructions for BND, use: > =A0 <Import-Package>javax.naming,*</Import-Package> > and it should work better. > >> >> On Fri, Nov 5, 2010 at 10:35, ext2 <karawilliams@example.com> wrote: >>> Hi: >>> =A0 =A0 =A0 =A0When =A0I using jndi in osgi, the "javax.naming" package= is > required. >>> But because "javax.naming" package is not direct refereced in the java'= s >>> source code(; So the generated bundle's Import-Package header doesn't >>> contains "javax.naming" package; >>> =A0 =A0 =A0 =A0Although the karaf's etc/jre.properties =A0file could de= fine >>> "javax.naming" to be exportable from boot class loader. But because we >>> doesn't declare import =A0for "javax.naming" package in bundle,so =A0a >>> ClassNotFound Exception will still occurs; >>> =A0 =A0 =A0 =A0So we want the package "javax.naming" which could be use= d, even >>> there is not import declaration in bundle; >>> =A0 =A0 =A0 =A0To support this, =A0I can only define >>> org.osgi.framework.bootdelegation =A0system property in karaf's startup >>> script; >>> =A0 =A0 =A0 =A0So I am wondering if karaf could support a configure fil= e which >>> allow we configure the " org.osgi.framework.bootdelegation" ? =A0if so = , >> it's >>> easy to use control boot delegation; >>> >>> >>> >> >> >> >> -- >> Cheers, >> Guillaume Nodet >> ------------------------ >> Blog: http://gnodet.blogspot.com/ >> ------------------------ >> Open Source SOA >> http://fusesource.com >> >> >> > > > > -- > Cheers, > Guillaume Nodet > ------------------------ > Blog: http://gnodet.blogspot.com/ > ------------------------ > Open Source SOA > http://fusesource.com > > > --=20 Cheers, Guillaume Nodet ------------------------ Blog: http://gnodet.blogspot.com/ ------------------------ Open Source SOA http://fusesource.com From karawilliams@example.com Fri Nov 05 15:05:20 2010 Return-Path: <karawilliams@example.com> Delivered-To: karawilliams@example.com Received: (qmail 60440 invoked from network); 5 Nov 2010 15:05:20 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 5 Nov 2010 15:05:20 -0000 Received: (qmail 76235 invoked by uid 500); 5 Nov 2010 15:05:52 -0000 Delivered-To: karawilliams@example.com Received: (qmail 76170 invoked by uid 500); 5 Nov 2010 15:05:50 -0000 Mailing-List: contact karawilliams@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:karawilliams@example.com> List-Unsubscribe: <mailto:karawilliams@example.com> List-Post: <mailto:karawilliams@example.com> List-Id: <user.karaf.apache.org> Reply-To: karawilliams@example.com Delivered-To: mailing list karawilliams@example.com Received: (qmail 76155 invoked by uid 99); 5 Nov 2010 15:05:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Nov 2010 15:05:50 +0000 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=SPF_HELO_PASS,SPF_NEUTRAL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO kuber.nabble.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Nov 2010 15:05:45 +0000 Received: from ben.nabble.com ([83.161.120.155]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from <karawilliams@example.com>) id 1PENr1-0008D8-9C for karawilliams@example.com; Fri, 05 Nov 2010 08:05:23 -0700 Date: Fri, 5 Nov 2010 08:05:23 -0700 (PDT) From: Andreas Gies <karawilliams@example.com> To: karawilliams@example.com Message-ID: <karawilliams@example.com> In-Reply-To: <karawilliams@example.com> References: <karawilliams@example.com> <karawilliams@example.com> Subject: Re: Features in Karaf / Pax Exam MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi Guillaume, thanks
{'source': 'Apache Software Foundation Public Mail Archives'}