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 3EAF910AA2 for ; Mon, 30 Dec 2013 11:44:48 +0000 (UTC) Received: (qmail 36080 invoked by uid 500); 30 Dec 2013 11:44:09 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 35997 invoked by uid 500); 30 Dec 2013 11:44:02 -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 35918 invoked by uid 99); 30 Dec 2013 11:43:56 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Dec 2013 11:43:56 +0000 Date: Mon, 30 Dec 2013 11:43:56 +0000 (UTC) From: "Pierre De Rop (JIRA)" To: dev@felix.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (FELIX-4352) Extend shell command to give better insight in where the problem is MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/FELIX-4352?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Pierre De Rop updated FELIX-4352: --------------------------------- Attachment: Circular.patch.pierre attached patch > Extend shell command to give better insight in where the problem is > ------------------------------------------------------------------- > > Key: FELIX-4352 > URL: https://issues.apache.org/jira/browse/FELIX-4352 > Project: Felix > Issue Type: Improvement > Components: Dependency Manager > Affects Versions: dependencymanager.shell-2.0.1 > Reporter: Jago de Vreede > Assignee: Pierre De Rop > Attachments: Circular.patch, Circular.patch.pierre, shell wtf 1.3.patch, shell wtf 1.5.patch > > > 'dm notavail' is a command that we use regularly but it can become hard to figure out where the actual problem is. > This patch allows you to find the root cause very quickly example output: > 60 missing dependencies found. > ------------------------------------- > Please note that the following bundles are in the RESOLVED state: > * [65] com.example.mongo > The following service(s) are missing: > * com.example.mongo.MongoService is not found in the service registry > So the shell command tells you that you have a resolved bundle that could trigger you where the problem might be. The command can also tell you if a configuration is missing as a root cause. > The shell can be executed by dm wtf > wtf stands for Where is The Failure > This issue has 2 patches: > 'shell wtf 1.3.patch' and contains a patch that works for java 1.3 and the current shell. > 'shell wtf 1.5.patch' and lifts the shell project to java 1.5 (as I understand this is something you have planned) and contains java 1.5 code and unittests backed by mockito to mock certain stuff. -- This message was sent by Atlassian JIRA (v6.1.5#6160)