jmx Questions
2
I have maven project.
My ear archive consist from jar and war. And he builds without error.
Problems began when i try to add .sar package to project. And he more not building. He throws exception.
...
3
My Java application needs to authenticate to Google cloud Mysql instance with SSL client authentication. Its client-key and certificate are provided by Google. I also need to setup JMX agent with S...
Bakehouse asked 20/10, 2015 at 5:13
11
I enabled JMX on Kafka brokers by adding
KAFKA_JMX_OPTS="-Dcom.sun.management.jmxremote=true
-Dcom.sun.management.jmxremote.authenticate=false
-Dcom.sun.management.jmxremote.ssl=false
-Djava.r...
Aerify asked 19/4, 2016 at 4:8
7
Solved
I am trying to remotely monitor a JVM running in docker. The configuration looks like this:
machine 1: runs a JVM (in my case, running kafka) in docker on an ubuntu machine; the IP of this machin...
2
Solved
I am trying to create an MXBean with a custom attribute, but I get javax.management.NotCompliantMBeanException
IJmsDestinationMBean.getAttributes has parameter or return type that cannot be transla...
7
We have a Java process which we run as a Windows service (using srvany). It runs with Java 1.6 (1.6.0.23 at the moment).
In the past (Windows XP), I could connect JConsole to the processes, on Wi...
1
We are using an old version of Payara, and exporting JVM metrics with the Prometheus JVM GC Exporter and Memory exporters.
In these exporters, we don't have access to the number of Java HeapSpace e...
Promontory asked 4/1, 2023 at 11:17
4
I was looking a while and didn't seem to find the answer.
I'm using Spring boot 2, Spring Kafka 2.1.4 and I want to see the kafka consumer metrics in the /metrics endpoint of spring boot actuator.
...
Hegemony asked 27/3, 2018 at 7:27
10
Solved
Are there any libraries that would allow me to call a JMX MBean method from a shell script. We expose some operations/admin commands through JMX, and we could have our admins use JConsole, or Visua...
Chanellechaney asked 17/11, 2009 at 19:20
3
Solved
I am using jdk64 and my java version is 1.6.0_24. I am running both (Tomcat java process and VisualVM) processes as Administrator on Windows Server 2008.
Tomcat is running with -Xmx7196m, where as...
9
Solved
I have a web application deployed to a remote resin server, and it has JMX turned on.
I can telnet to the remote server i.e
franz@see:/tmp$ telnet <remote-ip> 5555
Trying <remote-ip>....
2
Solved
When I try to use JMX to monitor an application like this:
java -Dcom.sun.management.jmxremote.port=9999 \
-Dcom.sun.management.jmxremote.authenticate=false \
-Dcom.sun.management.jmxremote.ssl=...
4
I'm running my Java application with the following parameters that enable JMX server's remote connections:
-Dcom.sun.management.jmxremote=true
-Dcom.sun.management.jmxremote.port=9998
-Dcom.sun.man...
Percaline asked 16/2, 2021 at 10:33
7
Solved
I am currently starting my Java VM with the com.sun.management.jmxremote.* properties so that I can connect to it via JConsole for management and monitoring. Unfortunately, it listens on all interf...
7
Solved
Actually I wanted a solution working for JEE containers, specifically for Glassfish, but after I tried many combinations of settings and did not succeed, I reduced the setup to the simplest possibl...
4
Solved
I know that spring automatically expose JMX beans. I was able to access it locally using VisualVM.
However on prod how I can connect to remotely to the app using it's JMX beans? Is there a default...
Store asked 2/4, 2015 at 11:40
1
I wrote a batch Java 7 application that should be controlled by a JMX client. The JMX service is up and running, and I can connect to it using jConsole from my machine.
I set the option -Dcom.sun....
11
For some weird reason I am not able to connect using VisualVM or jconsole to a JMX.
The parameters used to start the VM to be monitored:
-Dcom.sun.management.jmxremote
-Dcom.sun.management.jmxremot...
12
Solved
So I am looking at a heap with jmap on a remote box and I want to force garbage collection on it. How do you do this without popping into jvisualvm or jconsole and friends?
I know you shouldn't be...
Sarene asked 19/8, 2010 at 16:17
4
Solved
I run my Java program with JDK7 on Centos6. I enable JMX using the following options:
JAVA_OPTS="${JAVA_OPTS} -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=9123 -Dcom.sun.mana...
4
When trying to register an MBean in JMX Console I'm getting the following error message:
The package javax.management is accessible from more than one module: <unnamed>, java.management
I'...
Neritic asked 29/4, 2019 at 11:35
0
3
Solved
How do I get the list of the connections to the OpenWire connector of ActiveMQ?
JConsole is able to list the connections, but I don't see which "view" I can use to get the list:
Example O...
Antimissile asked 15/9, 2011 at 13:36
12
Solved
How to activate JMX on a JVM for access with jconsole?
Agitator asked 13/5, 2009 at 9:2
1
I have a Spring Boot application and that application has integration tests.
Here is the relevant snippet from my pom.xml for running the integration tests.
<plugin>
<groupId>org.sp...
Priceless asked 7/1, 2019 at 20:16
1 Next >
© 2022 - 2024 — McMap. All rights reserved.