You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@falcon.apache.org by "Suhas Vasu (JIRA)" <ji...@apache.org> on 2015/08/14 08:58:45 UTC

[jira] [Updated] (FALCON-905) contextDestroyed method is not called when falcon-stop is called

     [ 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)