Reputation: 1
I got the following error messages when I pushed an app of Liberty for Java into Bluemix.
[Console] an instance of the app crashed: failed to start exit status: -1, CRASHED
[cf events APPNAME] index: 1, reason: CRASHED, exit_description: failed to start, exit_status: -1 index: 2, reason: CRASHED, exit_description: failed to start, exit_status: -1
a) Is there exit status code list? I can not find it. b) This error, exit status = -1, sometimes occurred. What is it? How should I investigate this cause?
Upvotes: 0
Views: 216
Reputation: 1441
Try cf events appname
to see if there's any more crash related info. Ensure that you deployed the app with enough memory, as insufficient memory will cause a crash on startup.
Upvotes: 0
Reputation: 615
On bluemix, you can use cf logs appName command to investigate the logs. You can also use Monitoring and analytics for investigating the logs. Read this article to get an idea of logging mechanism on bluemix - https://www.ibm.com/blogs/bluemix/2014/10/accessing-application-logs-bluemix/
Upvotes: 0