Return-Path: Delivered-To: apmail-felix-dev-archive@www.apache.org Received: (qmail 64351 invoked from network); 21 Aug 2009 13:26:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 21 Aug 2009 13:26:14 -0000 Received: (qmail 34481 invoked by uid 500); 21 Aug 2009 13:26:36 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 34403 invoked by uid 500); 21 Aug 2009 13:26:36 -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 34388 invoked by uid 99); 21 Aug 2009 13:26:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Aug 2009 13:26:36 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Aug 2009 13:26:34 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id CDFDE234C004 for ; Fri, 21 Aug 2009 06:26:14 -0700 (PDT) Message-ID: <1768647342.1250861174788.JavaMail.jira@brutus> Date: Fri, 21 Aug 2009 06:26:14 -0700 (PDT) From: "David Bosschaert (JIRA)" To: dev@felix.apache.org Subject: [jira] Created: (FELIX-1517) Manually deleting an instance breaks admin:list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org Manually deleting an instance breaks admin:list ----------------------------------------------- Key: FELIX-1517 URL: https://issues.apache.org/jira/browse/FELIX-1517 Project: Felix Issue Type: Bug Components: Karaf Affects Versions: karaf-1.0.0 Reporter: David Bosschaert When I delete an instance manually, by simply deleting the subdirectory from the instances directory, it breaks the admin:list command. When I run that command afterwards I get this: karaf@root> admin:list Port State Pid Name pipe: java.io.FileNotFoundException: K:\assembly\target\apache-felix-karaf-1.2.0 -SNAPSHOT\instances\too\etc\org.apache.felix.karaf.shell.cfg (The system cannot find the path specified) java.io.FileNotFoundException: K:\assembly\target\apache-felix-karaf-1.2.0-SNAPS HOT\instances\too\etc\org.apache.felix.karaf.shell.cfg (The system cannot find t he path specified) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.(FileInputStream.java:106) at org.apache.felix.karaf.gshell.admin.internal.InstanceImpl.getPort(InstanceImpl.java:76) at org.apache.felix.karaf.gshell.admin.internal.commands.ListCommand.doExecute(ListCommand.java:42) at org.apache.felix.karaf.gshell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:41) at org.apache.felix.gogo.commands.basic.AbstractCommand.execute(AbstractCommand.java:34) at org.apache.felix.gogo.runtime.shell.CommandProxy.execute(CommandProxy.java:45) at org.apache.felix.gogo.runtime.shell.Closure.execute(Closure.java:208) at org.apache.felix.gogo.runtime.shell.Closure.executeStatement(Closure.java:147) at org.apache.felix.gogo.runtime.shell.Pipe.run(Pipe.java:91) at org.apache.felix.gogo.runtime.shell.Closure.execute(Closure.java:78) at org.apache.felix.gogo.runtime.shell.CommandSessionImpl.execute(CommandSessionImpl.java:71) at org.apache.felix.karaf.gshell.console.jline.Console.run(Console.java:115) at java.lang.Thread.run(Thread.java:595) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.