Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
16 views

Troubleshooting JMX Connection Issues for Java Spring Boot Docker Containers

We are unable to connect to a Java Spring Boot-based Docker container through the JMX port. This container runs a Spring Boot KafkaConsumer that connects to Kafka. However, we are able to connect to ...
Suvendu Ghosh's user avatar
0 votes
1 answer
19 views

ERROR Uncaught exception in REST call to /metrics (org.apache.kafka.connect.runtime.rest.errors.ConnectExceptionMapper:61)

I am running a kafka connector in distributed mode, and explicitly disabled the jmx metrics exposure, still the /metrics endpoint is getting hit in every 45,12 seconds interval and returning 404 ...
Gopal's user avatar
  • 3
1 vote
0 answers
35 views

Issues Sending Kafka and Zookeeper Metrics to AWS CloudWatch Using JMX and CloudWatch Agent

I'm trying to send metrics from Kafka and Zookeeper to AWS CloudWatch using the CloudWatch Agent and JMX. I've configured JMX for both Kafka and Zookeeper and set up the CloudWatch Agent configuration ...
KN.'s user avatar
  • 106
-1 votes
0 answers
30 views

How to connect to jconsole remotely

I have java application running on linux machine, it has JMX enabled, I am trying to connect it to the Remote VM(Windows). In the logs it is forming the Service URL the connection keeps failing. In my ...
tellapuri naveen's user avatar
-1 votes
1 answer
27 views

How to have the UUIDs consistent across all the HTTP requests under the same thread group using JSR223 preprocessor

I have a jmx script which is being used for doing some load/performance testing on our application. In this process what is happening is we have three API calls (HTTP request) where there is a ...
harryk's user avatar
  • 1
-1 votes
1 answer
32 views

Local JMX/jconsole doesn't work without -Djava.rmi.server.hostname

Emphasis: not using RMI here; just pure local jconsole/JMX Problem: Local jconsole to JVM PID doesn't work unless I specify "java -Djava.rmi.server.hostname" (don't even need to give it a ...
Anthony Alba's user avatar
2 votes
1 answer
95 views

Unable to connect visualvm to java application after 7.3 gradle upgrade

We recently upgraded gradle version in our project from 7.1.x to 7.3.x. We observed that we are no longer able to connect visualvm java(11) application running in kubernetes. Port-forward works but ...
curious_soul's user avatar
0 votes
0 answers
39 views

Connecting Jconsole to java app on GCP via SSL ( connect to JMX through JNDI )

I'm trying to make a connection to my java app, using Jconsole. I want to secure that by SSL. At the end I want to move this app to GKE and make the same connection. What I have: Simple springboot app,...
bua's user avatar
  • 1
0 votes
0 answers
22 views

The jmx data obtained from Flume is empty. How to get the correct result?

i set flume-env.sh JAVA_OPTS= -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=5445 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false. i ...
ray's user avatar
  • 43
0 votes
1 answer
25 views

Cannot connect to node with jconsole after enabling SSL on JMX

I am using Cassandra 4 and have enabled SSL. To connect to JMX, I added the following options in the cassandra-env.sh and started Cassandra JVM_OPTS="$JVM_OPTS -Dcom.sun.management.jmxremote.ssl=...
trendy innovative's user avatar
1 vote
1 answer
40 views

Cannot find a locally registered MBean from a local JMX client

I'm developing 2 Java applications using OpenJDK 22.0.1 The first one creates 2 MBeans using the JMX API and registers them in the local JMX server by using a MBeanServer declared like this: ...
mrcoar's user avatar
  • 186
0 votes
0 answers
68 views

JMX metrics problem with spring-boot-starter-quartz and class loader

I'm running a spring boot (3.3.0) app with a simple quartz job configured with an mssql database (2017). All works correctly. The app exposes quartz jmx metrics with the property spring.quartz....
Enzo Terranova's user avatar
0 votes
0 answers
15 views

