amazon web services - Issue ElasticBeanStalk/Tomcat war deploy Using EB CLI 3.4.5 (Python 2.7.6) -


set up: src/main/webapp/.ebextensions has following:

container_commands:       replace-config:         command: cp src/main/webapp/.ebextensions/server.xml /etc/tomcat8/server.xml 

.elasticbeanstalk/config.yml has following:

deploy:       artifact: target/service.war     

when try deploy war file using eb-cli,

cannot stat 'src/main/webapp/.ebextensions/server.xml': no such file or directory 

and deploy fails/terminates. pointers on appreciated.

thanks @nick humrich helping me debug. final solution eb init target folder (which not in git) , keeping server.xml path .ebextensions/server.xml.


Comments

Popular posts from this blog

python - pip install -U PySide error -

arrays - C++ error: a brace-enclosed initializer is not allowed here before ‘{’ token -

cytoscape.js - How to add nodes to Dagre layout with Cytoscape -