Here are the steps to install the ActiveMQ broker as an NT service:
- After download, Go to ACTIVEMQ_HOME/bin/win32
- Run InstallService.bat
- Modify bin/win32/wrapper.conf. Update ../.. and .. to physical path. (May not be needed except on VISTA).
- Modify C:\Users\DavidQ\Apache\ActiveMQ\apache-activemq-5.2.0\bin\win32\wrapper.conf
- Modify C:\Users\DavidQ\Apache\ActiveMQ\apache-activemq-5.2.0\conf\log4j.properties
# Log file to use for wrapper output logging.
## daq wrapper.logfile=%ACTIVEMQ_BASE%/data/wrapper.log
wrapper.logfile=C:/Users/DavidQ/Apache/ActiveMQ/wrapper.log
# File appender
#daq log4j.appender.out.file=${activemq.base}/data/activemq.log
log4j.appender.out.file=C:/Users/DavidQ/Apache/ActiveMQ/activemq.log
After runinng InstallService.bat, the ActiveMQ service should be added to the list of NT services. It is not started by default.
To verify, go to control panel -> administrative tools -> services and look for the ActiveMQ service. Here you can start the ActiveMQ service or configure it to start automatically every time the system boots.
To administer, navigate to http://localhost:8161/admin/
To remove the ActiveMQ service:
- Stop the service from running.
- Run UninstallService.bat