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 CEDDA200D50 for ; Mon, 4 Dec 2017 11:23:04 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id CD551160C05; Mon, 4 Dec 2017 10:23:04 +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 1EE65160BF9 for ; Mon, 4 Dec 2017 11:23:03 +0100 (CET) Received: (qmail 72354 invoked by uid 500); 4 Dec 2017 10:23:03 -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 72339 invoked by uid 99); 4 Dec 2017 10:23:03 -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; Mon, 04 Dec 2017 10:23:03 +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 867FDC0DA5 for ; Mon, 4 Dec 2017 10:23:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.211 X-Spam-Level: X-Spam-Status: No, score=-99.211 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id eQuOZteaJG6L for ; Mon, 4 Dec 2017 10:23:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 730B25F2A9 for ; Mon, 4 Dec 2017 10:23: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 96111E095C for ; Mon, 4 Dec 2017 10:23: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 171E0255C2 for ; Mon, 4 Dec 2017 10:23:00 +0000 (UTC) Date: Mon, 4 Dec 2017 10:23:00 +0000 (UTC) From: "Guillaume Nodet (JIRA)" To: issues@karaf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (KARAF-5497) Karaf shuts down when installing CXF feature MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 04 Dec 2017 10:23:05 -0000 [ https://issues.apache.org/jira/browse/KARAF-5497?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16276589#comment-16276589 ] Guillaume Nodet commented on KARAF-5497: ---------------------------------------- Another alternative would be to backport all the commits from master related to the upgrade of JLine, it should work too. > Karaf shuts down when installing CXF feature > -------------------------------------------- > > Key: KARAF-5497 > URL: https://issues.apache.org/jira/browse/KARAF-5497 > Project: Karaf > Issue Type: Bug > Affects Versions: 4.1.3 > Reporter: Christopher Lockard > Assignee: Guillaume Nodet > Priority: Blocker > Fix For: 4.1.4 > > > When installing CXF in Karaf the console exits and the system shuts down. This appears to be a result of the `org.apache.karaf.shell.core` bundle getting refreshed when the system has been started via the `karaf` script. This is not an issue in karaf-4.1.2. > To reproduce the issue start karaf-4.1.3 using the bin/karaf script: > {code} > feature:repo-add mvn:org.apache.cxf.karaf/apache-cxf/3.1.11/xml/features > feature:install cxf > {code} > This results in `Error executing command: java.io.IOException: Stream Closed` getting printed to the console and the system shutting down. > This error is then found in the logs > {code} > 2017-11-21T12:23:59,605 | ERROR | Karaf local console user karaf | ShellUtil | 42 - org.apache.karaf.shell.core - 4.1.3 | Exception caught while executing command > java.io.IOError: java.io.IOException: Stream Closed > at org.jline.keymap.BindingReader.readCharacter(BindingReader.java:142) ~[49:org.jline:3.5.0] > at org.jline.keymap.BindingReader.readBinding(BindingReader.java:109) ~[49:org.jline:3.5.0] > at org.jline.keymap.BindingReader.readBinding(BindingReader.java:60) ~[49:org.jline:3.5.0] > at org.jline.reader.impl.LineReaderImpl.readBinding(LineReaderImpl.java:724) ~[49:org.jline:3.5.0] > at org.jline.reader.impl.LineReaderImpl.readLine(LineReaderImpl.java:526) ~[49:org.jline:3.5.0] > at org.apache.karaf.shell.impl.console.ConsoleSessionImpl.run(ConsoleSessionImpl.java:349) [42:org.apache.karaf.shell.core:4.1.3] > at java.lang.Thread.run(Thread.java:745) [?:?] > Caused by: java.io.IOException: Stream Closed > at java.io.FileInputStream.read0(Native Method) ~[?:?] > at java.io.FileInputStream.read(FileInputStream.java:207) ~[?:?] > at org.jline.terminal.impl.DumbTerminal$1.read(DumbTerminal.java:48) ~[?:?] > at org.jline.terminal.impl.DumbTerminal$1.read(DumbTerminal.java:85) ~[?:?] > at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:284) ~[?:?] > at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:326) ~[?:?] > at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:178) ~[?:?] > at sun.nio.cs.StreamDecoder.read0(StreamDecoder.java:127) ~[?:?] > at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:112) ~[?:?] > at java.io.InputStreamReader.read(InputStreamReader.java:168) ~[?:?] > at org.jline.utils.NonBlockingReader.run(NonBlockingReader.java:276) ~[?:?] > ... 1 more > {code} -- This message was sent by Atlassian JIRA (v6.4.14#64029)