You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Jarek Gawor (JIRA)" <ji...@apache.org> on 2012/11/27 22:38:58 UTC

[jira] [Created] (GERONIMO-6417) Launch listener

Jarek Gawor created GERONIMO-6417:
-------------------------------------

             Summary: Launch listener
                 Key: GERONIMO-6417
                 URL: https://issues.apache.org/jira/browse/GERONIMO-6417
             Project: Geronimo
          Issue Type: New Feature
      Security Level: public (Regular issues)
          Components: startup/shutdown
    Affects Versions: 3.0.0
            Reporter: Jarek Gawor
            Assignee: Jarek Gawor


Add support for launch listeners. This is so that one can register a listener to receive events about launcher starting and stopping the runtime in order to perform custom action based on those events.


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

[jira] [Commented] (GERONIMO-6417) Launch listener

Posted by "Jarek Gawor (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-6417?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13504995#comment-13504995 ] 

Jarek Gawor commented on GERONIMO-6417:
---------------------------------------

Committed changes in revision 1414408. Added a default launch listener to the server launcher that executes a specified script. A given script can be executed when launcher is starting the server, server is started and server is stopped. The scripts to execute are specified via system properties. Example:

-Dserver.starting.cmd=/root/starting.sh
-Dserver.started.cmd=/root/started.sh
-Dserver.stopped.cmd=/root/stopped.sh

All the properties are optional. An error code will be passed as the last argument to the stopped command. On Windows when executing an batch file one might need to specify the given command as "cmd.exe /C <path to batch file>".


                
> Launch listener
> ---------------
>
>                 Key: GERONIMO-6417
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-6417
>             Project: Geronimo
>          Issue Type: New Feature
>      Security Level: public(Regular issues) 
>          Components: startup/shutdown
>    Affects Versions: 3.0.0
>            Reporter: Jarek Gawor
>            Assignee: Jarek Gawor
>
> Add support for launch listeners. This is so that one can register a listener to receive events about launcher starting and stopping the runtime in order to perform custom action based on those events.

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