Skip to content

Instantly share code, notes, and snippets.

@moskinson
Created January 13, 2014 12:10
Show Gist options
  • Select an option

  • Save moskinson/8399240 to your computer and use it in GitHub Desktop.

Select an option

Save moskinson/8399240 to your computer and use it in GitHub Desktop.
Copy AWS Dynamo DB session storage in to tomcat installation lib, and replace the context.xml
container_commands:
01-copy-aws-library:
command: "cp WEB-INF/.ebextensions/AmazonDynamoDBSessionManagerForTomcat-1.0.1.jar.jar /usr/share/tomcat7/lib/"
02-replace-tomcat-context:
command: "cp WEB-INF/.ebextensions/context.xml /etc/tomcat7/context.xml"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment