Jolokia-agent cannot find path

425 views Asked by At

I'm having some problems setting up ActiveMQ. The jolokia-access.xml file cannot be found. I received the following error message:

enter image description here

enter image description here

2

There are 2 answers

1
Waldrin On

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

1
Icy 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.