Jolokia is an alternative to JSR-160 connectors for remote JMX access. It provides REST-like access to JMX with JSON over HTTP.
Questions tagged [jolokia]
122 questions
6
votes
3 answers
Jolokia - Origin null is not allowed to call this agent
{"stacktrace":"java.lang.Exception: Origin null is not allowed to call
this agent\n\tat
org.jolokia.http.HttpRequestHandler.handleThrowable(HttpRequestHandler.java:242)\n\tat
…

dandan
- 121
- 1
- 8
6
votes
2 answers
ActiveMQ Jolokia API How can I get the full Message Body
I want to write my own ActiveMQ Monitor. I can get Queues and Messages from a Queue. But the Message Body (content) is shorted. How can I get the full Message Body?
This I have tested:
Get: Always…

Burner
- 981
- 19
- 41
5
votes
0 answers
How to add servlet filters to Spring Boot Actuator management endpoints like health, metrics, jolokia?
How can I add servlet filters to Spring Boot Actuator management endpoints like health, metrics, jolokia etc.? Or do I have to use interceptors instead?
Background: I want to log requests that are sent to :/jolokia

rwitzel
- 1,694
- 17
- 21
4
votes
2 answers
Cant access Artemis console
I have just install a new artemis in my new server, able to run the service normally but not able to access from outside.
I also have followed this question that seems have the similar issue with me, but
seems not able to work.
Artemis-2.6.3…

Rudy
- 7,008
- 12
- 50
- 85
4
votes
1 answer
How to activate JMX monitoring in spring boot standalone app
I went via almost all docs and all but not able to get grip on this mysterious stuff.
so my question - Can I use my standalone spring boot app to monitor health and other metrics of my app via http jmx url? Do I need to configure something else for…

Tukaram Bhosale
- 348
- 3
- 17
4
votes
2 answers
Jolokia with basic authentication in Spring Boot application and hawt.io
What I'm trying to do:
I'm trying to run a sample spring boot application with embedded Jolokia, configure a basic authentication on it and connect to it from hawt.io, I kind of pilot project.
My setup (everything on localhost, no…

Mark Bramnik
- 39,963
- 4
- 57
- 97
4
votes
1 answer
How to use jolokia to retrieve mbean for a class
I have a mbean for a class say foo.bar.Log4j
and I want to use jolokia to list all loggers?
I have tried reading on https://jolokia.org/reference/pdf/jolokia-reference.pdf but that tells me how to get values of predefined java.memory etc
Please…

neoeahit
- 1,689
- 2
- 21
- 35
4
votes
0 answers
Jolokia agent config using Spring
I am attempting to configure a Jolokia JVM agent in a Spring application by following the reference documentation for Jolokia Spring support given here.
I have added jolokia-spring-1.3.1 as a maven dependency, and below is my spring application…

Stephen Hartley
- 945
- 1
- 11
- 17
4
votes
0 answers
Hawtio unable to connect to Jolokia if Jolokia security is enabled
Very new to Hawtio and Jolokia. I am NOT using JBOSS or any other RedHat product, only Tomcat. I downloaded Hawtio-default.war (ver. 1.4.21) and Jolokia.war (ver. 1.2.2). I have two Tomcat (7.0.39) instances on my local machine (localhost), running…

MisterXY
- 51
- 1
- 4
3
votes
2 answers
Spring Boot application + Jolokia - exception during startup
I'm using Spring Boot 1.5.3.RELEASE and Jolokia 1.3.6 (also happens in later versions).
The Jolokia is integrated by adding a dependency:
org.jolokia
jolokia-core
…

Mark Bramnik
- 39,963
- 4
- 57
- 97
3
votes
1 answer
How to set global http proxy settings for apache HttpClient
In Apache Commons 4.3 and onwards, you need to inject your HTTP proxy settings at the HttpRequest level - but not globally, in the HttpClient itself:
RequestConfig config = RequestConfig.custom().setProxy(proxy).build();
HttpGet httpget = new…

Fabien Benoit-Koch
- 2,784
- 2
- 21
- 33
3
votes
1 answer
Jolokia Java client
I´m newbie at JMX. I developped a Web Service, using Glassfish as server. Now I want to monitorize my app;
My first thought was using Jconsole and JVM as monitorizing tool remotly. After continue my research I find this…

Goldbones
- 1,407
- 3
- 21
- 55
3
votes
3 answers
Activemq jolokia rest api for deleting a queue?
Is there a way to delete a queue with ActiveMQ rest api on 5.9.0? I know you can purge a queue with
"http://" + host + ":" + port + "/api/jolokia/exec/org.apache.activemq:brokerName=localhost,destinationName=" + queueName +…

Nicholas DiPiazza
- 10,029
- 11
- 83
- 152
3
votes
1 answer
Use Jolokia JVM agent directly in a Maven Java project
I have a simple Java Maven project and want to use the JVM agent from Jolokia to fetch JMX values.
It works when I manually download the jolokia-jvm-1.1.5-agent.jar and add the absolute path to the java-arguments like…

Sonson123
- 10,879
- 12
- 54
- 72
3
votes
1 answer
How many Jolokia agents needs to be installed?
Suppose I have 8 java server applications (actually instances of the same java application) running in 4 linux boxes ( 2 each). I want to be able to monitor these applications from another linux box using Jolokia.
I also need the ability to start…

ace
- 11,526
- 39
- 113
- 193