Automic Workload Automation

 View Only

Linux: Jetty AWI exits with Status 143

  • 1.  Linux: Jetty AWI exits with Status 143

    Posted Feb 26, 2025 03:01 PM
    Edited by Tony Beeston Feb 26, 2025 05:00 PM

    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.

    systemd status

    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