[ 
https://issues.apache.org/jira/browse/MTOMCAT-186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13567612#comment-13567612
 ] 

Hudson commented on MTOMCAT-186:
--------------------------------

Integrated in TomcatMavenPlugin-mvn3.x #231 (See 
[https://builds.apache.org/job/TomcatMavenPlugin-mvn3.x/231/])
    [MTOMCAT-186] Closing executable JAR does not call 
ServletContextListener.contextDestroyed() (Revision 1440948)

     Result = SUCCESS
olamy : http://svn.apache.org/viewvc/?view=rev&rev=1440948
Files : 
* /tomcat/maven-plugin/trunk/pom.xml
* 
/tomcat/maven-plugin/trunk/tomcat7-war-runner/src/main/java/org/apache/tomcat/maven/runner/Tomcat7Runner.java

                
> Closing executable JAR does not call ServletContextListener.contextDestroyed()
> ------------------------------------------------------------------------------
>
>                 Key: MTOMCAT-186
>                 URL: https://issues.apache.org/jira/browse/MTOMCAT-186
>             Project: Apache Tomcat Maven Plugin
>          Issue Type: Bug
>          Components: tomcat7
>    Affects Versions: 2.0
>         Environment: Java 7, maven 3.0.3
>            Reporter: Tomasz Nurkiewicz
>            Assignee: Olivier Lamy (*$^¨%`£)
>            Priority: Minor
>             Fix For: 2.1
>
>         Attachments: listener.zip
>
>
> Executable JAR created by {{tomcat7-maven-plugin:exec-war-only}} does not 
> call {{ServletContextListener.contextDestroyed()}} callback method when Java 
> process is killed or when Ctrl + C is pressed. There is no way (?) to cleanly 
> shutdown web application.
> The same application (attached) deployed on standalone Tomcat works just 
> fine. Hitting Ctrl + C correctly undeploys and shuts down application.
> Build attached application and run {{java -jar target/standalone.jar}}. Ctrl 
> + C kills the process immediately. On the other hand {standalone.war}} 
> deployed to normal Tomcat under {{/webapps}} shuts down correctly and we can 
> see log statement from {{contextDestroyed()}}.

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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to