...
Download
View file name yajsw-stable-13.10.zip Unzip to the $HIVEMQ_HOME directory. If you followed the above-mentioned instructions, your $HIVEMQ_HOME directory is C:\hivemq.
If your $HIVEMQ_HOME directory is not C:\hivemq, but, for example, C:\hivemq\hivemq-4.9.15, or F:\HiveMQ, then you need to edit the wrapper’s configuration file.
The wrapper’s configuration file is
conf/wrapper.conf
.The line to edit is located at the end of the
wrapper.conf
file and looks like this:Code Block wrapper.java.additional.1 = -Dhivemq.home=C:\\hivemq
What you need to do is to update the C:\\hivemq according to your actual $HIVEMQ_HOME directory. For example, if your $HIVEMQ_HOME directory is F:\HiveMQ, you must update the line to:
Code Block wrapper.java.additional.1 = -Dhivemq.home=F:\\hivemqHiveMQ
Now, when the wrapper directory is located inside the $HIVEMQ_HOME directory and the wrapper.conf matches the actual $HIVEMQ_HOME, you can proceed to the service.
Remove the “old” (failing) HiveMQ service.
Run bat\installService.bat (Run As Administrator might be necessary) under newly unzipped service folder – this will install the new HiveMQ service.
Start the new HIveMQ service and monitor if it fails within 30 seconds.
If the HiveMQ service is running longer than 30 seconds without failing, verify the hivemq.log file, if it contains no errors and contains
HiveMQ started in ...
Next, verify that you can log in to the HiveMQ Control Center.
...