After upload and deploy on aws, the .jar file hadn't started. So the static contents are being served, and nginx is being reconfigured (by custom configs) but the jar file (Which was in root of .zip I've uploaded) was not run after deployment so I had to run it via ssh command, and of course it shuts down after closing ssh terminal... I included procfile as defined on amazon site but no progress..
Asked
Active
Viewed 1,245 times
6
-
1If there is an error with the deployment process you should be able to find something in the server logs indicating what the issue is. – Mark B Feb 25 '16 at 19:46
-
1There's no issue on deployment, it all passes green, plus no logs are indicating any errors.. Is there any more documentation about Procfile? – Falcon Feb 27 '16 at 12:44
-
If you want an example of an Java App using Procfile, the latest version of beanstalker ships with one. Use $ mvn archetype:generate -Dfilter=elasticbeanstalk-javase-archetype to find it – aldrinleal Mar 01 '16 at 10:06
-
How is it going? I also got your problem today. Not only there's nothing in `/var/log/web-1.log` and `/var/log/web-1.error.log`, but also nothing in `/var/log/supervisord.log` ! :( – Hendy Irawan Aug 01 '17 at 03:56
1 Answers
2
Let me see if I understood: You are having problems having your java code running on AWS Elastic Beanstalk because it thinks your code is ok by probing the static index.html file for instance, right?
In this case, there are two things to look for:
- Set a Health Check URL pointing to one of your java endpoints. In particular, it is useful if you could diagnose each and every external dependency (other AWS Services, databases)
- Log on to the instance - ensure you can get all the logging you can: Environment Variables, System Properties - that would be a start
Hope it helps

aldrinleal
- 3,559
- 26
- 33