From user-return-19527-archive-asf-public=cust-asf.ponee.io@karaf.apache.org Fri Nov 2 14:16:25 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 11B8718062B for ; Fri, 2 Nov 2018 14:16:24 +0100 (CET) Received: (qmail 19670 invoked by uid 500); 2 Nov 2018 13:16:24 -0000 Mailing-List: contact user-help@karaf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@karaf.apache.org Delivered-To: mailing list user@karaf.apache.org Received: (qmail 19660 invoked by uid 99); 2 Nov 2018 13:16:24 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Nov 2018 13:16:23 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 7EB7AC2A6B for ; Fri, 2 Nov 2018 13:16:23 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.113 X-Spam-Level: ** X-Spam-Status: No, score=2.113 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, KAM_NUMSUBJECT=0.5, RCVD_IN_DNSWL_LOW=-0.7, URI_HEX=1.313] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id 7oZ5JkvzRp77 for ; Fri, 2 Nov 2018 13:16:22 +0000 (UTC) Received: from relay6-d.mail.gandi.net (relay6-d.mail.gandi.net [217.70.183.198]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id DD0A15F48F for ; Fri, 2 Nov 2018 13:16:21 +0000 (UTC) X-Originating-IP: 82.238.224.4 Received: from [192.168.134.48] (bre91-1-82-238-224-4.fbx.proxad.net [82.238.224.4]) (Authenticated sender: jb@nanthrax.net) by relay6-d.mail.gandi.net (Postfix) with ESMTPSA id 3589CC0003 for ; Fri, 2 Nov 2018 13:16:15 +0000 (UTC) Subject: Re: Karaf doesn't like Camel package with apache.commons.dbcp2 To: user@karaf.apache.org References: <3ecef052-3d41-890e-c84d-4a653034acc8@openobject.fr> <884477755.199244.1540476086684@mail.yahoo.com> <2053753660.294655.1540485133240@mail.yahoo.com> <2089913892.326496.1540489088686@mail.yahoo.com> <168042f8-8369-4203-a9a9-50cff62f2200@nanthrax.net> <964171658.409472.1540496224840@mail.yahoo.com> <1f2ada42-2bc4-1e02-404e-2cbd8deb9c78@openobject.fr> <938b9b8a-b5df-27ea-6954-9030d5b57328@nanthrax.net> <1541089155947-0.post@n3.nabble.com> <22d78a8e-ed52-4aad-bb27-a48bde418d9f@nanthrax.net> <143758929.1390437.1541092447218@mail.yahoo.com> <940cf685-c852-f2d1-0e88-a229adcc7b32@nanthrax.net> <1404185369.104014.1541164154574@mail.yahoo.com> From: =?UTF-8?Q?Jean-Baptiste_Onofr=c3=a9?= Message-ID: Date: Fri, 2 Nov 2018 14:16:14 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: <1404185369.104014.1541164154574@mail.yahoo.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Hi John, OK I think I narrowed your issue. The pax-jdbc-pool-dbcp2 feature installs Commons DBCP 2.1.1 bundle. However, your bundle seems to require at least DBCP 2.5. So, I would propose to change your bundle headers to extend the range (something like [2,3)). It's a bit surprising that your bundle directly depend on DBCP. It should use a datasource service. Regards JB On 02/11/2018 14:09, John F. Berry wrote: > Thanks JB for your patience, > > OK.. what didn't I do about that from that list I did below.. Do I need to follow up with another command than "feature:install pax-jdbc-pool-dbcp2"? > > > On ‎Friday‎, ‎November‎ ‎2‎, ‎2018‎ ‎04‎:‎36‎:‎11‎ ‎AM‎ ‎EDT, Jean-Baptiste Onofré wrote: > > > Hi John, > > You have to install the pax-jdbc-pool-dbcp2 feature. It should install > the dbcp bundle for you. > > I just have to check the version. > > Regards > JB > > On 01/11/2018 18:14, John F. Berry wrote: >> Thank you. >> Installed the jdbc feature via the command >> feature:install jdbc >> Still getting the exact same error. >> >> On ‎Thursday‎, ‎November‎ ‎1‎, ‎2018‎ ‎12‎:‎44‎:‎34‎ ‎PM‎ ‎EDT, >> Jean-Baptiste Onofré wrote: >> >> >> You need the dbcp bundle. You can install via jdbc feature. >> >> Regards >> JB >> Le 1 nov. 2018, à 20:19, bohnjerry > > a écrit: >> >>     OK.. I've blown away my data folder again.. and the latest "rebuild" went >>     like this: >> >>     feature:repo-add camel >>     feature:install camel >>     feature:install camel-core >>     feature:install camel-hl7 >>     feature:install camel-sql >>     feature:install pax-jdbc-pool-dbcp2 >> >>     then >> >>     install -s mvn:org.ZZZ.camel/EDMtoPspft-java/1.0.0 >> >>     and now I'm getting: >> >>     Unable to start bundle mvn:org.ZZZ.camel/EDMtoPsoft-java/1.0.0: >>     org.osgi.framework.BundleException: Unable to resolve EDMtoPSoft-java [87](R >>     87.0): missing requirement [EDMtoPSoft-java [87](R 87.0)] >>     osgi.wiring.package; >>     (&(osgi.wiring.package=org.apache.commons.dbcp2)(version>=2.5.0)(!(version>=3.0.0))) >>     Unresolved requirements: [[EDMtoPSoft-java [87](R 87.0)] >>     osgi.wiring.package;(&(osgi.wiring.package=org.apache.commons.dbcp2)(version>=2.5.0)(!(version>=3.0.0)))] >> >>     Did I miss a step? >> >> >> >> >>     -- >>     Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html > >> >