monitor oracle services health using spring boot and jmx?

I have a weblogic domain that contain a Admin server , and a cluster of osb managed servers that host an application exposing a set of APIs, I use the the em console to access to the service health ...
kikicoder's user avatar
  • 421
0 votes
1 answer
37 views

JMX NotificationListener IllegalArgumentException: Not a NotificationBroadcaster Object

I'm trying to create a Java application that monitors a JMX MBean and sends notifications when certain conditions are met. However, I'm encountering an IllegalArgumentException with the message: ...
Some Guy's user avatar
0 votes
0 answers
128 views

How to get JVM GC pause time metrics?

Is there any way to get JVM GC pause time metrics in the prometheus format using JMX exporter or any other way? I have used JMX exporter and tried to export the metrics using the following mbean java....
Nirzak's user avatar
  • 83
0 votes
1 answer
66 views

I want help in Java on accessing device specifications

I am creating an application similar to CPU-Z to obtain the full specifications of the device, such as details of the cache, graphics card, temperature, number of cores and threads, and frequency. The ...
مهندس برمجي's user avatar
0 votes
1 answer
72 views

Observability in spring boot java application

We have a spring boot application running, having actuator & micrometer-registery-prometheus to expose JVM/application metrics over actuator/prometheus endpoint and we could see the metrics are ...
tusharRawat's user avatar
0 votes
1 answer
110 views

How to get hazelcast metrics from hazelcast JMX mbeans using JMX exporter

How can we get the Hazelcast metrics from Hazelcast JMX MBeans using JMX exporter
Nirzak's user avatar
  • 83
1 vote
1 answer
139 views

How to get HikariCP metrics to show properly in NewRelic?

We have a custom webapp hat is using HikariCP. The application is compiled into a jar and then started in a docker container. Depending on the environment we are loading the newrelic-agent.jar via the ...
tftd's user avatar
  • 16.9k
0 votes
1 answer
23 views

JMETER Regular Expression Extracto. How can i get the specific extractor using the response i get below

Im not sure why the regexp extractor gives me a 'null' value Response GET http://t1vm-esource01/eSourceUAT/esoa%20printing/Reports/soa.ashx?docIndex=null&mastKey=SF8962 Heres my regular expression:...
Von Prejillana's user avatar
0 votes
2 answers
111 views

How to parameterize username and password in jmeter?

How to remove hardcoding in the below code? <stringProp name="Authorization.username">user123</stringProp><stringProp name="Authorization.password">pwd123</...
Rashmi Ks's user avatar
0 votes
0 answers
287 views

How does IntelliJ IDEA know the port number of the running Spring Boot project?

When using IntelliJ IDEA Ultimate, launching a Spring Boot project automatically displays the port number in the IDE. I would like to understand the principle behind this. Even when I set server.port=...
gg22g2's user avatar
  • 3
0 votes
0 answers
74 views

How to start up JMX receiver?

I'm new here, and I want to start a jmx receiver to otel, but something wrong about starting up by docker. opentelemetry-jmx-metrics.jar version:1.33.0 downloaded from github release page otel/...
陈子妍's user avatar
0 votes
0 answers
183 views

Cannot connect Prometheus to Kafka broker (Get "http://host:port/metrics" : EOF) using docker compose

My setup is a docker container of confluentinc/cp-kafka:7.3.2 image with the following docker-compose.yml: version: '3' services: broker-1: image: confluentinc/cp-kafka:7.3.2 container_name: ...
Vasileios Giannoutsos's user avatar
0 votes
1 answer
40 views

Monitoring HTTP Listeners in Glassfish 4 via JMX

I need to write a java monitor, to run as a linux service, to monitor the status of http-listeners in Glassfish 4 (really old version). My idea is to be able to find this information via JMX. By ...
user1175801's user avatar
-1 votes
1 answer
398 views

Debugger failed to attach: recv failed during handshake: Resource temporarily unavailable when trying to attach with jconsole, but works for debugger

I have a java proccess which runs like tomcat 3400481 2.1 19.3 6323248 1579708 ? Sl Feb08 32:20 /usr/lib/jvm/java-11-openjdk-amd64/bin/java -Djava.util.logging.config.file=/opt/tomcat/conf/...
Eljah's user avatar
  • 4,942
-1 votes
1 answer
33 views

403 Forbidden error in JMeter script (my application uses react.js frontend & node js backend and it has Autodesk feature as 3 rd party in it)

Blazemeter recording has been proven unsupportive for this application recording .So I went withHAR to JMX file & from JMeter I enhanced the requests captured for my functionality.Initially I ...
P Saranya's user avatar
0 votes
0 answers
79 views

Performing local JMX connection via VisualVM

I have a Wildfly 26 server that I am running with the following VM args: -Dlogback.configurationFile=/opt/wildfly/standalone/configuration/logback.xml -Dcom.sun.management.jmxremote -Dcom.sun....
Jason's user avatar
  • 2,875
0 votes
1 answer
77 views

Monitor Mbean using JMX_Exporter

I'm using JMX_Exporter for monitoring Mbeans exposed by my application. I have the Mbean with ObjetName com.production.swee.cis:name=CircuitBreaker and for this Mbean I want to monitor below ...
olti's user avatar
  • 121
0 votes
1 answer
32 views

How to resolve this in BeanShell?

