Deploy JHipster app to AWS Elastic Beanstalk

I just created a sample JHipster application and generate a war file.

I created a Elastic Beanstalk with Tomcat as environment and uplaoded the war file.

The beanstalk goes to degraded status.

Here are the error logs. Also is there any recommended way to deploy JHipster apps to elastic beanstalk?

[Instance: i-0747156d94153abba] Command failed on instance. Return code: 1 Output: (TRUNCATED)...pamodelgen-5.2.17.Final.jar extracting: /tmp/deployment/application/ROOT/WEB-INF/lib-provided/mapstruct-processor-1.2.0.Final.jar extracting: /tmp/deployment/application/ROOT/WEB-INF/lib-provided/spring-boot-configuration-processor-2.0.6.RELEASE.jar. Hook /opt/elasticbeanstalk/hooks/appdeploy/pre/02unzip.sh failed. For more detail, check /var/log/eb-activity.log using console or EB CLI.

/var/log/eb-activity.log

extracting: /tmp/deployment/application/ROOT/WEB-INF/lib/guava-25.1-jre.jar

creating: /tmp/deployment/application/ROOT/WEB-INF/lib-provided/

extracting: /tmp/deployment/application/ROOT/WEB-INF/lib-provided/hibernate-jpamodelgen-5.2.17.Final.jar

extracting: /tmp/deployment/application/ROOT/WEB-INF/lib-provided/mapstruct-processor-1.2.0.Final.jar

extracting: /tmp/deployment/application/ROOT/WEB-INF/lib-provided/spring-boot-configuration-processor-2.0.6.RELEASE.jar (Executor::NonZeroExitStatus)

[2018-11-07T04:14:06.917Z] INFO [3168] - [Application deployment jhipster@1/StartupStage0/AppDeployPreHook/02unzip.sh] : Activity...

Read More »

By: StackOverFlow - Tuesday, 6 November

Related Posts

  • Older News
  • Eureka with lb on vpc private network StackOverFlow (2 days ago) - I am deploying a java micro service solution to AWS elastic beanstalk(using eureka),I am using the following configuraion:scenario 2 amazon vpcwhen trying to deploy erureka client in the private subnet,...