You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by "Marcus Beyer (JIRA)" <ji...@apache.org> on 2015/04/29 12:18:05 UTC

[jira] [Created] (MTOMCAT-296) shutdown switch for executable JAR

Marcus Beyer created MTOMCAT-296:
------------------------------------

             Summary: shutdown switch for executable JAR
                 Key: MTOMCAT-296
                 URL: https://issues.apache.org/jira/browse/MTOMCAT-296
             Project: Apache Tomcat Maven Plugin
          Issue Type: Wish
    Affects Versions: 2.2, 2.1
            Reporter: Marcus Beyer
            Priority: Critical


I am using the exec-war goal of tomcat7-maven-plugin version 2.1 (not 2.2 because of MTOMCAT-263) to create a jar artifact which contains a tomcat 7 with the deployed war of my project. Works fine.

However, in the target environment there is no possibility of a Ctrl+C to shutdown gracefully. Therefore I wish some other way to commit a shutdown signal, e.g. by calling the jar again with some kind of *stop* parameter like this:

{code}java -jar target/standalone.jar stop{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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