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

Fix gwc's direct WMS integration, bean registration race condition #266

Merged
merged 1 commit into from
Aug 18, 2022

Conversation

groldan
Copy link
Member

@groldan groldan commented Aug 18, 2022

Make wms-service's application autoconfiguration run before
gwc's WMSIntegrationAutoConfiguration. They both load
beans from gs-wms.jar but of gwc's autoconfiguration runs
first, precludes wms's autoconfiguration from loading some
beans, as they're already marked to be ignored.

This resulted in direct-wms-integration being absent despite
the configuration property gwc.wms-integration=true.

@groldan groldan added the bug Something isn't working label Aug 18, 2022
Make wms-service's application autoconfiguration run before
gwc's `WMSIntegrationAutoConfiguration`. They both load
beans from `gs-wms.jar` but of gwc's autoconfiguration runs
first, precludes wms's autoconfiguration from loading some
beans, as they're already marked to be ignored.

This resulted in direct-wms-integration being absent despite
the configuration property `gwc.wms-integration=true`.
@groldan groldan force-pushed the bug/wms_gwc_integration_broken branch from b8554c2 to 4a81c4b Compare August 18, 2022 06:33
@groldan groldan merged commit d3ea8a0 into geoserver:main Aug 18, 2022
@groldan groldan deleted the bug/wms_gwc_integration_broken branch December 15, 2023 21:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant