Can setup WildFly 18 for automatic restart JVM after crash?

1k Views Asked by At

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.

1

There are 1 best solutions below

0
On

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: