You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Grzegorz Grzybek (Jira)" <ji...@apache.org> on 2025/08/01 15:52:00 UTC

[jira] [Comment Edited] (ARTEMIS-5427) Integrate Jolokia's MBeanInfo cache

    [ https://issues.apache.org/jira/browse/ARTEMIS-5427?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18009935#comment-18009935 ] 

Grzegorz Grzybek edited comment on ARTEMIS-5427 at 8/1/25 3:51 PM:
-------------------------------------------------------------------

For this issue to be fixed we need these:

On Jolokia side:
* release Jolokia 2.3.0 with https://github.com/jolokia/jolokia/commit/6e0df9808972ffd12c0b11ca8c4c4da5682a00a4
* release Jolokia Integration 0.6.0 with https://github.com/jolokia/jolokia-integration/issues/1

On broker side we assume two Jolokia agent deployments:
* Jolokia JVM Agent with {{-javaagent}} in {{etc/artemis.profile}} - [{{jolokia-integration-artemis.jar}}|https://repo1.maven.org/maven2/org/jolokia/integration/jolokia-integration-artemis/0.6.0/jolokia-integration-artemis-0.6.0.jar] would have to be added to {{$&#123;artemis.home&#125;/lib}}
* Jolokia WAR Agent where Hawtio is used in activemq-artemis-console - this WAR would need additional {{jolokia-integration-artemis.jar}} *and* {{jolokia-server-detector.jar}}


was (Author: gzres):
For this issue to be fixed we need these:

On Jolokia side:
* release Jolokia 2.3.0 with https://github.com/jolokia/jolokia/commit/6e0df9808972ffd12c0b11ca8c4c4da5682a00a4
* release Jolokia Integration 0.6.0 with https://github.com/jolokia/jolokia-integration/issues/1

On broker side we assume two Jolokia agent deployments:
* Jolokia JVM Agent with {{-javaagent}} in {{etc/artemis.profile}} - {{jolokia-integration-artemis.jar}} would have to be added to {{$&#123;artemis.home&#125;/lib}}
* Jolokia WAR Agent where Hawtio is used in activemq-artemis-console - this WAR would need additional {{jolokia-integration-artemis.jar}} *and* {{jolokia-server-detector.jar}}

> Integrate Jolokia's MBeanInfo cache
> -----------------------------------
>
>                 Key: ARTEMIS-5427
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-5427
>             Project: ActiveMQ Artemis
>          Issue Type: Task
>          Components: Web Console
>            Reporter: Justin Bertram
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> According to the [Jolokia documentation|https://jolokia.org/reference/html/manual/extensions.html#_mbeaninfo_cache] it's possible to reduce the JSON payload returned by Jolokia to, for example, the web console. However, we must provide a [{{org.jolokia.service.jmx.api.CacheKeyProvider}}|https://github.com/jolokia/jolokia/blob/main/service/jmx/src/main/java/org/jolokia/service/jmx/api/CacheKeyProvider.java] implementation and make it available via a service loader (e.g. [here|https://github.com/jolokia/jolokia/blob/main/service/jmx/src/main/resources/META-INF/jolokia/services-default]). We must also pass the {{listCache=true}} URL parameter from the web console.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@activemq.apache.org
For additional commands, e-mail: issues-help@activemq.apache.org
For further information, visit: https://activemq.apache.org/contact