You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
spring-boot/spring-boot-project
Andy Wilkinson f17f1255a4 Do not change availability on close unless context is active
Previously, an AvailabilityChangeEvent was published when the servlet
and reactive web server application contexts were closed, irrespective
of whether or not the context was active. This caused problems when
the context was not active due to a refresh failure as the event
publication could then trigger bean creation and post-processing that
relied upon beans that had been destroyed when cleaning up after the
refresh failure. The most commonly seen symptom was a missing
importRegistry bean that is required by ImportAwareBeanPostProcessor.

This commit updates the two web server application contexts to only
publish the availability change event if the context is active.

Fixes gh-21588
5 years ago
..
spring-boot Do not change availability on close unless context is active 5 years ago
spring-boot-actuator Merge branch '2.2.x' 5 years ago
spring-boot-actuator-autoconfigure Map connection and read timeouts for New Relic again 5 years ago
spring-boot-autoconfigure Upgrade to Testcontainers 1.14.2 5 years ago
spring-boot-cli Fix file permissions in the CLI's zip and tar distributions 5 years ago
spring-boot-dependencies Fix dependency management for Kafka 5 years ago
spring-boot-devtools Separate server properties for message and errors 5 years ago
spring-boot-docs Document health probes config property in Actuator section 5 years ago
spring-boot-parent Upgrade to Testcontainers 1.14.2 5 years ago
spring-boot-properties-migrator Update copyright year of changed files 5 years ago
spring-boot-starters Merge branch '2.2.x' 5 years ago
spring-boot-test Update copyright year of changed files 5 years ago
spring-boot-test-autoconfigure Upgrade to Testcontainers 1.14.2 5 years ago
spring-boot-tools Configure attributes on productionRuntimeClasspath 5 years ago