Sohu Smart Platform Tech Team
Sohu Smart Platform Tech Team
Sep 26, 2025 · Backend Development

Why Does My Spring Boot App Crash While Netty Still Runs? A Deep Dive

During a gray‑release a single server reported that the Spring container was closed while the Netty server still accepted HTTP requests, leading to an IllegalStateException; the article analyzes the root cause in Dubbo startup, explains the event flow, and proposes a reliable fix using ApplicationReadyEvent.

ApplicationReadyEventContextRefreshedEventDubbo
0 likes · 7 min read
Why Does My Spring Boot App Crash While Netty Still Runs? A Deep Dive
21CTO
21CTO
Aug 4, 2021 · Operations

Mastering Graceful Shutdown and Startup for Spring Boot Microservices

This article explains how to implement elegant service shutdown and startup in microservice architectures using JVM shutdown hooks, Spring Boot lifecycle events, Docker signal handling, and external container scripts, ensuring traffic is safely managed and services are registered or deregistered correctly.

ApplicationReadyEventContextClosedEventGraceful Shutdown
0 likes · 10 min read
Mastering Graceful Shutdown and Startup for Spring Boot Microservices