jinmeiliao commented on a change in pull request #6770:
URL: https://github.com/apache/geode/pull/6770#discussion_r692345016
##########
File path:
geode-core/src/main/java/org/apache/geode/management/internal/ManagementAgent.java
##########
@@ -449,20 +463,15 @@ public synchronized void start() throws IOException {
if (accessFile != null && accessFile.length() > 0) {
// Rewire the mbs hierarchy to set accessController
ReadOpFileAccessController controller = new
ReadOpFileAccessController(accessFile);
- controller.setMBeanServer(mbs);
+ if (jmxConnectorServer.getMBeanServer() == null) {
Review comment:
Looks like besides re-arranging code, this is the only effective change
here. Do we know why in this case this mbeanServer is not null?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]