-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ZWE1SV Remains Up even with "Unable to start embedded Tomcat server" #2332
Comments
Is the ZWE1SV general started task for the whole Zowe server, or is it a specific service? Also is the service being restarted? Because if yes, we already have somewhere issue to make sure zowe launcher doesn't restart failed services in certain cases that are unrecoverable. |
Yes. In my case though, I'm only starting API ML related services, e.g. discovery, gateway, catalog, and ZAAS I believe. Since this startup failure meant that nothing in the Zowe STC was usable, I expected everything to shutdown with an error. |
The answer is yes as API ML squad we agree that in this situation the Zowe should stop altogether. There is already a linked case in the Zowe Launcher - zowe/launcher#95 And other issue touching the problem in API Layer repository - zowe/api-layer#3518 With this stated the issue is related primarily to the Launcher and so I would expand on the issue above or move the issue there. |
In order for the launcher to know to not restart a failed service, there needs to be some way for it to tell the difference between a normal and abnormal end of process. The launcher can read stdout. As for case #95, this is not caused by launcher as far as I can tell. Since v3.0 it's become easier for me to end up with a gateway that will not shut down unless I issue SIGKILL even when not using the launcher at all (zwe internal start). |
I get a startup error
Caused by: org.springframework.boot.web.server.WebServerException: Unable to start embedded Tomcat server
which followed a messageZWEAM510E Invalid key alias 'localhost'
.I needed to fix my
zowe.yaml
for the proper alias name; however, I noticed that the STC,ZWE1SV
remains active even while services fail to start. Should Zowe services detect this scenario and shutdown automatically with a non-zero return code?The text was updated successfully, but these errors were encountered: