[jboss-jira] [JBoss JIRA] (AS7-5645) Jboss 7.0.2, 7.1 does not call ServletContextListener.contextDestroyed(ServletContextEvent event) on shutdown.
Alexey Alexey (JIRA)
jira-events at lists.jboss.org
Thu Sep 27 08:17:03 EDT 2012
Alexey Alexey created AS7-5645:
----------------------------------
Summary: Jboss 7.0.2, 7.1 does not call ServletContextListener.contextDestroyed(ServletContextEvent event) on shutdown.
Key: AS7-5645
URL: https://issues.jboss.org/browse/AS7-5645
Project: Application Server 7
Issue Type: Bug
Components: Server
Affects Versions: 7.1.0.Final, 7.0.2.Final
Environment: Windows 7 64 bit
Reporter: Alexey Alexey
Assignee: Jason Greene
Jboss 7.0.2, 7.1 does not call ServletContextListener .contextDestroyed(ServletContextEvent event) on shutdown. Shutdown was performed with Ctrl^C and also with command
jboss-admin.bat --connect command=:shutdown
I had the same result - jboss does not call destroying.
This listener was successfully initialized on startup with ServletContextListener.contextInitialized(ServletContextEvent event).
This listener is registered in web.xml in standart way:
<?xml version="1.0" encoding="UTF-8"?>
<web-app id="WebApp_ID" version="2.4"
xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
....
<listener>
<listener-class>Full_class_name_of_listener</listener-class>
</listener>
</web-app>
--
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