Reputation: 11
can I setup WildFly 18 for automatic restart after a JVM crash?
We use the JNI interface for native applications and we has a periodicly crash JVM. Use full-ha and ha modes does't work. Аfter JVM-crash, we should manually start server.
Upvotes: 1
Views: 1153
Reputation: 1514
WildFly AS is not able to restart itself after JVM crash. You can't configure this on the application server level.
Operating System should be able to monitor services and restart them after crashes. If you are using linux based system, you can utilize systemctl manager. See following:
Upvotes: 2