]
Tomaz Cerar commented on WFLY-977:
----------------------------------
Cheng can you verify that this issue still exists in WildFly 8?
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: Remy Maucherat
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: