Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id CBB76200BF4 for ; Fri, 6 Jan 2017 07:37:52 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id CA49C160B37; Fri, 6 Jan 2017 06:37:52 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id EA085160B1F for ; Fri, 6 Jan 2017 07:37:51 +0100 (CET) Received: (qmail 984 invoked by uid 500); 6 Jan 2017 06:37:51 -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 974 invoked by uid 99); 6 Jan 2017 06:37:51 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Jan 2017 06:37:51 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 8673D1A7BE6 for ; Fri, 6 Jan 2017 06:37:50 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.452 X-Spam-Level: X-Spam-Status: No, score=-0.452 tagged_above=-999 required=6.31 tests=[FREEMAIL_ENVFROM_END_DIGIT=0.25, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id vkkN2Ft2TMts for ; Fri, 6 Jan 2017 06:37:48 +0000 (UTC) Received: from mout.gmx.net (mout.gmx.net [212.227.17.22]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 153955F286 for ; Fri, 6 Jan 2017 06:37:47 +0000 (UTC) Received: from [139.2.4.130] by 3capp-gmx-bs61.server.lan (via HTTP); Fri, 6 Jan 2017 07:37:38 +0100 MIME-Version: 1.0 Message-ID: From: "Jens Offenbach" To: user@karaf.apache.org Subject: Aw: Re: Shell commands are unavailable #1 Content-Type: text/plain; charset=UTF-8 Date: Fri, 6 Jan 2017 07:37:38 +0100 Importance: normal Sensitivity: Normal In-Reply-To: <9d102c9b-2dd2-0ba3-6e79-01554bfab813@nanthrax.net> References: , <9d102c9b-2dd2-0ba3-6e79-01554bfab813@nanthrax.net> Content-Transfer-Encoding: quoted-printable X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K0:oUIj4A30hE+lE/i5G6vaog4bVIfvKTrY5se0MZ2y0ch RknaVm4XGUbeZM3MAt4TYODIlXGpE8+Hh/47fkqKyezIuWZXpC RhLVA3vo/D0jAj+oQv9+t208VUHL34NYs58Iy47SLXP03UZXu/ OAAbNKlghIMUh6gux1nIC6uGPPxdRiq2Vkj6stmK8VlUYfpwZZ FWLVn36wQ5gXle5iZhS2pKUAoAxhd28IjUXwWNQ8CeFetRQadf u84uv9DDxGkH3u/JiztiRo78SLj/FFF/IuPvRmxxzcCZ4u8G9r JVXqMg= X-UI-Out-Filterresults: notjunk:1;V01:K0:HYcrO9E1p/s=:0oi2qbCoheAdSrmi+6kV6M /EW/ILCW+CUskUYMUsoGH2Eg1CeiupXOUIZkFg6+3guIKWlsXDPvi72fCbJ7bHrBLeNdZ36/D zhEk6WX429U7tYjSe5C/Zr2qKayvX3acEKykc1EDyU9X3XjDd4uNR0RNDoKhK4yLZwUHn0spB rMWXovowOlmC0EO6Tn2qog8t+9WX1JOwCVq8Q3KxcsEtlksbkTTsZNi/BGXpTV1K5r/b5YM7c uXv1OCIvWKQH+dcx1LdrxRPYFllBrs8CCt+kb2PlBxuTUf856n6l7FqFsoIkfsZo6Mgpd9N16 66+sSprBkuyVHKHhpzfyRzd1O/Y4PWZvzonUs1rA8XZ0UBeLY+stZyfSkkCupPhWuAZxc429M Tx19TSUSI+OKI9DavbkVQJp3crhuNr9QXHzKuhXF2vBoXBP1H+QLt0Il9+xaSBW0Nz8X9MHlx 8N9IF6BG+XLotkOMfg3rfJbR9tUGjEsah+9s9cx/NED6s5/+crk1pd3EdP0T02SLlK5szNZ+8 hG89uUtqwSvH7wcnm7boKHjUYtBT7dWJ/AuHp5qwzLB8DG3zT2ScboaIMiHJ0uFqCKydW+ON4 3HlwYgGE0swaXegvw68h5TSHF6lkePxgQVISzC3eTZQl8tZm34MlPIWpOMrjXItJyEj5Iepey 7Y3PCVCg921eW1Kg8ekRM0Fi1a62xcCehcRizaGn7lRdljw== archived-at: Fri, 06 Jan 2017 06:37:52 -0000 Ok, I can live with that, but the command "shell wrapper:install --start-ty= pe DEMAND_START" should work or has something been changed? Give it a try: $ shell wrapper:install --start-type DEMAND_START [org=2Eapache=2Ekaraf=2Eshell=2Eimpl=2Econsole=2EConsoleSessionImpl] : com= pletionMode property is not defined in etc/org=2Eapache=2Ekaraf=2Eshell=2Ec= fg file=2E Using default completion mode=2E [org=2Eapache=2Ekaraf=2Eshell=2Esupport=2EShellUtil] : Unknown command ent= ered org=2Eapache=2Efelix=2Egogo=2Eruntime=2ECommandNotFoundException: Command = not found: wrapper:install at org=2Eapache=2Efelix=2Egogo=2Eruntime=2EClosure=2EexecuteCmd(Cl= osure=2Ejava:549) at org=2Eapache=2Efelix=2Egogo=2Eruntime=2EClosure=2EexecuteStatem= ent(Closure=2Ejava:478) at org=2Eapache=2Efelix=2Egogo=2Eruntime=2EClosure=2Eexecute(Closu= re=2Ejava:367) at org=2Eapache=2Efelix=2Egogo=2Eruntime=2EPipe=2EdoCall(Pipe=2Eja= va:417) at org=2Eapache=2Efelix=2Egogo=2Eruntime=2EPipe=2Ecall(Pipe=2Ejava= :229) at org=2Eapache=2Efelix=2Egogo=2Eruntime=2EPipe=2Ecall(Pipe=2Ejava= :59) at java=2Eutil=2Econcurrent=2EFutureTask=2Erun(FutureTask=2Ejava:2= 66) at java=2Eutil=2Econcurrent=2EThreadPoolExecutor=2ErunWorker(Threa= dPoolExecutor=2Ejava:1142) at java=2Eutil=2Econcurrent=2EThreadPoolExecutor$Worker=2Erun(Thre= adPoolExecutor=2Ejava:617) at java=2Elang=2EThread=2Erun(Thread=2Ejava:745) Command not found: wrapper:install Thanks! Gesendet:=C2=A0Freitag, 06=2E Januar 2017 um 07:32 Uhr Von:=C2=A0"Jean-Baptiste Onofr=C3=A9" An:=C2=A0user@karaf=2Eapache=2Eorg Betreff:=C2=A0Re: Aw: Shell commands are unavailable #1 Hi Jens, shell doesn't really start a full Karaf instance, so, it's an expected behavior IMHO=2E Regards JB On 01/06/2017 06:50 AM, Jens Offenbach wrote: > The problem seems to occur only when using the "shell" script from the "= bin" folder=2E Using "=2E/start", followed by "=2E/client", the commands "s= ystem:shutdown" and "logout" are working properly=2E > > Jens > > > Gesendet: Freitag, 06=2E Januar 2017 um 06:43 Uhr > Von: "Jens Offenbach" > An: user@karaf=2Eapache=2Eorg > Betreff: Shell commands are unavailable > Hi, > I am using Apache Karaf 4=2E1=2E0-Snapshot and in the current snapshot r= elease, there seems to be a problem regarding shell commands=2E I have open= ed the following issue: https://issues=2Eapache=2Eorg/jira/browse/KARAF-492= 6=2E But things seem to be much more problematic=2E Even the "logout" comma= nd is reported as unavailable=2E > > I am using the last snapshot (apache-karaf-4=2E1=2E0-20170105=2E165025-2= 79=2Etar=2Egz") from the Apache snapshot repository=2E > > Give it a try: > $ =2E/shell > [org=2Eapache=2Ekaraf=2Eshell=2Eimpl=2Econsole=2EConsoleSessionImpl] : c= ompletionMode property is not defined in etc/org=2Eapache=2Ekaraf=2Eshell= =2Ecfg file=2E Using default completion mode=2E > __ __ ____ > / //_/____ __________ _/ __/ > / ,< / __ `/ ___/ __ `/ /_ > / /| |/ /_/ / / / /_/ / __/ > /_/ |_|\__,_/_/ \__,_/_/ > > Apache Karaf (4=2E1=2E0-SNAPSHOT) > > Hit '' for a list of available commands > and '[cmd] --help' for help on a specific command=2E > Hit '' or type 'system:shutdown' or 'logout' to shutdown Karaf= =2E > > karaf@root()> logout > [org=2Eapache=2Ekaraf=2Eshell=2Esupport=2EShellUtil] : Unknown command e= ntered > org=2Eapache=2Efelix=2Egogo=2Eruntime=2ECommandNotFoundException: Comman= d not found: logout > at org=2Eapache=2Efelix=2Egogo=2Eruntime=2EClosure=2EexecuteCmd(Closure= =2Ejava:549) > at org=2Eapache=2Efelix=2Egogo=2Eruntime=2EClosure=2EexecuteStatement(Cl= osure=2Ejava:478) > at org=2Eapache=2Efelix=2Egogo=2Eruntime=2EClosure=2Eexecute(Closure=2Ej= ava:367) > at org=2Eapache=2Efelix=2Egogo=2Eruntime=2EPipe=2EdoCall(Pipe=2Ejava:417= ) > at org=2Eapache=2Efelix=2Egogo=2Eruntime=2EPipe=2Ecall(Pipe=2Ejava:229) > at org=2Eapache=2Efelix=2Egogo=2Eruntime=2EPipe=2Ecall(Pipe=2Ejava:59) > at java=2Eutil=2Econcurrent=2EFutureTask=2Erun(FutureTask=2Ejava:266) > at java=2Eutil=2Econcurrent=2EThreadPoolExecutor=2ErunWorker(ThreadPoolE= xecutor=2Ejava:1142) > at java=2Eutil=2Econcurrent=2EThreadPoolExecutor$Worker=2Erun(ThreadPool= Executor=2Ejava:617) > at java=2Elang=2EThread=2Erun(Thread=2Ejava:745) > Command not found: logout > karaf@root()> system:shutdown > [org=2Eapache=2Ekaraf=2Eshell=2Esupport=2EShellUtil] : Unknown command e= ntered > org=2Eapache=2Efelix=2Egogo=2Eruntime=2ECommandNotFoundException: Comman= d not found: system:shutdown > at org=2Eapache=2Efelix=2Egogo=2Eruntime=2EClosure=2EexecuteCmd(Closure= =2Ejava:549) > at org=2Eapache=2Efelix=2Egogo=2Eruntime=2EClosure=2EexecuteStatement(Cl= osure=2Ejava:478) > at org=2Eapache=2Efelix=2Egogo=2Eruntime=2EClosure=2Eexecute(Closure=2Ej= ava:367) > at org=2Eapache=2Efelix=2Egogo=2Eruntime=2EPipe=2EdoCall(Pipe=2Ejava:417= ) > at org=2Eapache=2Efelix=2Egogo=2Eruntime=2EPipe=2Ecall(Pipe=2Ejava:229) > at org=2Eapache=2Efelix=2Egogo=2Eruntime=2EPipe=2Ecall(Pipe=2Ejava:59) > at java=2Eutil=2Econcurrent=2EFutureTask=2Erun(FutureTask=2Ejava:266) > at java=2Eutil=2Econcurrent=2EThreadPoolExecutor=2ErunWorker(ThreadPoolE= xecutor=2Ejava:1142) > at java=2Eutil=2Econcurrent=2EThreadPoolExecutor$Worker=2Erun(ThreadPool= Executor=2Ejava:617) > at java=2Elang=2EThread=2Erun(Thread=2Ejava:745) > Command not found: system:shutdown > > This is a hard blocker right now=2E May someone please have a look at th= is=2E > > Thanks a lot! > > Regards, > Jens > -- Jean-Baptiste Onofr=C3=A9 jbonofre@apache=2Eorg http://blog=2Enanthrax=2Enet[http://blog=2Enanthrax=2Enet] Talend - http://www=2Etalend=2Ecom[http://www=2Etalend=2Ecom]