search cancel

Microgateway container exited code 77

book

Article ID: 188947

calendar_today

Updated On:

Products

CA API Gateway CA Microgateway

Issue/Introduction

The microgateway container didn't start up after abnormal termination of the container with exit code 77.
The docker command "docker ps" showed the exit code 77. What does the 77 mean? Why the microgateway container didn't start up?

Cause

Exit code 77 is returned when the gateway process failed to start up.

Environment

Release : 9.x

Component : API Gateway container form-factor with embedded DB, Microgateway 1.0

Resolution

Corruption of In-memory db (derby) is inevitable when the process is killed without shutdown.
http://db.apache.org/derby/docs/10.15/adminguide/cadmindbintegrity.html

New microgateway containers should be run by "docker-compose up" as written in the documentation.
Please don't use "docker restart".