[ 
https://issues.apache.org/jira/browse/MTOMCAT-296?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Marcus Beyer updated MTOMCAT-296:
---------------------------------
    Description: 
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, but with some kind of *stop* parameter 
like this:

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

  was:
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, but with some kind of *stop* parameter 
like this:

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


> 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.1, 2.2
>            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, but 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-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to