Hello Experts,
I recently migrated from our tomcat based AWI to the jetty version (version 21.0.13 atm) and noticed that our systemd unit suddenly starts to fail when stopping the service. The process is canceled as expected, but the systemd unit ends in status "failed". So I have to 'systemctl reset-failed' before starting the AWI again. No big deal but pretty annoying.
Looks like the java process gives a non zero return code. My first thought was this might be a systemd only issue. But even if I kill the process manually the exit code is 143. As there is nothing in the logs I wonder if this is the normal behavior or if it's a bug. As a workaround I added this option to our unit file.
SuccessExitStatus=143
Does anyone have a similar setup and could check if he/she has the same issues?
Regards,
Matthias