We were using Tanuki java service wrapper to run ActiveMQ previously. After migrating to a 64-bit server running Windows Server 2008 R2, we're not able to install ActiveMQ as a service unless we pay for the Standard or Professional version of java service wrapper.
I read that others were using Apache Commons Daemon as a service wrapper for ActiveMQ on 64-bit architectures http://blog.bigrocksoftware.com/2010/10/07/commons-daemon-procrun-as-a-java-service-wrapper-for-activemq/. The instructions on this site allowed me to successfully install ActiveMQ as a service on our server, but we received errors in our Event Log when starting the service. I commented on this post at the bottom of the page I was able to install ActiveMQ as a service using the instructions in this > article, however when I start it up via the Service control panel I get > Windows could not start the ActiveMQ on the local computer. For more > information, review the System Event Log. > When I check the Event Log I see > The ActiveMQ service terminated with service-specific error The operation > completed successfully.. > I think this may be related to my architecture. I’m running Windows server > 2008 R2, my processers are 64 bit Intel Xeon. I did not see that > architecture included in the commons-daemon package. When I installed, I > used the generic ‘prunsrv.exe’ file instead of the amd64/prunsrv.exe, or > the ia64/prunsrv.exe – I received errors when I tried to use these exe > files during installation, and was only able to install using the generic > prunsrv.exe. > Is there a way to get this to work with my architecture? or did I miss > anything? I was wondering if anyone had any suggestions for me on this list? Perhaps something I missed when installing via procrun, or another service wrapper that works on 64-bit Windows. Any comments are appreciated. Thanks.