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..
Aws Elasticbean doesn't run my .jar application
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
© 2022 - 2024 — McMap. All rights reserved.
/var/log/web-1.log
and/var/log/web-1.error.log
, but also nothing in/var/log/supervisord.log
! :( – Alixaliza