How to attach the local JBoss JMX server without jboss-client.jar
Issue
Disclaimer: Links contained herein to an external website(s) are provided for convenience only. Red Hat has not reviewed the links and is not responsible for the content or its availability. The inclusion of any link to an external website does not imply endorsement by Red Hat of the website or their entities, products or services. You agree that Red Hat is not responsible or liable for any loss or expenses that may result due to your use of (or reliance on) the external site or content.
- According to How to access MBeanServerConnection from remote JMX Client in JBoss EAP 7,
jboss-client.jar
is required for a client to connect to JMX server. How can I connect to a JMX server on localhost withoutjboss-client.jar
? - Is it possible to connect to JBoss's JMX server via the Attach API described in Java SE 11 Monitoring and Management Guide?
Environment
- Red Hat JBoss Enterprise Application Platform (JBoss EAP)
- 7.x
- OpenJDK
- 11
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.