1
Shutdown Triggered
Shutdown initiated via Ctrl+C signal or stop script execution.
2
JVM Shutdown Hook
JVM shutdown hook calls CarbonServer to begin graceful shutdown process.
3
Notify Lifecycle Listeners
All registered lifecycle listeners are notified about the shutdown event.
4
Stop Transports
HTTP/HTTPS and JMS transports are stopped to prevent new connections.
5
Handle Active Requests
Existing requests are given time to complete processing before termination.
6
Shutdown Axis2 Engine
Axis2 engine is gracefully shut down, ensuring proper cleanup.
7
Stop Synapse
Synapse engine stops processing APIs and sequences.
8
Close DB/Registry Connections
Database and registry connections are properly closed and released.
9
Shutdown OSGi Bundles
All OSGi bundles are stopped in the correct dependency order.
10
Shutdown Complete
WSO2 API Manager has been completely shut down and all resources released.