Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Visual VM 2.1.7 connects to my java application of JMX port but say Not supported for this JVM #531

Open
manojjb opened this issue Nov 7, 2023 · 2 comments
Labels

Comments

@manojjb
Copy link

manojjb commented Nov 7, 2023

Describe the bug
I am running the Visual VM 2.1.7 on my Mac ARM based. My application is running on the openjdk. The details for the version and distribution below
java -version openjdk version "17.0.8" 2023-07-18 OpenJDK Runtime Environment Temurin-17.0.8+7 (build 17.0.8+7) OpenJDK 64-Bit Server VM Temurin-17.0.8+7 (build 17.0.8+7, mixed mode)

I have enabled the JMX on localhost. Now when I run the Visual VM on the MAC it detects my application but it shows as disabled on the application pane. When I right click on my application and press open it show the "Not supported for this JVM"

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

VisualVM log
Attached is the log file

[
logfile.txt
](url)

Screenshots
If applicable, add screenshots to help explain your problem.
image

Desktop (please complete the following information):

  • OS: Mac M1 Pro on Ventura
  • JDK version : 17.0.8+7
  • Version [e.g. 2.0]

Additional context
Add any other context about the problem here.

@manojjb manojjb added the bug label Nov 7, 2023
@thurka
Copy link
Member

thurka commented Nov 14, 2023

It looks to me that JMX is not enabled on your localhost - BTW: This needs to enabled for every Java process separately. How did you "enabled the JMX on localhost" and why do you need it? VisualVM will enable JMX in local Java processes automatically.

@nufeng1999
Copy link

encounter the same problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants