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