Interview Questions Answers.ORG
Interviewer And Interviewee Guide
Interviews
Quizzes
Home
Quizzes
Interviews Application Program Interviews:AutoCADBEA WeblogicBioinformaticsBizTalk ServerBug Tracking ToolsBugzillaClarify CRMCoding StandardsComputer Aided Design (CAD) DesignerCVSGIMPJMXLINQLoadRunnerMagentoMATLABMicrosoft AccessMicrosoft ExcelMicrosoft OfficeMicrosoft OutlookMicrosoft WordModel View Controller (MVC)OLAPOOADQuickbookRational RobotRDFSchemaSiebelSilkTestSVGTest PlanTesting ToolsUnity 3D DeveloperVRMLWCF SDKWPFXML DOMXPointer
Copyright © 2018. All Rights Reserved
JMX Interview Question:
How to access JMX (Java Beans) from a process running in docker container?
Submitted by: Ali Hassan SiddiquiYou have to expose the JMX port to the host and even used Sun specific options while running the Java process.
You are able to telnet to the host ip and the exposed JMX port, which tells that it is accessible. But I can't figure out a way to use JConsole and connect to the JMX service running in the container.
☛ Djava.rmi.server.hostname=$JMX_HOSTNAME
☛ Dcom.sun.management.jmxremote.port=$JMX_PORT
☛ Dcom.sun.management.jmxremote.rmi.port=$JMX_PORT
Submitted by: Ali Hassan Siddiqui
You are able to telnet to the host ip and the exposed JMX port, which tells that it is accessible. But I can't figure out a way to use JConsole and connect to the JMX service running in the container.
☛ Djava.rmi.server.hostname=$JMX_HOSTNAME
☛ Dcom.sun.management.jmxremote.port=$JMX_PORT
☛ Dcom.sun.management.jmxremote.rmi.port=$JMX_PORT
Submitted by: Ali Hassan Siddiqui
Copyright 2007-2024 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.
https://InterviewQuestionsAnswers.ORG.