0 Replies Latest reply on Feb 23, 2015 7:17 PM by sbass

    Powershell script to drive Apache Commons Daemon (prunsrv.exe)

    sbass

      Hi,

       

      I've written a powershell script to drive the execution of the Apache Commons Daemon (prunsrv.exe).  The goal is to use ACD to run JBoss 7 as a Windows Service.

       

      This script is derivative from these posts:

      Running JBoss as windows service with procrun

      Re: Running jboss EAP 6.1 as service in Windows

       

      The settings in the script need to be fixed, which is related to this post:

      Installing jboss-as-7.1.1.Final as a Windows Service using Apache Commons Daemon (prunsrv.exe)

       

      Nevertheless, I thought the script might be useful to the community and for those finding this post in the future.

       

      Feedback on the script more than welcome.

       

      Regards,

      Scott