0

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

Justin Bertram
  • 29,372
  • 4
  • 21
  • 43
Waldrin
  • 1
  • 2

2 Answers2

0

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

Waldrin
  • 1
  • 2
0

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.

Icy
  • 1
  • 1
  • I don't understand why my post was edited on April 21 to remove the personal comment and regards. Please help me understand this. – Icy Apr 25 '23 at 22:12