You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Jack Cai (JIRA)" <ji...@apache.org> on 2008/11/04 15:36:48 UTC

[jira] Created: (GERONIMO-4394) Run Geronimo as a Windows service out of box

Run Geronimo as a Windows service out of box
--------------------------------------------

                 Key: GERONIMO-4394
                 URL: https://issues.apache.org/jira/browse/GERONIMO-4394
             Project: Geronimo
          Issue Type: New Feature
      Security Level: public (Regular issues)
          Components: commands
         Environment: Windows platforms
            Reporter: Jack Cai


Although there is already an option provided by the Java Service Wrapper, some users are more interested in seeing something similar to what is provided by Tomcat. Provided that we can easily take the technology from Tomcat (http://commons.apache.org/daemon/procrun.html), I'm keen to implement this same thing for Geronimo. The advantage of using Apache Commons procrun is that -

 1. Out-of-box experience, no need to download and install a third party component;
 2. Tray icon that further improves usability.

Eventually we would think to provide this "run as a service" capability for Linux/Unix platforms, but Windows would be a good start. 


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (GERONIMO-4394) Run Geronimo as a Windows service out of box

Posted by "Donald Woods (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-4394?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Donald Woods updated GERONIMO-4394:
-----------------------------------

    Fix Version/s: 2.2
         Assignee: Jack Cai

Assigning to Jack

> Run Geronimo as a Windows service out of box
> --------------------------------------------
>
>                 Key: GERONIMO-4394
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4394
>             Project: Geronimo
>          Issue Type: New Feature
>      Security Level: public(Regular issues) 
>          Components: commands
>         Environment: Windows platforms
>            Reporter: Jack Cai
>            Assignee: Jack Cai
>             Fix For: 2.2
>
>
> Although there is already an option provided by the Java Service Wrapper, some users are more interested in seeing something similar to what is provided by Tomcat. Provided that we can easily take the technology from Tomcat (http://commons.apache.org/daemon/procrun.html), I'm keen to implement this same thing for Geronimo. The advantage of using Apache Commons procrun is that -
>  1. Out-of-box experience, no need to download and install a third party component;
>  2. Tray icon that further improves usability.
> Eventually we would think to provide this "run as a service" capability for Linux/Unix platforms, but Windows would be a good start. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (GERONIMO-4394) Run Geronimo as a Windows service out of box

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

Jarek Gawor commented on GERONIMO-4394:
---------------------------------------

I updated the 2.2 documentation with some info on the procrun. Please see http://cwiki.apache.org/confluence/display/GMOxDOC22/Configuring+Geronimo+as+a+Windows+Service for more info.


> Run Geronimo as a Windows service out of box
> --------------------------------------------
>
>                 Key: GERONIMO-4394
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4394
>             Project: Geronimo
>          Issue Type: New Feature
>      Security Level: public(Regular issues) 
>          Components: commands
>         Environment: Windows platforms
>            Reporter: Jack Cai
>            Assignee: Jarek Gawor
>             Fix For: 2.1.4, 2.2
>
>         Attachments: GERONIMO-4394_Jack_1219.patch, geronimosrv.exe, geronimosrvw.exe, osservice.zip, README
>
>
> Although there is already an option provided by the Java Service Wrapper, some users are more interested in seeing something similar to what is provided by Tomcat. Provided that we can easily take the technology from Tomcat (http://commons.apache.org/daemon/procrun.html), I'm keen to implement this same thing for Geronimo. The advantage of using Apache Commons procrun is that -
>  1. Out-of-box experience, no need to download and install a third party component;
>  2. Tray icon that further improves usability.
> Eventually we would think to provide this "run as a service" capability for Linux/Unix platforms, but Windows would be a good start. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (GERONIMO-4394) Run Geronimo as a Windows service out of box

Posted by "Jack Cai (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-4394?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jack Cai updated GERONIMO-4394:
-------------------------------

    Attachment: geronimosrvw.exe

> Run Geronimo as a Windows service out of box
> --------------------------------------------
>
>                 Key: GERONIMO-4394
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4394
>             Project: Geronimo
>          Issue Type: New Feature
>      Security Level: public(Regular issues) 
>          Components: commands
>         Environment: Windows platforms
>            Reporter: Jack Cai
>            Assignee: Jack Cai
>             Fix For: 2.2
>
>         Attachments: GERONIMO-4394_Jack_1219.patch, geronimosrv.exe, geronimosrvw.exe, osservice.zip
>
>
> Although there is already an option provided by the Java Service Wrapper, some users are more interested in seeing something similar to what is provided by Tomcat. Provided that we can easily take the technology from Tomcat (http://commons.apache.org/daemon/procrun.html), I'm keen to implement this same thing for Geronimo. The advantage of using Apache Commons procrun is that -
>  1. Out-of-box experience, no need to download and install a third party component;
>  2. Tray icon that further improves usability.
> Eventually we would think to provide this "run as a service" capability for Linux/Unix platforms, but Windows would be a good start. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (GERONIMO-4394) Run Geronimo as a Windows service out of box

Posted by "Jack Cai (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-4394?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jack Cai updated GERONIMO-4394:
-------------------------------

    Attachment:     (was: geronimosrvw.exe)

> Run Geronimo as a Windows service out of box
> --------------------------------------------
>
>                 Key: GERONIMO-4394
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4394
>             Project: Geronimo
>          Issue Type: New Feature
>      Security Level: public(Regular issues) 
>          Components: commands
>         Environment: Windows platforms
>            Reporter: Jack Cai
>            Assignee: Jack Cai
>             Fix For: 2.2
>
>         Attachments: osservice.zip
>
>
> Although there is already an option provided by the Java Service Wrapper, some users are more interested in seeing something similar to what is provided by Tomcat. Provided that we can easily take the technology from Tomcat (http://commons.apache.org/daemon/procrun.html), I'm keen to implement this same thing for Geronimo. The advantage of using Apache Commons procrun is that -
>  1. Out-of-box experience, no need to download and install a third party component;
>  2. Tray icon that further improves usability.
> Eventually we would think to provide this "run as a service" capability for Linux/Unix platforms, but Windows would be a good start. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (GERONIMO-4394) Run Geronimo as a Windows service out of box

Posted by "Jack Cai (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-4394?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jack Cai updated GERONIMO-4394:
-------------------------------

    Attachment: geronimosrvw.exe

This file should go to plugins/osservice/geronimo-procrun/src/main/resources/bin/. It is compiled from Apache Commons Daemo rev727325 without any changes.

> Run Geronimo as a Windows service out of box
> --------------------------------------------
>
>                 Key: GERONIMO-4394
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4394
>             Project: Geronimo
>          Issue Type: New Feature
>      Security Level: public(Regular issues) 
>          Components: commands
>         Environment: Windows platforms
>            Reporter: Jack Cai
>            Assignee: Jack Cai
>             Fix For: 2.2
>
>         Attachments: GERONIMO-4394_Jack.patch, geronimosrvw.exe, osservice.zip
>
>
> Although there is already an option provided by the Java Service Wrapper, some users are more interested in seeing something similar to what is provided by Tomcat. Provided that we can easily take the technology from Tomcat (http://commons.apache.org/daemon/procrun.html), I'm keen to implement this same thing for Geronimo. The advantage of using Apache Commons procrun is that -
>  1. Out-of-box experience, no need to download and install a third party component;
>  2. Tray icon that further improves usability.
> Eventually we would think to provide this "run as a service" capability for Linux/Unix platforms, but Windows would be a good start. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (GERONIMO-4394) Run Geronimo as a Windows service out of box

Posted by "Jack Cai (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-4394?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jack Cai closed GERONIMO-4394.
------------------------------


> Run Geronimo as a Windows service out of box
> --------------------------------------------
>
>                 Key: GERONIMO-4394
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4394
>             Project: Geronimo
>          Issue Type: New Feature
>      Security Level: public(Regular issues) 
>          Components: commands
>         Environment: Windows platforms
>            Reporter: Jack Cai
>            Assignee: Jarek Gawor
>             Fix For: 2.1.4, 2.2
>
>         Attachments: GERONIMO-4394_Jack_1219.patch, geronimosrv.exe, geronimosrvw.exe, osservice.zip, README
>
>
> Although there is already an option provided by the Java Service Wrapper, some users are more interested in seeing something similar to what is provided by Tomcat. Provided that we can easily take the technology from Tomcat (http://commons.apache.org/daemon/procrun.html), I'm keen to implement this same thing for Geronimo. The advantage of using Apache Commons procrun is that -
>  1. Out-of-box experience, no need to download and install a third party component;
>  2. Tray icon that further improves usability.
> Eventually we would think to provide this "run as a service" capability for Linux/Unix platforms, but Windows would be a good start. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (GERONIMO-4394) Run Geronimo as a Windows service out of box

Posted by "Jack Cai (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-4394?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jack Cai updated GERONIMO-4394:
-------------------------------

    Attachment: osservice.zip

Providing a prototype for comments - not for code commitment.

> Run Geronimo as a Windows service out of box
> --------------------------------------------
>
>                 Key: GERONIMO-4394
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4394
>             Project: Geronimo
>          Issue Type: New Feature
>      Security Level: public(Regular issues) 
>          Components: commands
>         Environment: Windows platforms
>            Reporter: Jack Cai
>            Assignee: Jack Cai
>             Fix For: 2.2
>
>         Attachments: osservice.zip
>
>
> Although there is already an option provided by the Java Service Wrapper, some users are more interested in seeing something similar to what is provided by Tomcat. Provided that we can easily take the technology from Tomcat (http://commons.apache.org/daemon/procrun.html), I'm keen to implement this same thing for Geronimo. The advantage of using Apache Commons procrun is that -
>  1. Out-of-box experience, no need to download and install a third party component;
>  2. Tray icon that further improves usability.
> Eventually we would think to provide this "run as a service" capability for Linux/Unix platforms, but Windows would be a good start. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (GERONIMO-4394) Run Geronimo as a Windows service out of box

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

Jack Cai commented on GERONIMO-4394:
------------------------------------

BTW, I have updated the attached exe files. I have downloaded them to verify they do work.

Jarek, can you re-download all the files here and have another try? I hope this feature can be ready in G 2.2 timeframe. Thanks a lot!

> Run Geronimo as a Windows service out of box
> --------------------------------------------
>
>                 Key: GERONIMO-4394
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4394
>             Project: Geronimo
>          Issue Type: New Feature
>      Security Level: public(Regular issues) 
>          Components: commands
>         Environment: Windows platforms
>            Reporter: Jack Cai
>            Assignee: Jarek Gawor
>             Fix For: 2.2
>
>         Attachments: GERONIMO-4394_Jack_1219.patch, geronimosrv.exe, geronimosrvw.exe, osservice.zip
>
>
> Although there is already an option provided by the Java Service Wrapper, some users are more interested in seeing something similar to what is provided by Tomcat. Provided that we can easily take the technology from Tomcat (http://commons.apache.org/daemon/procrun.html), I'm keen to implement this same thing for Geronimo. The advantage of using Apache Commons procrun is that -
>  1. Out-of-box experience, no need to download and install a third party component;
>  2. Tray icon that further improves usability.
> Eventually we would think to provide this "run as a service" capability for Linux/Unix platforms, but Windows would be a good start. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (GERONIMO-4394) Run Geronimo as a Windows service out of box

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

Jarek Gawor reassigned GERONIMO-4394:
-------------------------------------

    Assignee: Jarek Gawor  (was: Jack Cai)

> Run Geronimo as a Windows service out of box
> --------------------------------------------
>
>                 Key: GERONIMO-4394
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4394
>             Project: Geronimo
>          Issue Type: New Feature
>      Security Level: public(Regular issues) 
>          Components: commands
>         Environment: Windows platforms
>            Reporter: Jack Cai
>            Assignee: Jarek Gawor
>             Fix For: 2.2
>
>         Attachments: GERONIMO-4394_Jack_1219.patch, geronimosrv.exe, geronimosrvw.exe, osservice.zip
>
>
> Although there is already an option provided by the Java Service Wrapper, some users are more interested in seeing something similar to what is provided by Tomcat. Provided that we can easily take the technology from Tomcat (http://commons.apache.org/daemon/procrun.html), I'm keen to implement this same thing for Geronimo. The advantage of using Apache Commons procrun is that -
>  1. Out-of-box experience, no need to download and install a third party component;
>  2. Tray icon that further improves usability.
> Eventually we would think to provide this "run as a service" capability for Linux/Unix platforms, but Windows would be a good start. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (GERONIMO-4394) Run Geronimo as a Windows service out of box

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

Jarek Gawor commented on GERONIMO-4394:
---------------------------------------

So all you need to do with the plugin is just install the *.exe and *.bat files into $GERONIMO_HOME/bin directory? If so, put these files into src/main/resources/bin directory and just add <copy-file dest-dir="bin">bin</copy-file> entry in the car-maven-plugin in your pom.xml. See framework/configs/plugin for an example.


> Run Geronimo as a Windows service out of box
> --------------------------------------------
>
>                 Key: GERONIMO-4394
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4394
>             Project: Geronimo
>          Issue Type: New Feature
>      Security Level: public(Regular issues) 
>          Components: commands
>         Environment: Windows platforms
>            Reporter: Jack Cai
>            Assignee: Jack Cai
>             Fix For: 2.2
>
>         Attachments: osservice.zip
>
>
> Although there is already an option provided by the Java Service Wrapper, some users are more interested in seeing something similar to what is provided by Tomcat. Provided that we can easily take the technology from Tomcat (http://commons.apache.org/daemon/procrun.html), I'm keen to implement this same thing for Geronimo. The advantage of using Apache Commons procrun is that -
>  1. Out-of-box experience, no need to download and install a third party component;
>  2. Tray icon that further improves usability.
> Eventually we would think to provide this "run as a service" capability for Linux/Unix platforms, but Windows would be a good start. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (GERONIMO-4394) Run Geronimo as a Windows service out of box

Posted by "Jack Cai (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-4394?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jack Cai updated GERONIMO-4394:
-------------------------------

    Attachment:     (was: GERONIMO-4394_Jack.patch)

> Run Geronimo as a Windows service out of box
> --------------------------------------------
>
>                 Key: GERONIMO-4394
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4394
>             Project: Geronimo
>          Issue Type: New Feature
>      Security Level: public(Regular issues) 
>          Components: commands
>         Environment: Windows platforms
>            Reporter: Jack Cai
>            Assignee: Jack Cai
>             Fix For: 2.2
>
>         Attachments: osservice.zip
>
>
> Although there is already an option provided by the Java Service Wrapper, some users are more interested in seeing something similar to what is provided by Tomcat. Provided that we can easily take the technology from Tomcat (http://commons.apache.org/daemon/procrun.html), I'm keen to implement this same thing for Geronimo. The advantage of using Apache Commons procrun is that -
>  1. Out-of-box experience, no need to download and install a third party component;
>  2. Tray icon that further improves usability.
> Eventually we would think to provide this "run as a service" capability for Linux/Unix platforms, but Windows would be a good start. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (GERONIMO-4394) Run Geronimo as a Windows service out of box

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

Jeff Lu commented on GERONIMO-4394:
-----------------------------------

How do you pass in extra settings?
Can it invoke geronimo.bat?

> Run Geronimo as a Windows service out of box
> --------------------------------------------
>
>                 Key: GERONIMO-4394
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4394
>             Project: Geronimo
>          Issue Type: New Feature
>      Security Level: public(Regular issues) 
>          Components: commands
>         Environment: Windows platforms
>            Reporter: Jack Cai
>            Assignee: Jarek Gawor
>             Fix For: 2.1.4, 2.2
>
>         Attachments: GERONIMO-4394_Jack_1219.patch, geronimosrv.exe, geronimosrvw.exe, osservice.zip, README
>
>
> Although there is already an option provided by the Java Service Wrapper, some users are more interested in seeing something similar to what is provided by Tomcat. Provided that we can easily take the technology from Tomcat (http://commons.apache.org/daemon/procrun.html), I'm keen to implement this same thing for Geronimo. The advantage of using Apache Commons procrun is that -
>  1. Out-of-box experience, no need to download and install a third party component;
>  2. Tray icon that further improves usability.
> Eventually we would think to provide this "run as a service" capability for Linux/Unix platforms, but Windows would be a good start. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (GERONIMO-4394) Run Geronimo as a Windows service out of box

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

Jarek Gawor commented on GERONIMO-4394:
---------------------------------------

I'm unable to execute the attached .exe files. Maybe they got corrupted somehow or do I need to do something else to run them (e.g. install some dll)? 

> Run Geronimo as a Windows service out of box
> --------------------------------------------
>
>                 Key: GERONIMO-4394
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4394
>             Project: Geronimo
>          Issue Type: New Feature
>      Security Level: public(Regular issues) 
>          Components: commands
>         Environment: Windows platforms
>            Reporter: Jack Cai
>            Assignee: Jack Cai
>             Fix For: 2.2
>
>         Attachments: GERONIMO-4394_Jack.patch, geronimosrv.exe, geronimosrvw.exe, osservice.zip
>
>
> Although there is already an option provided by the Java Service Wrapper, some users are more interested in seeing something similar to what is provided by Tomcat. Provided that we can easily take the technology from Tomcat (http://commons.apache.org/daemon/procrun.html), I'm keen to implement this same thing for Geronimo. The advantage of using Apache Commons procrun is that -
>  1. Out-of-box experience, no need to download and install a third party component;
>  2. Tray icon that further improves usability.
> Eventually we would think to provide this "run as a service" capability for Linux/Unix platforms, but Windows would be a good start. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (GERONIMO-4394) Run Geronimo as a Windows service out of box

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

Jarek Gawor commented on GERONIMO-4394:
---------------------------------------

I committed the patch to trunk (revision 728200) and branches/2.1 (revision 728203). I modified the patch slightly: 1) I changed the batch script to display JRE_HOME instead of JAVA Runtime to match the other scripts and since really $JRE_HOME will be used anyway, and 2) I dropped the 'osservice' module and just put 'procrun' module directly under plugins. Thanks for the patch! 
Also, I think it would be great to have some instructions (like a README file in svn or somewhere) how to exactly recreate the exe file. Can you provide that info if possible?


> Run Geronimo as a Windows service out of box
> --------------------------------------------
>
>                 Key: GERONIMO-4394
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4394
>             Project: Geronimo
>          Issue Type: New Feature
>      Security Level: public(Regular issues) 
>          Components: commands
>         Environment: Windows platforms
>            Reporter: Jack Cai
>            Assignee: Jarek Gawor
>             Fix For: 2.2
>
>         Attachments: GERONIMO-4394_Jack_1219.patch, geronimosrv.exe, geronimosrvw.exe, osservice.zip
>
>
> Although there is already an option provided by the Java Service Wrapper, some users are more interested in seeing something similar to what is provided by Tomcat. Provided that we can easily take the technology from Tomcat (http://commons.apache.org/daemon/procrun.html), I'm keen to implement this same thing for Geronimo. The advantage of using Apache Commons procrun is that -
>  1. Out-of-box experience, no need to download and install a third party component;
>  2. Tray icon that further improves usability.
> Eventually we would think to provide this "run as a service" capability for Linux/Unix platforms, but Windows would be a good start. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (GERONIMO-4394) Run Geronimo as a Windows service out of box

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

Jarek Gawor resolved GERONIMO-4394.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 2.1.4

Committed the readme file to trunk (revision 728369) and branches/2.1 (revision 728370). Thanks again!


> Run Geronimo as a Windows service out of box
> --------------------------------------------
>
>                 Key: GERONIMO-4394
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4394
>             Project: Geronimo
>          Issue Type: New Feature
>      Security Level: public(Regular issues) 
>          Components: commands
>         Environment: Windows platforms
>            Reporter: Jack Cai
>            Assignee: Jarek Gawor
>             Fix For: 2.1.4, 2.2
>
>         Attachments: GERONIMO-4394_Jack_1219.patch, geronimosrv.exe, geronimosrvw.exe, osservice.zip, README
>
>
> Although there is already an option provided by the Java Service Wrapper, some users are more interested in seeing something similar to what is provided by Tomcat. Provided that we can easily take the technology from Tomcat (http://commons.apache.org/daemon/procrun.html), I'm keen to implement this same thing for Geronimo. The advantage of using Apache Commons procrun is that -
>  1. Out-of-box experience, no need to download and install a third party component;
>  2. Tray icon that further improves usability.
> Eventually we would think to provide this "run as a service" capability for Linux/Unix platforms, but Windows would be a good start. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Issue Comment Edited: (GERONIMO-4394) Run Geronimo as a Windows service out of box

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

caijunj edited comment on GERONIMO-4394 at 12/17/08 2:01 AM:
--------------------------------------------------------------

Thanks Jarek for your advice! Now I've come out with a more compact version. I can successfully install the car to a running server to add those new commands into its bin dir. The only myth left is that after installation, the car in the server's repo is not a car archive, but extracted there.

I've created a patch for the 2.1.x branch. It can be easily applied to 2.2 branch if all occurances of "2.1.4-SNAPSHOT" are replaced with "2.2-SNAPSHOT". The patch does not include the 2 binary exe files though. I'm not sure about the convention of how to add them (in the patch or separately?), so I just attach them separately here. They should both be put into the plugins/osservice/geronimo-procrun/src/main/resources/bin/ dir.

      was (Author: caijunj):
    Thanks Jarek for your advice! Now I've come out with a more impact version. I can successfully install the car to a running server to add those new commands into its bin dir. The only myth left is that after installation, the car in the server's repo is not a car archive, but extracted there.

I've created a patch for the 2.1.x branch. It can be easily applied to 2.2 branch if all occurances of "2.1.4-SNAPSHOT" are replaced with "2.2-SNAPSHOT". The patch does not include the 2 binary exe files though. I'm not sure about the convention of how to add them (in the patch or separately?), so I just attach them separately here. They should both be put into the plugins/osservice/geronimo-procrun/src/main/resources/bin/ dir.
  
> Run Geronimo as a Windows service out of box
> --------------------------------------------
>
>                 Key: GERONIMO-4394
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4394
>             Project: Geronimo
>          Issue Type: New Feature
>      Security Level: public(Regular issues) 
>          Components: commands
>         Environment: Windows platforms
>            Reporter: Jack Cai
>            Assignee: Jack Cai
>             Fix For: 2.2
>
>         Attachments: GERONIMO-4394_Jack.patch, geronimosrv.exe, geronimosrvw.exe, osservice.zip
>
>
> Although there is already an option provided by the Java Service Wrapper, some users are more interested in seeing something similar to what is provided by Tomcat. Provided that we can easily take the technology from Tomcat (http://commons.apache.org/daemon/procrun.html), I'm keen to implement this same thing for Geronimo. The advantage of using Apache Commons procrun is that -
>  1. Out-of-box experience, no need to download and install a third party component;
>  2. Tray icon that further improves usability.
> Eventually we would think to provide this "run as a service" capability for Linux/Unix platforms, but Windows would be a good start. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (GERONIMO-4394) Run Geronimo as a Windows service out of box

Posted by "Jack Cai (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-4394?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jack Cai updated GERONIMO-4394:
-------------------------------

    Attachment: geronimosrv.exe

This file should go to plugins/osservice/geronimo-procrun/src/main/resources/bin/. It is compiled from Apache Commons Daemo rev727325 with the patch attached in https://issues.apache.org/jira/browse/DAEMON-118 from me.

> Run Geronimo as a Windows service out of box
> --------------------------------------------
>
>                 Key: GERONIMO-4394
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4394
>             Project: Geronimo
>          Issue Type: New Feature
>      Security Level: public(Regular issues) 
>          Components: commands
>         Environment: Windows platforms
>            Reporter: Jack Cai
>            Assignee: Jack Cai
>             Fix For: 2.2
>
>         Attachments: GERONIMO-4394_Jack.patch, geronimosrv.exe, geronimosrvw.exe, osservice.zip
>
>
> Although there is already an option provided by the Java Service Wrapper, some users are more interested in seeing something similar to what is provided by Tomcat. Provided that we can easily take the technology from Tomcat (http://commons.apache.org/daemon/procrun.html), I'm keen to implement this same thing for Geronimo. The advantage of using Apache Commons procrun is that -
>  1. Out-of-box experience, no need to download and install a third party component;
>  2. Tray icon that further improves usability.
> Eventually we would think to provide this "run as a service" capability for Linux/Unix platforms, but Windows would be a good start. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (GERONIMO-4394) Run Geronimo as a Windows service out of box

Posted by "Jack Cai (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-4394?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jack Cai updated GERONIMO-4394:
-------------------------------

    Attachment:     (was: geronimosrv.exe)

> Run Geronimo as a Windows service out of box
> --------------------------------------------
>
>                 Key: GERONIMO-4394
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4394
>             Project: Geronimo
>          Issue Type: New Feature
>      Security Level: public(Regular issues) 
>          Components: commands
>         Environment: Windows platforms
>            Reporter: Jack Cai
>            Assignee: Jack Cai
>             Fix For: 2.2
>
>         Attachments: osservice.zip
>
>
> Although there is already an option provided by the Java Service Wrapper, some users are more interested in seeing something similar to what is provided by Tomcat. Provided that we can easily take the technology from Tomcat (http://commons.apache.org/daemon/procrun.html), I'm keen to implement this same thing for Geronimo. The advantage of using Apache Commons procrun is that -
>  1. Out-of-box experience, no need to download and install a third party component;
>  2. Tray icon that further improves usability.
> Eventually we would think to provide this "run as a service" capability for Linux/Unix platforms, but Windows would be a good start. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (GERONIMO-4394) Run Geronimo as a Windows service out of box

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

Jack Cai commented on GERONIMO-4394:
------------------------------------

Thanks Jarek! I updated the doc in several places -

1. Add some more information on using Commons Daemon

2. Changed a few lines for Java Service Wrapper
 * replace org.apache.geronimo.base.dir with org.apache.geronimo.home.dir
 * removed unnecessary classpath in wrap.conf
 * replace most 2.1 occurances with 2.2

> Run Geronimo as a Windows service out of box
> --------------------------------------------
>
>                 Key: GERONIMO-4394
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4394
>             Project: Geronimo
>          Issue Type: New Feature
>      Security Level: public(Regular issues) 
>          Components: commands
>         Environment: Windows platforms
>            Reporter: Jack Cai
>            Assignee: Jarek Gawor
>             Fix For: 2.1.4, 2.2
>
>         Attachments: GERONIMO-4394_Jack_1219.patch, geronimosrv.exe, geronimosrvw.exe, osservice.zip, README
>
>
> Although there is already an option provided by the Java Service Wrapper, some users are more interested in seeing something similar to what is provided by Tomcat. Provided that we can easily take the technology from Tomcat (http://commons.apache.org/daemon/procrun.html), I'm keen to implement this same thing for Geronimo. The advantage of using Apache Commons procrun is that -
>  1. Out-of-box experience, no need to download and install a third party component;
>  2. Tray icon that further improves usability.
> Eventually we would think to provide this "run as a service" capability for Linux/Unix platforms, but Windows would be a good start. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (GERONIMO-4394) Run Geronimo as a Windows service out of box

Posted by "Jack Cai (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-4394?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jack Cai updated GERONIMO-4394:
-------------------------------

    Attachment: GERONIMO-4394_Jack_1219.patch

Updated patch to simplify the batch file usage.  I guess I need to add some doc here to explain the usage -

1. Run the following command in the bin dir from command line. This will install the geronimo service with the name "geronimosrv" using default parameters. Users can also specify the username/password/rmiport used to shutdown the service. The usage information can be displayed by simply issue the command without any arguments.
  service_pr.bat intall

2. Now there're two ways to start/stop the service: (a)Using Windows' service control panel. There is a new service shown as "Apache Geronimo Service - geronimosrv" there. (b)Launch the geronimosrvw.exe. This brings up the config GUI for the service. Click start/stop to control the service there. If geronimosrvw.exe is launched with parameter "//MS//", then a tray icon will be added.

3. To remove the service, issue -
  service_pr.bat remove

4. If user launches geronimosrv.exe, this will start Geronimo in the console (instead of as a service).

In fact, geronimosrv.exe and geronimosrvw.exe are renamed from pronsrv.exe and pronmgr.exe of Apache Commons Daemon. So all the doc of  Commons Daemon applis (see here: http://commons.apache.org/daemon/procrun.html).

I've tested under Windows XP 32bit and Windows 2008 64bit. Both look OK with no MS Visual Studio installed.


> Run Geronimo as a Windows service out of box
> --------------------------------------------
>
>                 Key: GERONIMO-4394
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4394
>             Project: Geronimo
>          Issue Type: New Feature
>      Security Level: public(Regular issues) 
>          Components: commands
>         Environment: Windows platforms
>            Reporter: Jack Cai
>            Assignee: Jack Cai
>             Fix For: 2.2
>
>         Attachments: GERONIMO-4394_Jack_1219.patch, geronimosrv.exe, geronimosrvw.exe, osservice.zip
>
>
> Although there is already an option provided by the Java Service Wrapper, some users are more interested in seeing something similar to what is provided by Tomcat. Provided that we can easily take the technology from Tomcat (http://commons.apache.org/daemon/procrun.html), I'm keen to implement this same thing for Geronimo. The advantage of using Apache Commons procrun is that -
>  1. Out-of-box experience, no need to download and install a third party component;
>  2. Tray icon that further improves usability.
> Eventually we would think to provide this "run as a service" capability for Linux/Unix platforms, but Windows would be a good start. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (GERONIMO-4394) Run Geronimo as a Windows service out of box

Posted by "Jack Cai (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-4394?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jack Cai updated GERONIMO-4394:
-------------------------------

    Attachment: README

Thanks Jarek! I'm attaching a simple README here per your advice.

> Run Geronimo as a Windows service out of box
> --------------------------------------------
>
>                 Key: GERONIMO-4394
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4394
>             Project: Geronimo
>          Issue Type: New Feature
>      Security Level: public(Regular issues) 
>          Components: commands
>         Environment: Windows platforms
>            Reporter: Jack Cai
>            Assignee: Jarek Gawor
>             Fix For: 2.2
>
>         Attachments: GERONIMO-4394_Jack_1219.patch, geronimosrv.exe, geronimosrvw.exe, osservice.zip, README
>
>
> Although there is already an option provided by the Java Service Wrapper, some users are more interested in seeing something similar to what is provided by Tomcat. Provided that we can easily take the technology from Tomcat (http://commons.apache.org/daemon/procrun.html), I'm keen to implement this same thing for Geronimo. The advantage of using Apache Commons procrun is that -
>  1. Out-of-box experience, no need to download and install a third party component;
>  2. Tray icon that further improves usability.
> Eventually we would think to provide this "run as a service" capability for Linux/Unix platforms, but Windows would be a good start. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (GERONIMO-4394) Run Geronimo as a Windows service out of box

Posted by "Jack Cai (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-4394?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jack Cai updated GERONIMO-4394:
-------------------------------

    Attachment: GERONIMO-4394_Jack.patch

Thanks Jarek for your advice! Now I've come out with a more impact version. I can successfully install the car to a running server to add those new commands into its bin dir. The only myth left is that after installation, the car in the server's repo is not a car archive, but extracted there.

I've created a patch for the 2.1.x branch. It can be easily applied to 2.2 branch if all occurances of "2.1.4-SNAPSHOT" are replaced with "2.2-SNAPSHOT". The patch does not include the 2 binary exe files though. I'm not sure about the convention of how to add them (in the patch or separately?), so I just attach them separately here. They should both be put into the plugins/osservice/geronimo-procrun/src/main/resources/bin/ dir.

> Run Geronimo as a Windows service out of box
> --------------------------------------------
>
>                 Key: GERONIMO-4394
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4394
>             Project: Geronimo
>          Issue Type: New Feature
>      Security Level: public(Regular issues) 
>          Components: commands
>         Environment: Windows platforms
>            Reporter: Jack Cai
>            Assignee: Jack Cai
>             Fix For: 2.2
>
>         Attachments: GERONIMO-4394_Jack.patch, osservice.zip
>
>
> Although there is already an option provided by the Java Service Wrapper, some users are more interested in seeing something similar to what is provided by Tomcat. Provided that we can easily take the technology from Tomcat (http://commons.apache.org/daemon/procrun.html), I'm keen to implement this same thing for Geronimo. The advantage of using Apache Commons procrun is that -
>  1. Out-of-box experience, no need to download and install a third party component;
>  2. Tray icon that further improves usability.
> Eventually we would think to provide this "run as a service" capability for Linux/Unix platforms, but Windows would be a good start. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (GERONIMO-4394) Run Geronimo as a Windows service out of box

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

Jack Cai commented on GERONIMO-4394:
------------------------------------

You can use the geronimosrvw.exe tool to edit the startup/shutdown arguments.  Alternatively you can also use the geronimosrv.exe command line to do that. See Apache Commons Daemon doc: http://commons.apache.org/daemon/procrun.html

You can see the tool call java.exe directly instead of geronimo.bat.

> Run Geronimo as a Windows service out of box
> --------------------------------------------
>
>                 Key: GERONIMO-4394
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4394
>             Project: Geronimo
>          Issue Type: New Feature
>      Security Level: public(Regular issues) 
>          Components: commands
>         Environment: Windows platforms
>            Reporter: Jack Cai
>            Assignee: Jarek Gawor
>             Fix For: 2.1.4, 2.2
>
>         Attachments: GERONIMO-4394_Jack_1219.patch, geronimosrv.exe, geronimosrvw.exe, osservice.zip, README
>
>
> Although there is already an option provided by the Java Service Wrapper, some users are more interested in seeing something similar to what is provided by Tomcat. Provided that we can easily take the technology from Tomcat (http://commons.apache.org/daemon/procrun.html), I'm keen to implement this same thing for Geronimo. The advantage of using Apache Commons procrun is that -
>  1. Out-of-box experience, no need to download and install a third party component;
>  2. Tray icon that further improves usability.
> Eventually we would think to provide this "run as a service" capability for Linux/Unix platforms, but Windows would be a good start. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (GERONIMO-4394) Run Geronimo as a Windows service out of box

Posted by "Jack Cai (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-4394?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jack Cai updated GERONIMO-4394:
-------------------------------

    Attachment: geronimosrv.exe

> Run Geronimo as a Windows service out of box
> --------------------------------------------
>
>                 Key: GERONIMO-4394
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4394
>             Project: Geronimo
>          Issue Type: New Feature
>      Security Level: public(Regular issues) 
>          Components: commands
>         Environment: Windows platforms
>            Reporter: Jack Cai
>            Assignee: Jack Cai
>             Fix For: 2.2
>
>         Attachments: GERONIMO-4394_Jack_1219.patch, geronimosrv.exe, geronimosrvw.exe, osservice.zip
>
>
> Although there is already an option provided by the Java Service Wrapper, some users are more interested in seeing something similar to what is provided by Tomcat. Provided that we can easily take the technology from Tomcat (http://commons.apache.org/daemon/procrun.html), I'm keen to implement this same thing for Geronimo. The advantage of using Apache Commons procrun is that -
>  1. Out-of-box experience, no need to download and install a third party component;
>  2. Tray icon that further improves usability.
> Eventually we would think to provide this "run as a service" capability for Linux/Unix platforms, but Windows would be a good start. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.