jmx Questions

3

Solved

I am trying to understand a JMX service URL. service:jmx:rmi://192.168.30.10:1234/jndi/rmi://192.168.30.10:2344/jmxrmi It would be great, if someone can help me understand this. Thanks
Arid asked 4/5, 2010 at 18:48

0

I am trying to remove messages from JMS queue on Wildfly 9.0.2 (JBoss) using JMX, see following code: MBeanServer server = ManagementFactory.getPlatformMBeanServer(); try { String name = "jbos...
Argyres asked 16/8, 2016 at 12:0

1

Solved

I have a mbean for a class say foo.bar.Log4j and I want to use jolokia to list all loggers? I have tried reading on https://jolokia.org/reference/pdf/jolokia-reference.pdf but that tells me how to...
Juncaceous asked 8/8, 2016 at 21:6

4

Solved

I'm running a java webapp (wicket 6.13) using Hibernate 4.3 and Guice 1.0 I'm trying to configure Hibernate so that I can access runtime information via the JMX framework. I'm not using spring, c...
Skeleton asked 21/1, 2014 at 9:31

1

Solved

I thought JMX was a specification and JMS was more like an implementation. I was asked the difference between the two and the questioner disagreed with this. I read about it and understood bo...
Cantina asked 30/7, 2016 at 8:34

1

I read from DBCP2 documentation that this new version supports JMX monitoring for connection pool, but I couldn't find any example which shows actual usage. I have a simple JDBC based java applica...
Goldstein asked 25/1, 2016 at 16:50

6

Solved

I am trying to connect to a remote jboss instance running on a server. I am using the following connection URL service:jmx:remoting-jmx://90.214.64.170:9999 When i do this i get the following ...
Trucking asked 30/7, 2014 at 20:28

3

Solved

I've learned a lot about JMX over the past couple of years and have built some pretty fancy MBeans for my web applications. However, I'm not sure I have a good answer to a pretty basic question: W...
Hagiarchy asked 18/5, 2012 at 20:50

2

Solved

after reading and trying a lot around, I have to ask if anyone has a solution for my problem. I am trying to set up some Tomcats (V6) behind a firewall. This is no big deal - but I want to monitor...
Leannleanna asked 14/6, 2011 at 15:7

2

Solved

I have been asked to investigate Oracle Java Mission Control, so that server-side Java applications may be monitored and actions taken (e.g., alerts emitted and logged, flight recordings saved) und...
Garzon asked 12/5, 2016 at 18:30

3

Solved

I have a Jmx Client that i use to test a jmx bean I've written. Here's the code for the client: JMXServiceURL url = new JMXServiceURL("service:jmx:rmi:///jndi/rmi://localhost:8686/jmxrmi"); JMXC...
Psychic asked 12/3, 2013 at 10:13

3

I want to use the name of the jmeter test script (.jmx) in a listener so as to generate the result file in a dynamic way. Can you please tell me what is the Jmeter variable for that purpose? Used ...
Rothenberg asked 1/7, 2015 at 9:46

1

I have a problem with persistence of my config MBean. My configuration: <bean id="adminMBean" class="pl.mobileexperts.catchme.mbeans.AdminSettingsMBean"></bean> <bean id="exporter"...
Tot asked 20/2, 2012 at 10:18

3

I am studying about Java JMX and JConsole. I am curious about the memory management abilities of JConsole. For example, there is a "Perform GC" button in the Memory tab : Suppose I have simple ...
Buddha asked 1/3, 2016 at 1:37

6

I have a program which requires dynamically (i.e. at run time) opening an available socket and start a JMX agent on it. This JMX parameters are being set inside the Java code and not through comman...
Croak asked 1/9, 2011 at 21:38

1

Solved

I need to programmatically start a new java process and dynamically set the JMX port. So instead of doing this -Djava.rmi.server.hostname=127.0.0.1 -Dcom.sun.management.jmxremote.port=9995 -Dcom.s...
Kowal asked 16/12, 2014 at 15:35

4

Solved

We use MX4J to access JMX related operations/attributes via a web interface in the container itself. I wanted to know if there are alternatives that are available for it, since the last service rel...
Larimor asked 16/8, 2011 at 11:13

12

I am trying to connect to a remote tomcat JMX instance using jConsole. But can't connect successfully. Any Idea? I included the following option in remote tomcat catalina.sh: JAVA_OPTS="$JAVA_OPT...
Clinic asked 12/8, 2009 at 2:58

1

I have my OSGi application launching with the following command in my remote machine: java -Dcom.sun.management.jmxremote \ -Dcom.sun.management.jmxremote.port=8080 \ -Dcom.sun.management.jmxrem...
Barite asked 5/1, 2015 at 16:37

1

Solved

I configured Apache Tomcat 8 using this tutorial https://tomcat.apache.org/tomcat-7.0-doc/monitoring.html and I generated SSL certificate. JMXServiceURL url = new JMXServiceURL("service:jmx:rmi://...
Diskson asked 22/12, 2015 at 8:50

2

Solved

Basically I'm trying to modify the code from this tutorial here: http://docs.oracle.com/javase/tutorial/jmx/remote/custom.html so that I can access the MBeans from tomcat that are described here: h...
Lascivious asked 3/7, 2013 at 20:35

6

Solved

I am running tomcat 6.0.18 as a windows service. In the service applet the jvm is configured default, i.e. it is using jvm.dll of the JRE. I am trying to monitor this application with JConsole but...
Sattler asked 2/2, 2009 at 12:33

1

I followed these instructions "Enabling JMX authentication": http://docs.datastax.com/en/cassandra/2.2/cassandra/configuration/secureJmxAuthentication.html However I'm having this problem: nodet...
Manger asked 9/10, 2015 at 13:15

2

I want to write my own ActiveMQ Monitor. I can get Queues and Messages from a Queue. But the Message Body (content) is shorted. How can I get the full Message Body? This I have tested: Get: Alway...
Windflower asked 30/12, 2014 at 14:27

4

Solved

I'd like to be able to remotely connect to a Java service that has JMX exposed, however it is blocked by a firewall. I have tried to use ssh local port forwarding, however the connection fails. Loo...
Guenzi asked 26/2, 2013 at 15:47

© 2022 - 2024 — McMap. All rights reserved.