Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Duplicate
-
5.3.0
-
None
-
None
-
Linux
Description
org.apache.activemq.web.config.SystemPropertiesConfiguration has invalid getJmxUser() and getJmxPassword() methods – user returns password, and vice-versa. This means you need to swap the webconsole.jmx.user and webconsole.jmx.password properties when using the web console configured via system-properties.
Current methods:
//-----------------------------------------------------
public String getJmxPassword() {
return System.getProperty(PROPERTY_JMX_USER);
}
public String getJmxUser() {
return System.getProperty(PROPERTY_JMX_PASSWORD);
}
//-----------------------------------------------------
These should be swapped.