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

Remove JMX to improve start-up performance #8974

Merged
merged 2 commits into from
Dec 31, 2018

Conversation

jdubois
Copy link
Member

@jdubois jdubois commented Dec 21, 2018

@@ -58,7 +59,7 @@ import java.util.Collection;
excludeFilters = @ComponentScan.Filter(type = FilterType.ASSIGNABLE_TYPE, classes = OAuth2InterceptedFeignConfiguration.class)
)
<%_ } _%>
@SpringBootApplication
@SpringBootApplication(exclude = JmxAutoConfiguration.class)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are you sure this needs to be excluded ? some people might want to activate it later.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes I'll revert this: I'm just following the blog post here, I'm not finding any great improvements by removing JMX. Then, I see it also as a security risk, so let's remove it be default.

(I can't write here what I've done with JMX in the past, but trust me there were several very high security issues because JMX was left opened)

@jdubois jdubois merged commit 99910ab into jhipster:spring-boot_2.1.0 Dec 31, 2018
@jdubois jdubois modified the milestones: 5.8.0, 6.0.0 Jan 25, 2019
@jdubois jdubois deleted the perf_remove-jmx branch July 15, 2021 14:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants