jmx Questions

3

Solved

I would like to monitor a remotely running java (spring boot) application with jvisualvm (or jconsole). When running locally, I can see the managed beans in both jvisualvm and jconsole. When runnin...
Adaxial asked 6/5, 2015 at 6:58

3

I am using ActiveMQ 5.3.2 and 5.6.0. In ActiveMQ 5.3.2, the default settings for JMX is SUNJMX="-Dcom.sun.management.jmxremote" In ActiveMQ 5.6.0, the default settings for JMX is ACTIVEMQ_SUNJM...
Focal asked 20/11, 2012 at 8:33

4

Solved

I would like to be able to get the number of consumers listening to a topic from java for an embedded ActiveMQ (5.4.2) broker in the same JVM. Is JMX really the only option here? JMX seems like a b...
Bodyguard asked 24/4, 2012 at 3:42

1

My understanding is that tomcat server can be accessed thru jmxrmi if we configure following properties. Port can also be configured. -Dcom.sun.management.jmxremote.port=30000 -Dcom.sun.management....
Raneeraney asked 16/12, 2020 at 12:33

3

I want to monitor Full GC frequency in JMX. A MBean exposes GC count. (cf. http://download.oracle.com/javase/1.5.0/docs/api/java/lang/management/GarbageCollectorMXBean.html - java.lang:type=Garbage...
Maniacal asked 8/1, 2011 at 11:13

1

I have been currently trying to connect VisualVM (A program which monitors the JVM, heap and memory usage etc) to a Spring Boot Application (Java App) running on AWS Fargate in Docker containers. I...
Ocker asked 19/2, 2020 at 11:40

4

Solved

When monitoring a remote app (using jstatd) I can neither profile nor monitor CPU consumption. Heap monitoring (provided I do not use G1) works. jvisualvm provides the message "Not supported for th...
Besought asked 18/11, 2009 at 13:3

3

I am trying to pattern match and name prometheus metrics with the jmx_exporter java agent (https://github.com/prometheus/jmx_exporter). There is not much documentation on how to pattern match on M...
Lasonyalasorella asked 19/11, 2019 at 16:8

2

Solved

I'm struggling to configure Kafka's JMX to be exposed only on localhost. By default, when I start Kafka, it exposes three ports, whereas two of them are automatically bound to 0.0.0.0, meaning that...
Faithfaithful asked 27/3, 2018 at 6:59

5

Solved

I should connect to a java program on localhost jvm using JMX. In other words I want to develop a JMX client to config a java program on localhost. Don't recommend using JConsole! JConsole is not...
Est asked 5/4, 2011 at 13:52

1

Solved

I want to monitor internals of JVM for my Spring Boot application inside a Docker which is running as a pod in a Kubernetes cluster. But I couldn't find satisfactory answer anywhere even after spen...
Caption asked 14/6, 2020 at 1:29

12

Solved

I'm trying to open a JMX connection to java application running on a remote machine. The application JVM is configured with the following options: com.sun.management.jmxremote com.sun.management...
Lard asked 7/5, 2009 at 13:12

5

Solved

We are having problem connecting to our Java applications running in Amazon's EC2 cluster. We definitely have allowed both the "JMX port" (which is usually the RMI registry port) and the server por...
Saarinen asked 5/12, 2012 at 23:48

3

I'm using the following jmx metrics for kafka connect.
Chisel asked 11/5, 2018 at 11:18

4

I'm trying to automate some perf testing. I'd to pass server locations into a generic jmx from a Jenkins job. I'd like to be able to do something like: jmeter -n -t foo.jmx -JtestingIP=IP and...
Amusing asked 6/11, 2013 at 22:15

0

Recently I monitor my cluster and I saw the negative consumer lag on it: This negative lag affects the sink connectors on the cluster and I got this error on the Kafka-Connect: Mar 25 15:56:30 ...
Zehe asked 25/3, 2020 at 11:30

2

Solved

I am running Tomcat 6 on a Linux server in Amazon's cloud. I am trying to connect to it with VisualVM from my Mac at my office. I have allowed opened up all TCP ports between my desktop and the ser...
Biweekly asked 11/5, 2012 at 0:28

5

Solved

How can i create a heap dump from within my application, without using the class HotSpotDiagnosticMXBean. Due to access restriction of java/rt.jar i am not able to compile it with a dependency to H...
Crippen asked 6/9, 2012 at 8:19

7

Is there a way to measure CPU usage of the JVM (once a java application is started) cross platform (windows + unix + mac)? I have used Jconsole but what I need is a java code that does this, and no...
Ineffable asked 6/5, 2011 at 6:18

3

How to use JMX MBean for HikariCP in Spring boot application? I have a code like this: @SpringBootApplication public class App() { ... } And other class: @Configuration public class DatabaseCfg...
Looper asked 29/3, 2017 at 14:52

5

Solved

I want to get tomcat's performance by JMX. Tomcat version is 7 and Java version is 1.7.0_79. Tomcat runs on the docker's container. The port mapping has set up by the following. docker run -itd -...
Chiefly asked 30/4, 2015 at 3:17

4

Solved

I am using Apache ActiveMQ version 5.8.0 and I downloaded Apache ActiveMQ Browser version 2.5.2.8 Within Apache ActiveMQ I edited the activemq.xml configuration to use JMX: <broker xmlns="http...
Indusium asked 30/9, 2013 at 11:24

4

Solved

I'm trying to disable jmx so that i don't get: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mbeanExporter'anymore. I've found a partial answer saying t...
Bloemfontein asked 19/2, 2015 at 13:21

4

Solved

For a particular segment of Java code, I'd like to measure: Execution time (most likely thread execution time) Memory usage CPU load (specifically attributable to the code segment) I'm a relati...
Johppa asked 19/11, 2008 at 14:28

8

Solved

I am trying to make a class implement an MBean Interface so I can interrogate the properties at runtime. The class I am trying to interrogate is as follows public class ProfileCache implements Pro...
Hexachlorophene asked 14/8, 2014 at 13:4

© 2022 - 2024 — McMap. All rights reserved.