I'm having some problems setting up ActiveMQ. The jolokia-access.xml file cannot be found. I received the following error message:
Jolokia-agent cannot find path
425 views Asked by Waldrin At
2
There are 2 answers
1
On
Late but at least a working solution to the above issue. I had exactly the same issue whereby the ActiveMQ log reported not finding ../conf/jolokia-access.xml due to stripping out the path dividers and therefore not finding the file. This issue persists even up to apache-activemq-5.18.1
The fix was to simply provide absolute paths for the environment vars in the
D:\ActiveMQ\bin\win64\wrapper.conf
file as below:
#********************************************************************
# Wrapper Properties
#********************************************************************
# wrapper.debug=TRUE
set.default.ACTIVEMQ_HOME="D:/ActiveMQ/"
set.default.ACTIVEMQ_BASE="D:/ActiveMQ/"
set.default.ACTIVEMQ_CONF="D:/ActiveMQ/conf"
set.default.ACTIVEMQ_DATA="D:/ActiveMQ/data"
This completely fixed the issue. NOTE: I extract my ActiveMQ from its default versioned directory so I can maintain my absolute path with each upgrade.


Had problems with my
activemq.xml. Was able to run ActiveMQ after making a few changes to the config.