Skip to content

Sample POC to show Spring Boot Events not working in JBoss EAP 7

Notifications You must be signed in to change notification settings

benze/springbootevents

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

springbootevents

Sample POC to show Spring Boot Events not working in JBoss EAP 7

This project shows the failure of SpringBoot shutdown events in a JBoss EAP 7 war file. Similarly, this shows that @PreDestroy is not called in beans as well when the application is undeployed.

Steps to reproduce.

  1. Build the war (mvn clean package)
  2. Copy the war to the standalone/deployments folder
  3. Undeploy the project from JBoss EAP 7

On deployment, the Spring ContextStartedEvent and @PostConstruct events are triggered (logged) However, on undeployment, none of the Spring ContextEvents nor the @PreDestroy events are triggered.

About

Sample POC to show Spring Boot Events not working in JBoss EAP 7

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages