Return-Path: X-Original-To: apmail-karaf-issues-archive@minotaur.apache.org Delivered-To: apmail-karaf-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3841A10795 for ; Sat, 18 Jan 2014 07:19:28 +0000 (UTC) Received: (qmail 72927 invoked by uid 500); 18 Jan 2014 07:19:27 -0000 Delivered-To: apmail-karaf-issues-archive@karaf.apache.org Received: (qmail 72889 invoked by uid 500); 18 Jan 2014 07:19:26 -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 72468 invoked by uid 99); 18 Jan 2014 07:19:20 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 18 Jan 2014 07:19:20 +0000 Date: Sat, 18 Jan 2014 07:19:19 +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] [Commented] (KARAF-2692) The jdbc and jms completers shows jndi names for the delete command 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-2692?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1387= 5570#comment-13875570 ]=20 Jean-Baptiste Onofr=C3=A9 commented on KARAF-2692: --------------------------------------------- Fixed jms module on master: https://git-wip-us.apache.org/repos/asf?p=3Dkar= af.git;a=3Dcommitdiff;h=3Df08a5c4d79b56c3ec462e337f760b40f81aaea7e > The jdbc and jms completers shows jndi names for the delete command > ------------------------------------------------------------------- > > Key: KARAF-2692 > URL: https://issues.apache.org/jira/browse/KARAF-2692 > Project: Karaf > Issue Type: Bug > Components: karaf-feature > Affects Versions: 3.0.0 > Reporter: Krzysztof Sobkowiak > Assignee: Jean-Baptiste Onofr=C3=A9 > Priority: Minor > Labels: datasource, jdbc > Fix For: 3.0.1 > > Attachments: 0001-KARAF-2692.patch > > > I have created a derby data source using > {code} > karaf@root()> jdbc:create -t derby -u test -i test > karaf@root()> jdbc:create -t derby -u test -i test1 > karaf@root()> jdbc:datasources > Name | Product | Version | URL =20 > ------------------------------------------------------------------ > /jdbc/test | Apache Derby | 10.8.2.2 - (1181258) | jdbc:derby:test > /jdbc/test1 | Apache Derby | 10.8.2.2 - (1181258) | jdbc:derby:test1 > {code} > When I try to delete the data source using jdbc:delete, the completer sho= ws me the available data sources as jndi names > {code} > karaf@root()> jdbc:delete /jdbc/test > /jdbc/test /jdbc/test1=20 > {code} > But che command does not accept the jndi names only names used when creat= ing the data source > {code} > karaf@root()> jdbc:delete /jdbc/test > Error executing command: The JDBC datasource file /home/kso/work/projects= /asf/karaf/assemblies/apache-karaf/target/apache-karaf-3.0.1-SNAPSHOT/deplo= y/datasource-/jdbc/test.xml doesn't exist > karaf@root()> jdbc:delete test > {code} > The completer should display the names or the command should be able to h= andle correctly the jndi name. -- This message was sent by Atlassian JIRA (v6.1.5#6160)