question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Missing description of Parameters in JMX operations

See original GitHub issue

I upgraded the spring-boot-admin-server and spring-boot-admin-server-ui from 1.3.7 to 1.5.3. In our services (spring-boot-admin-starter-client) we use 1.3.x, 1.4.x. and 1.5.x. In the spring boot admin server UI we are missing the description of the parameters from all JMX operations. This happens with our JMX operations and also with the operations from java.lang and other domains. We have the issues with all services, so I think it is an issue in the spring-boot-admin-server or spring-boot-admin-server-ui. The two attached screenshots shows the JMX operations in the UI in the different UI versions. jmx_endpoint_sba_1 3 7 jmx_endpoint_sba_1 5 3

The relevant code snippet:

@ManagedOperationParameters({
        @ManagedOperationParameter(name = "accountId", description = "The id of the accountuser aggregate"),
        @ManagedOperationParameter(name = "legalTermsLockReason", description = "Reason for legal terms lock (BOUNCE, CANCELLATION")
})
public void setLegalTermsLock(String accountId, String legalTermsLockReason) {
       …
}

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:5

github_iconTop GitHub Comments

1reaction
frkautzcommented, Sep 12, 2017

@joshiste somehow a strange behavior after I deleted the browser cache it didn’t work, but during analyzing the jolokia request it shows the description. So ignore my request to reopen the ticket. Thanks.

0reactions
joshistecommented, Sep 12, 2017

@frkautz Did you have a look into the jolokia response if the description is provided by jolokia? (and made sure you didn’t had an old version from browser cache)?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Java Management Extensions (JMX) Best Practices - Oracle
This document describes best practices that have been identified for modeling using the JMX API.
Read more >
How to add description to JMX MXBean - Stack Overflow
The cleanest way I have found to do this is to use StandardMBean (or StandardEmitterMBean) as the actual object you register with JMX....
Read more >
JMX Annotations - Actimem
The aim of this tutorial is to create two JMX annotations to help define MBean descriptions and parameter names seamlessly: @Description and ...
Read more >
jmx_parameter Attribute -- Specify JMX Parameters - TechDocs
The jmx_parameter attribute specifies the new value that the attribute should be set to in a JMX-MBean Attribute Set job, the CREATE parameter ......
Read more >
JMX Monitoring app issue with Operation with null parameter
Looks like for some reason the blank is not going into the parameter value. However when I tried similar kind of mbean where...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found