Skip to content

[Improvement]: Disable jmxremote when jmxremote.port is not set.#3166

Merged
czy006 merged 1 commit into
apache:masterfrom
baiyangtx:jmx
Sep 4, 2024
Merged

[Improvement]: Disable jmxremote when jmxremote.port is not set.#3166
czy006 merged 1 commit into
apache:masterfrom
baiyangtx:jmx

Conversation

@baiyangtx
Copy link
Copy Markdown
Contributor

Why are the changes needed?

When -Dcom.sun.management.jmxremote is set, jvm will listen on a random port as jmxremote.port.

Brief change log

  • Only set jmxremote params when jmxremote.port is set.

How was this patch tested?

  • Add some test cases that check the changes thoroughly including negative and positive cases if possible

  • Add screenshots for manual tests if appropriate

  • Run test locally before making a pull request

Documentation

  • Does this pull request introduce a new feature? (yes / no)
  • If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

@czy006 czy006 merged commit 2178890 into apache:master Sep 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants