I have a web application using JSF 2.2, glassfish 4.1 and RestEasy 3.1.2. Everything works well on local host, but when I try to deploy the war file to aws elastic beanstalk