[jboss-jira] [JBoss JIRA] (WFLY-977) Servlet AsyncListener PreDestroy method not called
Stuart Douglas (JIRA)
issues at jboss.org
Tue Apr 15 20:28:34 EDT 2014
[ https://issues.jboss.org/browse/WFLY-977?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12962159#comment-12962159 ]
Stuart Douglas commented on WFLY-977:
-------------------------------------
Fixed in upstream undertow
> Servlet AsyncListener PreDestroy method not called
> ---------------------------------------------------
>
> Key: WFLY-977
> URL: https://issues.jboss.org/browse/WFLY-977
> Project: WildFly
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Web (JBoss Web)
> Reporter: Cheng Fang
> Assignee: Stuart Douglas
> Attachments: asynccontext.zip
>
>
> The PostConstruct method of an AsyncListener is called, but the PreDestroy method is not called.
> For example, the listener is created and registered as follows:
> {code:java}
> AsyncContext ac = request.startAsync();
>
> ac.addListener(ac.createListener(MyAsyncListener.class));
> {code}
> AsyncListener is considered a web event listener and Java EE component, and its PreDestroy method should be called when the current request terminates.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list