Commit 6a06a5b
Fix shutdown cleanup: stop Tomcat before MariaDB, disable reloadable (#115)
- Change shutdown hook order to stop Tomcat first, then MariaDB,
ensuring Tomcat can cleanly finish context cleanup before the
database is killed
- Set context reloadable=false since hot-reloading is unnecessary
for a standalone distribution and causes extra file monitoring
- Call container.destroy() after container.stop() for proper
Tomcat lifecycle cleanup
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent fb30d61 commit 6a06a5b
File tree
2 files changed
+4
-3
lines changed- src/main/java/org/openmrs/standalone
2 files changed
+4
-3
lines changedLines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
234 | 234 | | |
235 | 235 | | |
236 | 236 | | |
237 | | - | |
| 237 | + | |
238 | 238 | | |
239 | 239 | | |
240 | 240 | | |
| 241 | + | |
241 | 242 | | |
242 | 243 | | |
243 | 244 | | |
244 | 245 | | |
245 | 246 | | |
246 | 247 | | |
247 | | - | |
248 | 248 | | |
249 | 249 | | |
250 | 250 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
| 77 | + | |
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
| 104 | + | |
104 | 105 | | |
105 | 106 | | |
106 | 107 | | |
| |||
0 commit comments