[ 
https://issues.apache.org/jira/browse/AMQ-9470?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Anubhav Mishra updated AMQ-9470:
--------------------------------
    Description: 
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:8161/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()]

  was:
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()]


> 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:8161/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)

Reply via email to