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:23:06 UTC
[jira] [Updated] (MTOMCAT-296) shutdown switch for executable JAR
[ 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 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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org