falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ajay Yadava (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (FALCON-905) contextDestroyed method is not called when falcon-stop is called
Date Wed, 09 Sep 2015 09:12:46 GMT

     [ https://issues.apache.org/jira/browse/FALCON-905?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ajay Yadava resolved FALCON-905.
--------------------------------
    Resolution: Duplicate

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

Mime
View raw message