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 78161200D04 for ; Mon, 11 Sep 2017 16:20:18 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 773321609C6; Mon, 11 Sep 2017 14:20:18 +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 BD8B31609C3 for ; Mon, 11 Sep 2017 16:20:17 +0200 (CEST) Received: (qmail 14339 invoked by uid 500); 11 Sep 2017 14:20:15 -0000 Mailing-List: contact issues-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list issues@cxf.apache.org Received: (qmail 14328 invoked by uid 99); 11 Sep 2017 14:20:15 -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, 11 Sep 2017 14:20:15 +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 175B2C23DB for ; Mon, 11 Sep 2017 14:20:15 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, 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 NQ5ke9nWsAKm for ; Mon, 11 Sep 2017 14:20:10 +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 665BF5FC1C for ; Mon, 11 Sep 2017 14:20:10 +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 F3CE9E0F21 for ; Mon, 11 Sep 2017 14:20:06 +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 C1FFB2417F for ; Mon, 11 Sep 2017 14:20:03 +0000 (UTC) Date: Mon, 11 Sep 2017 14:20:03 +0000 (UTC) From: "Daniel Kulp (JIRA)" To: issues@cxf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CXF-6672) PollingMessageListenerContainer does fail silently upon java.lang.Error MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 11 Sep 2017 14:20:18 -0000 [ https://issues.apache.org/jira/browse/CXF-6672?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Daniel Kulp updated CXF-6672: ----------------------------- Fix Version/s: (was: 3.2.0) 3.2.1 > PollingMessageListenerContainer does fail silently upon java.lang.Error > ----------------------------------------------------------------------- > > Key: CXF-6672 > URL: https://issues.apache.org/jira/browse/CXF-6672 > Project: CXF > Issue Type: Bug > Components: JMS > Affects Versions: 3.0.6 > Reporter: Andreas Vallen > Assignee: Daniel Kulp > Fix For: 3.0.13, 3.1.11, 3.2.1 > > > java.lang.Error, when thrown by one of the PollingMessageListenerContainer consumer threads, is not logged at all, instead processing is just aborted without any hint in the log that an error occured at all. > The easy fix should be to catch Throwable instead of Exception in org.apache.cxf.transport.jms.util.PollingMessageListenerContainer.Poller, where it is logged at WARN level (although I'd even prefer at least Errors if not also Exceptions to be logged at ERROR). > The cause of the error in our specific case was the inclusion of an older version of ehcache (ehcache-core:2.6.10) in addition to the cxf dependency ehcache:2.8.5. This caused an NoSuchMethodError when the replay cache was used. -- This message was sent by Atlassian JIRA (v6.4.14#64029)