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

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

    Scott Bass Newbie

      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