[jboss-jira] [JBoss JIRA] (AS7-5645) Jboss 7.0.2, 7.1 does not call ServletContextListener.contextDestroyed(ServletContextEvent event) on shutdown.

San chi (JIRA) issues at jboss.org
Tue Mar 11 23:13:11 EDT 2014


    [ https://issues.jboss.org/browse/AS7-5645?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12952167#comment-12952167 ] 

San chi edited comment on AS7-5645 at 3/11/14 11:12 PM:
--------------------------------------------------------

I am seeing the same exact issue of contextDestroyed not being called on Windows (64 bit) with JBoss 7.1.1 Final version.  Is there a workaround for this issue? 
Alexey,
How did you resolve it? Why do you say it is not a Jboss issue? 
                
      was (Author: chinivar):
    Alex,
I am seeing the same exact issue of contextDestroyed not being called on Windows (64 bit) with JBoss 7.1.1 Final version.  Is there a workaround for this issue? 
Alexey,
How did you resolve it? Why do you say it is not a Jboss issue? 
                  
> 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.0.2.Final, 7.1.0.Final, 7.1.1.Final
>         Environment: Windows 7 64 bit
>            Reporter: Alexey Alexey
>            Assignee: Jason Greene
>              Labels: ServletContext, Servlet_Context
>
> Jboss 7.0.2, 7.1 (standalone) 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_classname_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