On 16/11/2020 20:00, Mark Thomas wrote:
On 16/11/2020 18:12, Mladen Turk wrote:

This means that instead complex configuration, one
can use catalina.bat directly, enabling versatile customization

So to check my understanding:
- sc.exe is used to manage the service
- configuration is via the same mechanisms used when starting from the
   command line
- svcbatch provides the plumbing to enable a service to be created from
   a batch file
- svcbatch requires some configuration but a lot less than procrun
   because it pushes most of the config to the batch file or sc.exe


sc.exe is Microsoft's utility shipped with every Windows
which means that service application does not have to
implement all the installation, removal etc.

svcbatch.exe is service wrapper that basically
runs 'cmd.exe /C myservice.bat'

You can create a simple myservice.bat with arbitrary
content to lunch any app.
I have tested it with all tomcat versions, JBoss EAP,
Kubernetes, Jenkins etc.


I'd like to get community feedback on that project, and
if proven useful we might consider using it as addon
or replacement for procrun.

Simpler configuration is good. There has been a steady stream of
enhancement requests to procrun to support various features. If svcbatch
avoids that then that would be a positive.

There would need to be a check for feature parity before any discussion
of replacing procrun.


Sure.


Any reason not to replace procrun in Commons Daemon?


SvcBatch does not need any Java code, and C code
simply does not belong into commons ecosystem.


Regards
--
^TM

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to