jmx Questions

2

Solved

I'm trying to set up a JMX monitoring for a comand line app build with spring-boot. According to https://github.com/spring-projects/spring-boot/tree/master/spring-boot-actuator I just have to add ...
Diplomacy asked 10/9, 2014 at 10:45

3

Solved

I would like to connect to my application via JMX remotely, so I've created following configuration in main method: MBeanServer mbs = ManagementFactory.getPlatformMBeanServer(); JMXServiceURL url ...
Seymour asked 17/7, 2015 at 8:30

5

Solved

I have more than 5 spring web application and all of them are utilizing another common library. This common library has its own MBeans. Because of mandatory unique objectName constraint, my applica...
Towrope asked 16/8, 2011 at 7:44

0

Tomcat provides various monitoring operations via JMX. The documentation describes how to enable and disable remote monitoring. But is it possible to disable local monitoring (i.e. from within a we...
Guenevere asked 7/12, 2017 at 5:31

4

Solved

I'm looking for sample Java JMX code to access the values of JMX attributes from another VM. With JConsole, I have no problem looking at java.lang/Memory/Attributes/HeapMemory How would I get the...
Passing asked 18/11, 2009 at 23:19

6

Solved

I am looking at storing some JMX data from JVMs on many servers for about 90 days. This data would be statistics like heap size and thread count. This will mean that one of the tables will have aro...
Gualtiero asked 14/1, 2009 at 18:17

1

Solved

I need to connect to JMX agent programmatically using Attach API (loading agent at runtime if necessary) as shown in example here. This worked fine in Java 8 but doesn't work in Java 9 since there ...
Stockstill asked 27/9, 2017 at 9:38

3

Solved

I read in ActiveMQ page, using JMX we can monitor queues in activemq. How can we get notified if a queue has messages (depth high) or service interval is high in ActiveMQ. Without using any shell s...
Etiology asked 11/11, 2011 at 19:47

2

I am trying to monitor JDBC connections in tomcat using JMX. But it is giving information only regarding the Datasource resources, I want the status of connection defined in Database.properties fi...
Hearthside asked 27/12, 2012 at 8:39

2

Solved

A Kafka cluster can be monitored in granular detail via the JMX metrics it exposes. Usually an external GUI or application like jconsole needs to be hooked up to a broker's exposed JMX_PORT in orde...
Tirza asked 19/1, 2017 at 22:5

1

I have an Singleton Service deployed to a Weblogic cluster, i'd like to know the provider url (listen address and port) of the server on which the singleton service is deployed from the singleton i...
Leapfrog asked 26/8, 2015 at 7:45

0

My infrastructure is architected this way (on AWS): |NAT| <--> |ServerA| <--> |DockerContainer| <--> |GlassFish4.0| ServerA has a Docker container running Glassfish version 4.0...
Solecism asked 23/6, 2017 at 17:59

5

I am new to Java and I'm facing a problem in connecting a Remote Host to the JVisualVM. I've searched the Internet and followed all the steps mentioned there but still am not able to resolve the i...
Attainture asked 24/10, 2011 at 5:49

1

Solved

I am trying to setup IntelliJ to connect to a Tomcat instance running in a Docker container. I would like to be able to use remote debugging and also deploy remotely using JMX. I can enable remote...
Slimy asked 21/4, 2016 at 0:59

3

Solved

I am trying to create a jmeter jmx file using the jmeter java api. This is what I have done, gui.jmx Use the jmeter gui application to create a reference jmx file against which I can compare. T...
Candelabrum asked 26/8, 2014 at 17:40

4

Solved

I have a simple Spring Boot application using org.apache.commons.dbcp2.BasicDataSource as dataSource bean. The data source is exposed as MBean automatically by Spring boot. The bean declaration...
Jeanett asked 25/7, 2014 at 3:47

2

Solved

I run Tomcat8 using JDK8 on Centos6. I enable JMX using the following options: CATALINA_OPTS="${CATALINA_OPTS} -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=9123 -Dcom.sun.man...
Cupro asked 12/2, 2016 at 16:14

3

Sorry for this question which must have been asked many times, but I can't succeed in resolving my problem. I've read a lot of blogs, sites, forums, .... and didn't find any solution in my case. C...
Geri asked 18/2, 2011 at 18:47

4

Solved

I'd like to use visualvm app through an ssh tunnel (to an EC2 machine) using jmx OR jstatd. How do I do this? Here is a list of what has been tried (and failed): (BTW: if visual vm is not appropria...
Coprophilous asked 10/10, 2012 at 17:36

1

Solved

I checked http://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/scheduling/concurrent/ThreadPoolTaskExecutor.html There is no getter for queue size, only queue capaci...
Samson asked 18/10, 2016 at 18:42

2

I have created a Spring Integration application with Spring Boot. I would like to know how to configure JMX with Spring Boot. I believe by default JMX is configured when using Spring Boot Actuator....
Ber asked 26/8, 2014 at 3:5

5

Solved

JMX enabled Java application appears to open a random high order port when JMX client connects I have successfully configured a helloworld JMX enabled program, and I can connect to it using jconso...
Waters asked 23/8, 2011 at 15:2

4

Solved

I am unable to connect to JMX object. Here is how I create a JMX object: public static void main(String... args) { MBeanServer mbs = ManagementFactory.getPlatformMBeanServer(); try { ObjectName...
Solorzano asked 1/3, 2014 at 17:50

1

It is well document how the default JMX Connector can be configured to handle TLS/SSL secured connections from JMX clients such as JConsole, e.g. -Dcom.sun.management.jmxremote.port=6789 \ -Dcom....
Miscreance asked 5/9, 2016 at 16:26

1

Solved

When launching a Java application with these options: -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management...
Fukuoka asked 6/9, 2016 at 8:39

© 2022 - 2024 — McMap. All rights reserved.