[Bug]: HopWebServletContextListener.contextDestroyed causes Spring Boot to fail to shut down gracefully
- Dominant language
- Java
- Stars
- 1.5k
- Forks
- 476
- Avg merge
- 18h 32m
- Merged PRs (30d)
- 216
Description
### Apache Hop version?
2.12.0
### Java version?
17
### Operating system
Windows
### What happened?
HopWebServletContextListener.contextDestroyed causes Spring Boot to fail to shut down gracefully
with [ System.exit(0);](https://github.com/apache/hop/blob/a86de4df8fb5b4b28405f88358e2722376a2bc2c/rap/src/main/java/org/apache/hop/ui/hopgui/HopWebServletContextListener.java#L50)
### Issue Priority
Priority: 3
### Issue Component
Component: Hop Web
Contributor guide
Research direction
Start with rap/src/main/java/org/apache/hop/ui/hopgui/HopWebServletContextListener.java at the contextDestroyed method and inspect how its shutdown handling affects Spring Boot. Reproduce the graceful-shutdown failure on Java 17 and Windows, then verify that Hop Web can stop without the reported forced termination behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 42/100