You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I inspected the verbose debug output with the -v, --verbose flag.
Are you an Up Pro subscriber?
Description
Version 1.4.0 changed the default runtime to nodejs10.x. When a java application attempts to start up in this runtime, it encounters a "command not found" error, as this runtime doesn't appear to include a JDK. (Someone else posted about that here: https://forums.aws.amazon.com/thread.jspa?messageID=919688󠢈) Configuring up to use lambda runtime nodejs8.10 works around the issue (for now).
Steps to Reproduce
Deploy a java application using up 1.4.0.
Make a request to the application and check the logs
Yeah unfortunately they removed python and java binaries :( I think the only workaround for now would be to use a Lambda Layer which has those binaries available.
Ideally we wouldn't need the Node.js "shim" at all, but we're stuck with that for now.
My original plan was to just use Lambda's supported runtimes, and put the Up proxy in a Layer, but I ran into issues with that because a Layer can't act as the handler, otherwise it would work perfectly. The AWS team didn't seem to want to support this scenario though
Prerequisites
up upgrade
)-v, --verbose
flag.Description
Version 1.4.0 changed the default runtime to nodejs10.x. When a java application attempts to start up in this runtime, it encounters a "command not found" error, as this runtime doesn't appear to include a JDK. (Someone else posted about that here: https://forums.aws.amazon.com/thread.jspa?messageID=919688󠢈) Configuring up to use lambda runtime nodejs8.10 works around the issue (for now).
Steps to Reproduce
Love Up?
Please consider signing up for Up Pro (https://up.docs.apex.sh/#guides.subscribing_to_up_pro) or donating via https://opencollective.com/apex-up/donate.
Slack
Join us on Slack https://chat.apex.sh/
The text was updated successfully, but these errors were encountered: