From issues-return-43327-archive-asf-public=cust-asf.ponee.io@karaf.apache.org Fri Mar 1 06:34:14 2019 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 7FE4218076D for ; Fri, 1 Mar 2019 07:34:13 +0100 (CET) Received: (qmail 5104 invoked by uid 500); 1 Mar 2019 06:34:12 -0000 Mailing-List: contact issues-help@karaf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@karaf.apache.org Delivered-To: mailing list issues@karaf.apache.org Received: (qmail 5024 invoked by uid 99); 1 Mar 2019 06:34:11 -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, 01 Mar 2019 06:34:11 +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 5D812C787A for ; Fri, 1 Mar 2019 06:34:11 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -110.301 X-Spam-Level: X-Spam-Status: No, score=-110.301 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id 5KhuxLIyn_Nz for ; Fri, 1 Mar 2019 06:34:10 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 65C005F3B3 for ; Fri, 1 Mar 2019 06:25:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 7E8B9E0104 for ; Fri, 1 Mar 2019 06:25:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 155D524587 for ; Fri, 1 Mar 2019 06:25:00 +0000 (UTC) Date: Fri, 1 Mar 2019 06:25:00 +0000 (UTC) From: =?utf-8?Q?Jean-Baptiste_Onofr=C3=A9_=28JIRA=29?= To: issues@karaf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Assigned] (KARAF-6179) pax-jdbc-mysql feature missing MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/KARAF-6179?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:all-tabpanel ] Jean-Baptiste Onofr=C3=A9 reassigned KARAF-6179: ------------------------------------------- Assignee: Jean-Baptiste Onofr=C3=A9 > pax-jdbc-mysql feature missing > ------------------------------ > > Key: KARAF-6179 > URL: https://issues.apache.org/jira/browse/KARAF-6179 > Project: Karaf > Issue Type: Bug > Components: karaf > Affects Versions: 4.2.3 > Reporter: Steve Chapman > Assignee: Jean-Baptiste Onofr=C3=A9 > Priority: Minor > > I have created a Karaf distribution using the karaf.maven.plugin specifyi= ng bootfeature config including pax-jdbc, pax-jdbc-config and pax-jdbc-mysq= l. > It builds and starts without issue.=20 > When I deploy a kar/feature into the generated karaf with a feature depen= dency of pax-jdbc-mysql I find that my module does not start because of mis= sing feature pax-jdbc-mysql. > From the karaf console - 'feature:list | grep jdbc' does not show any pax= -jdbc-mysql feature. > When I look in the pax-jdbc-features.xml e.g.=20 > http://localhost:8081/repository/maven-public/org/ops4j/pax/jdbc/pax-jdb= c-features/1.3.4/pax-jdbc-features-1.3.4-features.xml=20 > ... I can see that mysql is not in the list of jdbc drivers.=20 > It appears that it was dropped from pax-jdbc-features.xml since version 1= .2.1. > I therefore needed to add the feature dependency myself by including the = pax-jdbc-mysql feature in my kar module's feature.xml, e.g.=20 > {code:xml} > =09 =09=09description=3D"Provides JDBC MySQL DataSourceFactory" version=3D"1.= 3.4"> > =09=09pax-jdbc-spec > =09=09mvn:mysql/mysql-connector-java/5.1.47 > =09=09mvn:org.ops4j.pax.jdbc/pax-jdbc-mysql/1.3.4 > =09 > {code} > The current Karaf documentation indicates that pax-jdbc-mysql will be ava= ilable. MySQL is a commonly used database so I am sure others will have the= same issue. Perhaps the Karaf documentation needs to identify this issue a= nd provide a workaround like the one I have used.=20 -- This message was sent by Atlassian JIRA (v7.6.3#76005)