[
https://issues.apache.org/jira/browse/AMQ-9470?focusedWorklogId=912684&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-912684
]
ASF GitHub Bot logged work on AMQ-9470:
---------------------------------------
Author: ASF GitHub Bot
Created on: 02/Apr/24 15:47
Start Date: 02/Apr/24 15:47
Worklog Time Spent: 10m
Work Description: AM-19 opened a new pull request, #1197:
URL: https://github.com/apache/activemq/pull/1197
The Current The Log4jConfiguration's JMX method to reload the log4j
properties i.e **reloadLog4jProperties** yield NoSuchMethodException.
As the method resetConfiguration no longer exists, in LogManager.
Have Updated the Methods to be called to trigger the reload properly.
Issue Time Tracking
-------------------
Worklog Id: (was: 912684)
Remaining Estimate: 0h
Time Spent: 10m
> 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: 5.18.3, 6.1.0
> Reporter: Anubhav Mishra
> Priority: Major
> Time Spent: 10m
> Remaining Estimate: 0h
>
> 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)