Uploaded image for project: 'Apache Tomcat Maven Plugin'
  1. Apache Tomcat Maven Plugin
  2. MTOMCAT-296

shutdown switch for executable JAR

    XMLWordPrintableJSON

Details

    • Wish
    • Status: Open
    • Critical
    • Resolution: Unresolved
    • 2.1, 2.2
    • None
    • None
    • None
    • Important

    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:

      java -jar target/standalone.jar stop

      Attachments

        Activity

          People

            Unassigned Unassigned
            mb Marcus Beyer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: