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

PAYARA-3822 Ensure AMX Bean is created for metrics after server start #4016

Merged
merged 1 commit into from
Jun 7, 2019

Conversation

Cousjava
Copy link
Contributor

@Cousjava Cousjava commented Jun 5, 2019

No description provided.

@Cousjava Cousjava added this to the 5.193 milestone Jun 5, 2019
@Cousjava
Copy link
Contributor Author

Cousjava commented Jun 5, 2019

Jenkins test please

@@ -215,6 +215,9 @@ public void event(Event event) {
if (LOGGER.isLoggable(Level.FINE))
LOGGER.log(Level.FINE, "Discovering the XML ProbeProviders from lib/monitor");
discoverXMLProviders();
if (spmd != null) {
spmd.updateAllStatsProviders();
Copy link
Contributor

Choose a reason for hiding this comment

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

From what I understood the issue is that at restart a problem occurs. If making this null check helps prevent it it must mean that spmd is null which makes me wonder if updateAllStatsProviders needs to be called later or will spmd be initialised at some later stage and this does include the effects of updateAllStatsProviders?

@Cousjava Cousjava merged commit 9552fbb into payara:master Jun 7, 2019
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.

5 participants