Questions tagged [jolokia]

Jolokia is an alternative to JSR-160 connectors for remote JMX access. It provides REST-like access to JMX with JSON over HTTP.

122 questions
0
votes
1 answer

Jolokia returns "HTTP ERROR 401 Unauthorized" in Opendaylight when trying to set up clustering

I am trying to set up clustering in Opendaylight, just as described at the Documentation page. When I try to monitor the clustering status using Jolokia, ODL responds with a 401 unauthorized error. Does Jolokia have a specific username and password…
D Arjona
  • 16
  • 1
0
votes
0 answers

howtio configure discover page?

I am using java -jar hawtio-app-2.16.1.jar --port 1080 I have some activemq and karaf (with camel) on the same machine. I saw on hawtio console > connect > discover No agents discovered. I think it is possible to configure hawtio to discover all…
Sekaijin
  • 107
  • 1
  • 6
0
votes
0 answers

When jolokia on docker image, I'm facing "java.lang.NoSuchMethodError: Lorg/jolokia/shaded/org/json/simple/JSONObject;" error

I'm trying to run my java project with Jolokia jvm agent on docker. When I run docker image jolokia is starting on 8778 port but When I send some http requests like http://127.0.0.1:8778/jolokia/, I'm facing this error: > Exception in thread…
0
votes
0 answers

Example for JMX AgentServlet using Jolokia

I am new to Jolokia. I had one requirement where I already have one WAR running in my tomcat, and inside that I want to embed Jolokia's Agent jar. I referred following solution: Link to Embed Jolokia WAR into another WAR But I cannot get any…
Ruchir Dixit
  • 121
  • 1
  • 4
0
votes
2 answers

Jolokia-agent cannot find path

I'm having some problems setting up ActiveMQ. The jolokia-access.xml file cannot be found. I received the following error message:
Waldrin
  • 1
  • 2
0
votes
1 answer

how to send metrics to influx oss2 using jolokia in telegraf config?

after running teltelegraf -debug with jolokia config [[inputs.jolokia2_agent]] urls = ["http://:8080/jolokia-war-unsecured-1.6.2/"] [[inputs.jolokia2_agent.metric]] name = "jr" mbean = "java.lang:type=Runtime" paths =…
0
votes
1 answer

Hawtio-online - No containers are showing

I am using hawtio-online for the management of Apache Camel routes. I have an microservice which uses Apache camel framework and running in kubernetes cluster. I had also deployed hawtio-online in my cluster. And added java-jolokia docker image as a…
Abhi
  • 101
  • 6
0
votes
1 answer

Attaching Jolokia to kafka brokers deployed using Strimzi operator

I am deploying a kafka cluster on Kubernetes using Strimzi kafka operator. I need to be able to query Kafka JMX MBEANS remotely through HTTP/REST using Jolokia (Jolokia is an agent that converts and exposes JMX MBEAN measurements for querying over…
Mazen Ezzeddine
  • 662
  • 1
  • 8
  • 28
0
votes
1 answer

Can't access Jolokia HTTP endpoint in Kubernetes

I've got a super simple Java Kubernetes Tomcat application running inside of Kubernetes that I instrumented with the JVM Jolokia agent running on minikube. I'm trying to configure my Kubernetes deployment so I can access the Jolokia endpoint outside…
Kevin
  • 2,852
  • 6
  • 21
  • 33
0
votes
1 answer

ActiveMQ jolokia gives different message response depending on environment

I have to get (not consume) part of a message that is in queue. I reused bash script that was prompted as a response here, with the use of /api/jolokia/ : ActiveMQ Jolokia API How can I get the full Message Body Part of a response that I am…
Kuba
  • 1
  • 1
0
votes
1 answer

ActiveMQ 5.16.3 Windows and Hawtio Login Problems

I've installed Apache ActiveMQ 5.16.3 on my windows 10 laptop for testing purposes And i downloaded hawtio 2.13.3 as a webapp for monitoring. Steps i did to install and configure : Downloaded ActiveMQ and extracted it to a folder Downloaded Hawtio…
M4CHINE
  • 13
  • 3
0
votes
2 answers

Artemis jolokia rest api returns no real data (Jsr160ProxyNotEnabledByDefaultAnymoreDispatcher)

I've an Artemis Broker (2.17) running on my dev machine for local testing. From the web-console I've extractet the request to get the names of all queues. When I execute the request from the browser console i get a JSON result like this: { …
musium
  • 2,942
  • 3
  • 34
  • 67
0
votes
1 answer

RestTemplate Get request with Brackets and Slash

I am using below URL with RestTemplate to get data http://localhost:8161/console/jolokia/exec/org.apache.activemq.artemis:broker="0.0.0.0"/listQueues/{"field":"","operation":"","value":""}/1/100 And my code looks like below HttpHeaders httpHeaders =…
0
votes
1 answer

Hawtio remote connect configuration parameters not correct for monitoring remote machine

My goal is to confirm that one can use a Hawtio instance to monitor an instance running on a different machine. I am using this example https://github.com/hawtio/hawtio-camel-wiki . right now i have it running on my local machine in OSX and on a…
Frank Visaggio
  • 3,642
  • 9
  • 34
  • 71
0
votes
2 answers

Hawtio camel debug panel says "Debugging is not allowed for this user"

My environment is: servicemix 5.4.1 [system.properties has property "hawtio.authenticationEnabled=false"] jolokia agent 1.6.2 standalone hawtio 2.10 apache camel 2.14.3 First I start servicemix Then I use "java -jar jolokia-jvm-1.6.2-agent.jar…
Lagi
  • 495
  • 4
  • 12
1 2 3
8 9