Anubhav Mishra created AMQ-9470:
-----------------------------------
Summary: ActiveMQ JMX / Jolokia - Log4j reloadLog4jProperties
yields NoSuchMethodExpection
Key: AMQ-9470
URL: https://issues.apache.org/jira/browse/AMQ-9470
Project: ActiveMQ Classic
Issue Type: Bug
Affects Versions: 6.1.0, 5.18.3
Reporter: Anubhav Mishra
The Log4jConfiguration's JMX method to reload the log4j properties yield
NoSuchMethodException.
As the method resetConfiguration no longer exists, in LogManager.
Steps to reproduce:
# Start ActiveMQ
# Trigger JMX Method: reloadLog4jProperties
or Execute:
[<host>:<port>/api/jolokia/exec/org.apache.activemq:type=Broker,brokerName=localhost,service=Log4JConfiguration/reloadLog4jProperties()|http://localhost:8161/api/jolokia/exec/org.apache.activemq:type=Broker,brokerName=localhost,service=Log4JConfiguration/reloadLog4jProperties()]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)