Questions tagged [jmxmp]

Java Management Extensions (JMX) Messaging Protocol - based directly on TCP sockets

12 questions
6
votes
5 answers

Where to download JMXMP?

I want to profile a Java application with VisualVM, remotely via JMX. Because it's a NAT'ted and firewalled EC2 instance, I can't use the default RMI approach and need to use the optional JMXMP extensions, which I must first download. NOTE – IF YOU…
Bart van Heukelom
  • 40,403
  • 57
  • 174
  • 291
5
votes
2 answers

How to enable JMXMP in Tomcat?

I've downloaded the JMXMP extensions and installed them in Tomcat's lib directory. Now, how can I make it use them, i.e. let Tomcat accept JMXMP connections? Oracle's examples show how to do it with code, for which I'd have to write my own…
Bart van Heukelom
  • 40,403
  • 57
  • 174
  • 291
2
votes
0 answers

JMX Client for Zookeeper

I am trying to workout a JMX Java client for Zookeeper instance for a custom monitoring web app. As provided in document, Zookeeper provides various statistics through JMX MBeans. For the excercise, I am running Zookeeper intance locally in…
Kumar Sambhav
  • 6,675
  • 13
  • 56
  • 82
1
vote
1 answer

How to authenticate with user and password using Custom JMX server using TLS and JMXMP

I am using the following code to create a custom JMX server with TLS and JMXMP following the Oracle documentation. It works well and I can connect to the server with no problem, however I would like to add "USER" and "PASSWORD" to the…
0
votes
1 answer

JMX Connection does not replay when running JMXConnectorFactory.connect

Need your help to understand why I am unable to connect from a client application to a server application using JMX. I have a Server application that is initiating a JMX Bean server and a client that is trying to connect to this Server using JMX.…
Yo Al
  • 1,959
  • 4
  • 19
  • 21
0
votes
1 answer

How to set up remote access SSL JMX interface on app in docker

This follows on from "How to access JMX interface in docker from outside?" which talks about setting up unencrypted JMX connections. I could use either RMI or JMXMP which Glassfish uses. There is a set of JVM options that are required and I'm…
Adam
  • 4,560
  • 3
  • 40
  • 78
0
votes
1 answer

Datadog-agent spun up within docker container outputs JMX RMI connection error

I’m getting a connection refused from my datadog-agent that is trying to collect JMX (via RMI) metrics from an in-house application that exists in its own docker container. However, jconsole is able to collect the metrics from the application that…
blah
  • 1
  • 1
0
votes
1 answer

JMX connection using JMXMP hangs

I'm trying to establish a JMX connection to my tomcat instance from a java client using the below code. JMXServiceURL url = new MXServiceURL("service:jmx:jmxmp://:"); //line 1 JMXConnector jmxc = JMXConnectorFactory.connect(url); //line…
user957183
  • 437
  • 3
  • 8
  • 16
0
votes
2 answers

Which jar contains com.sun.jdmk.security.sasl.Provider class file

I am implementing 'JMXMP Connectors With Simple Security' example from 'Java Dynamic Management Kit 5.1 Tutorial' Oracle documentation. Where can I find the source code of the examples? Also, which jar contains the jar…
Ashay Batwal
  • 4,608
  • 7
  • 20
  • 28
0
votes
1 answer

Add JMXMP listener for an existing Java application

I need to add a JMXMP listener to an existing Java application without changing any code. The classic RMI based protocol doesn't work in the target environment do to firewall restrictions. In other words: I would like to access the JMX of the…
csar
  • 16
  • 2
  • 4
0
votes
1 answer

Reference implementation for a JMX connector?

I am looking to implement a JMX connector for an existing server project that has its own wire protocol, where the connector re-uses the same wire protocol. Can anyone tell me where I can find the sources of a reference connector? The JMXMP…
Martin Cowie
  • 3,208
  • 6
  • 36
  • 71
0
votes
1 answer

JRockit jmxmp support

I am trying to use JRockit 5.2(that ships with JDK7u51)ito connect with MBean Server thru JMXMP connector but I am not able to add jmxmp connector support for JRocket. When I try to connect, JRockit tells me unsupported protocol. Any advise?
nabsha
  • 158
  • 9