Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8421373
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T03:08:03+00:00 2026-06-10T03:08:03+00:00

Updated 08.18.2012 I am using Play 2.0.2 and I want to deploy my app

  • 0

Updated 08.18.2012

I am using Play 2.0.2 and I want to deploy my app to Amazon Webservices. I think the easiest way to do this is via Elasticbeanstalk.

I used Play2war to package my app
https://github.com/dlecan/play2-war-plugin/

I was able to package it with

play war

According to the usage guide of play2war, I renamed my file to ROOT.war because i used Linux 32bit Tomcat7.

I also used the servlet 3.0 as described in the tutorial on play2war. (tomcat 7 -> servlet 3.0).

The file size is 31mb.

Every time I use Elasticbeanstalk, I get the same log.

2012-08-18 00:25 GMT+0200
WARN
Environment health has been set to RED
2012-08-18 00:25 GMT+0200
INFO
Launched environment: elosource. However, there were issues during launch. See event log for details.
2012-08-18 00:25 GMT+0200
INFO
Your health check URL may be misconfigured. If your application does not respond to requests at http://elosource.elasticbeanstalk.com:80/, modify the health check URL to a valid path.

I tested it with Linux 32/64 bit , Tomcat7(servlet 3) and Tomcat6(servlet2.5). I always get the same result.

I also tried adding an extra html file for the health checker.

  • What would you recommend me to do?

  • What alternatives do I have to get my app running on ec2?

  • Is there a guide that explains how I manually deploy my app to ec2 with all the needed dependcies, like mongodb, play etc?

  • Also WAR files are relatively huge ~30mb, with my dsl 1k it is a real pain to upload such a lage file. Is there a way to only upload the changes with Elasticbeanstalk?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T03:08:04+00:00Added an answer on June 10, 2026 at 3:08 am

    Ok, I know this is not the straight answer to your question as I am not using beanstalk, but as you asked for it in one of the comments:

    Here is how I run my play2 app on a linux EC2 instance with a jvm installed:

    1. on your local machine, in your project directory, run play dist
    2. send the dist/yourapp-1.0-SNAPSHOT.zip file (or whatever dist name you have
      configured) to the EC2 instance
    3. ssh to your instance
    4. unzip the dist file in the directory you want and cd there
    5. run chmod +x start
    6. run nohup ./start &

    you now have your play2 application running natively on EC2, with websocket and all the cool stuff. I didn’t have to configure anything special in play for that to work. I am using an RDS database configured as any other DB in play.

    Clearly, it’s a bit more hassle than beanstalk as you have to configure the server on your own and set up the autoscaling manually. But this is the best way that I have found to run play2 with all the features on AWS for now.

    I hope this helps.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I Have XML similar to this(omitted parts for brevity): <uformrecord> <state>Submitted</state> <created>2012-06-19T11:31:54</created> <updated>2012-06-19T11:32:13</updated> <id>53225sas3c1-d727-42cd-93a6-97cd778e5ee9</id>
I am using JSON.parse to parse this JSON string [{created_at:2012-01-24T22:36:21Z,name:joe,age:42,updated_at:2012-01-24T22:36:21Z}] However I am simply
I created a Play! app and deployed it under TomCat. This works well. The
I am using Visual studio 2011 beta with the april 2012 update installed .I
I have this query update user_remember_me set when='2012-07-06 05:44:27', hash='c8e9d2c0dd156b5c68d0b048e5daa948e6b8fac7' where user = '21';
I am wondering how to query the database using the model in play 2.0
I'm using acts_as_taggable_on in my rails app. I'd like these tags to show up
I am developing a web app using Codeigniter and MongoDB. I am trying to
I am using Hibernate 4.1.3 (JPA) on the Play! framework. The database is PostgreSQL
I'm trying to parse a JSON string like this one [ { updated_at:2012-03-02 21:06:01,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.