Return-Path: X-Original-To: apmail-falcon-dev-archive@minotaur.apache.org Delivered-To: apmail-falcon-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A4B3118827 for ; Fri, 14 Aug 2015 06:58:47 +0000 (UTC) Received: (qmail 21211 invoked by uid 500); 14 Aug 2015 06:58:47 -0000 Delivered-To: apmail-falcon-dev-archive@falcon.apache.org Received: (qmail 21172 invoked by uid 500); 14 Aug 2015 06:58:47 -0000 Mailing-List: contact dev-help@falcon.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@falcon.apache.org Delivered-To: mailing list dev@falcon.apache.org Received: (qmail 21160 invoked by uid 99); 14 Aug 2015 06:58:47 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Aug 2015 06:58:47 +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 DBBE41AA03B for ; Fri, 14 Aug 2015 06:58:46 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.774 X-Spam-Level: * X-Spam-Status: No, score=1.774 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.006] autolearn=disabled Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id ybZye7_KsjoM for ; Fri, 14 Aug 2015 06:58:46 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with SMTP id E2B24210B6 for ; Fri, 14 Aug 2015 06:58:45 +0000 (UTC) Received: (qmail 21154 invoked by uid 99); 14 Aug 2015 06:58:45 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Aug 2015 06:58:45 +0000 Date: Fri, 14 Aug 2015 06:58:45 +0000 (UTC) From: "Suhas Vasu (JIRA)" To: dev@falcon.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (FALCON-905) contextDestroyed method is not called when falcon-stop is called 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/FALCON-905?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Suhas Vasu updated FALCON-905: ------------------------------ Assignee: sandeep samudrala (was: Suhas Vasu) > contextDestroyed method is not called when falcon-stop is called > ---------------------------------------------------------------- > > Key: FALCON-905 > URL: https://issues.apache.org/jira/browse/FALCON-905 > Project: Falcon > Issue Type: Bug > Reporter: Suhas Vasu > Assignee: sandeep samudrala > > When falcon-stop is executed, the contextDestroyed() method of ContextStartupListener is not called, resulting in the shutdown hooks not being executed. This is the reason for the exceptions we see in the application log upon falcon-stop. > Upon further checking, this occurs in embedded activemq as well as standalone activemq. Both the times we get exceptions in the activemq that client closed unexpectedly. Looks like there is an issue in one of the shutdown hooks. > The error in activemq log (using standalone activemq) > {noformat} > 014-11-19 17:03:29,333 | DEBUG | Transport failed: java.io.EOFException | org.apache.activemq.broker.TransportConnection.Transport | ActiveMQ Transport: tcp:///127.0.0.1:63929 > java.io.EOFException > at java.io.DataInputStream.readInt(DataInputStream.java:392) > at org.apache.activemq.openwire.OpenWireFormat.unmarshal(OpenWireFormat.java:269) > at org.apache.activemq.transport.tcp.TcpTransport.readCommand(TcpTransport.java:227) > at org.apache.activemq.transport.tcp.TcpTransport.doRun(TcpTransport.java:219) > at org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:202) > at java.lang.Thread.run(Thread.java:745) > 2014-11-19 17:03:29,333 | DEBUG | Transport failed: java.io.EOFException | org.apache.activemq.broker.TransportConnection.Transport | ActiveMQ Transport: tcp:///127.0.0.1:63926 > java.io.EOFException > at java.io.DataInputStream.readInt(DataInputStream.java:392) > at org.apache.activemq.openwire.OpenWireFormat.unmarshal(OpenWireFormat.java:269) > at org.apache.activemq.transport.tcp.TcpTransport.readCommand(TcpTransport.java:227) > at org.apache.activemq.transport.tcp.TcpTransport.doRun(TcpTransport.java:219) > at org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:202) > at java.lang.Thread.run(Thread.java:745) > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)