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

  • SEARCH
  • Home
  • 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 9205983
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T00:04:54+00:00 2026-06-18T00:04:54+00:00

When deploying a Play!2 app on cloudfoundry I would like to be able to

  • 0

When deploying a Play!2 app on cloudfoundry I would like to be able to specify at least one additional parameter to the startup command.

Currently it seems like cloudfoundry uses the start script created by Play2 without any arguments, but to override the default application configuration with specific production values I need it to be called with -Dconfig.resource=prod.conf

I couldn’t find any way to do this, maybe through the manifest.yml but I wasn’t able to find a specification for how to add this param.

Appart from this I was able to successfully deploy play 2.0 and play 2.1 apps to cloudfoundry

  • 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-18T00:04:54+00:00Added an answer on June 18, 2026 at 12:04 am

    Reading the source code for the cloudfoundry tooling I found out that the vcap-staging plugin for play does not honor the “command” attribute in manifest.ml nor does it ask for one. It automatically assume that the application will be started with the “start” (see line 10 in plugin.rb).

    However, it does honor the JAVA_OPTS environment variable.

    In the end, I was able to do

    vmc set-env JAVA_OPTS "-Dconfig.resource=prod.conf"
    

    And get it working as I wanted.

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

Sidebar

Related Questions

I have a Play Framework app happily running on Heroku. I would like to
Hi I'm deploying an App free on the google market, so I would like
Deploying on JBoss AS 7.1.0.Final. I have a very simple test app. It was
After deploying to Azure, I kept getting server errors -- the application would not
After deploying a set of services on QA environemnt, one orchestration is suspended with
While deploying a dwr web app, i'm continuously getting this error. I dont know
While deploying a Django app. I am having problem with static files. I am
When deploying to cloud-foundry its advised to change from 'jquery-rails' gem to 'cloudfoundry-jquery-rails' #
I am trying to deploy a Play (2.0.4) app to a JBoss AS 7.1.0
When deploying my Rails app via Capistrano, the very last thing it tries to

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.