I am using this script to update values in JSON file import org.json.simple.JSONObject; import org.json.simple.parser.JSONParser; import org.apache.commons.io.FileUtils; try { String filePath = &...
Agathiyan's user avatar
0 votes
1 answer
112 views

JMeter File Upload Scenario

I am trying to create a HTTP request that send both Json and File. Sample Payload format: ------WebKitFormBoundaryooARNALDyzj0QAAl Content-Disposition: form-data; name="case"; filename="...
Agathiyan's user avatar
0 votes
0 answers
95 views

Understanding Kafka's Producer Error Rate Metrics

https://kafka.apache.org/24/generated/producer_metrics.html notes: record-error-rate: The average per-second number of record sends that resulted in errors record-error-total: The total number of ...
Kevin Meredith's user avatar
0 votes
0 answers
238 views

Send Java JMX metrics running in ECS to CloudWatch with CollectD

I have a Java application running as a container in an ECS cluster. I want to be able to get JMX metrics and send them to AWS CloudWatch. Initially, I was using this article as a reference: https://...
davidb's user avatar
  • 1,573
0 votes
1 answer
66 views

Remove other attributes except count

We have JMX registry in Micrometer. Questions: Are there any performance considerations associated with the calculations of these attributes: FifteenMinuteRate, FiveMinuteRate, MeanRate and ...
Babak's user avatar
  • 3,916
0 votes
0 answers
227 views

Tomcat Jmx Inegration enabling on Datadog Agent

I am trying to add Tomcat-JMX Integration to the Datadog Agent, in order to achieve Remote Monitoring . I am following the docs https://docs.datadoghq.com/containers/guide/autodiscovery-with-jmx/?tab=...
KOVAM's user avatar
  • 1
0 votes
1 answer
257 views

How to configure artemis address setting management-message-attribute-size-limit via jmx/web ui?

I have an artemis instance running and would like to set the address setting management-message-attribute-size-limit to a different value than it's default 256. How can this be achieved via JMX or the ...
SpaceTrucker's user avatar
  • 13.5k
0 votes
0 answers
42 views

JMX bean not found (fork is null) during stopping Spring Boot application

I have the following script #!/bin/bash cd ../../../configuration-service mvn -e -X spring-boot:stop &>log.log & Which is intended for stop the SpringBoot application , here is entire app (...
Frado Bhalla's user avatar
0 votes
1 answer
236 views

How do I loop an ultimate thread group in JMeter?

I have a scenario of a 3 hour test case (see comment in the picture) in JMeter and I need it to be repeated for 20 times, until it reaches 60 hours. It goes as the picture shows. So I used an ultimate ...
nikol293's user avatar
1 vote
1 answer
3k views

Understanding Prometheus JVM metrics

I am interested in tracking two metrics within JVM - Number of GCs per minute and Time Spent in GC per minute. I have metrics jvm_gc_collection_seconds.count and jvm_gc_collection_seconds.sum ...
Ashwin's user avatar
  • 13.3k
1 vote
0 answers
27 views

Why does rate of memory allocation in an application change depending on network settings when using VisualVM to monitor the JVM heap size?

Environment: I was using VisualVM IntelliJ plugin to investigate a memory leak in a standard OpenJDK Java 8 service I have running locally, and I believe I solved the application bug. Problem: However,...
schnejj's user avatar
  • 62
0 votes
1 answer
42 views

LoggerDynamicMBean log4j 1.x to log42

So I was trying to migrate our legacy application java log4j 1.x to log4j2 I saw a great article with regards to migrating this log4j using the bridge API. However, there's one thing that I am stuck ...
Rgnr's user avatar
  • 21
0 votes
0 answers
106 views

Application running out of memory due to apache kafka metric objects while using kafkaProducer

We try to send 1000s of messages to a kafka-topic using kafkaProducer(org.apache.kafka.clients.producer.KafkaProducer) objects on our tomcat application. Lately we have been observing an issue with ...
Srinish's user avatar
0 votes
1 answer
178 views

JMX connection to JBoss EAP 7.4 + LDAP is not connected

I am facing JMX connection issue on JBoss EAP My runtime environment : (Linux OS) - SSL enabled JBoss EAP 7.4.10.GA running on Open JDK 11.0.19 (OpenLogic) & management console is secured with ...
Ramesh Subramanian's user avatar
0 votes
1 answer
281 views

Red color in POST data in Request Body in JMeter

In JMeter in View Result Tree in the section Request-Request Body I have a red colour text in the POST data. Is it ok? enter image description here Red colour I have also in Get data in Request Body ...
irryb's user avatar
  • 5
0 votes
1 answer
770 views

exposing kafka topic LAGs using kafka jmx exporter

I am trying to expose the Prometheus metric that shows LAG value in each Kafka topic. I use kafka_exporter for exporting Kafka metrics. I added this pattern in prom-jmx-agent.config.yaml ...
Vazgen Torosyan's user avatar
1 vote
2 answers
1k views

how to connect visualvm with the application running in kubernetes pod?

I have an application running as a pod in a Kubernetes cluster, specifically on an Amazon EKS cluster. I want to monitor the heap size of this application using VisualVM. How can I connect VisualVM to ...
nethaaji's user avatar
0 votes
1 answer
238 views

Error while fetching JMX data (App Insights)

I am trying to implement JMX metrics tracking using App Insights. Its a Spring Boot, Java application. This is my applicationinsights.json looks like: { "connectionString":"SOME_URL&...
hell_storm2004's user avatar
0 votes
1 answer
314 views

Getting MBean values for JDBC pools by means of Jolokia

I'm trying to monitor the JDBC pools of some Java apps using Jolokia. I can get the full list of all attributes for the JDBC pools using: # curl -k http://127.0.0.1:50147/jolokia/read/'Catalina:type=...
Jdamian's user avatar
  • 3,075
1 vote
0 answers
341 views

How to add the topic to spring-boot kafka metrics?

In dropwizard the prometheus metrics do include the topic for producers and consumers as label. This is quite essential for monitoring and controlling the load to the specific pods in our cluster. ...
Dag's user avatar
  • 10.5k
2 votes
1 answer
1k views

How can I dynamically set a System property on the JVM, after it has started, without modifying my program's code?

I would like to be able to change a system property while a java application is running inside an application server. I know that this can be done with java.lang.System.setProperty or by adding the -...
Marinos An's user avatar
  • 10.6k

1
2 3 4 5
49