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 8694875
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T00:53:33+00:00 2026-06-13T00:53:33+00:00

How would you set the run.mode for a Lift application running on Resin? When

  • 0

How would you set the run.mode for a Lift application running on Resin?

When deploying on Jetty I included a jetty-web.xml in the war file that set the run.mode property to “production”. Now I need to deploy on Resin.

  • 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-13T00:53:34+00:00Added an answer on June 13, 2026 at 12:53 am

    In your resin.xml or resin.properties, you can set command-line properties. If you’re using one of the most recent Resin 4.0, releases you can use the /etc/resin/resin.properties “jvm_args” property:

    # Arg passed directly to the JVM
    jvm_args    : -Drun.mode=production -Xmx1024m
    

    If you’re using an older Resin without the resin.properties, you can set the <jvm-arg> inside the <server> or <server-default> tag in the /etc/resin/resin.xml:

    <resin ...
      <cluster id="app">
        <server-default>
          <jvm-arg>-Drun.mode=production</jvm-arg>
          ...
        </server-default>
    

    When Resin’s watchdog process builds the command line to launch Resin, it uses the <jvm-arg> from the resin.xml as arguments to the child Resin.

    It’s possible, by the way, to have server-specific properties as well, either configured by the Resin server id or the cluster. (Or using expressions and control statements in the configuration. Probably not what you need here, though.)

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

Sidebar

Related Questions

I have a run mode in my CGI::Application web-app that I would like to
I am trying to run remote jboss in debug mode to debug my application
I've got [16] in an org-mode file that is the text you would see
In real mode on x86, what instructions would need to be used to run
I have one .net application which would be installed under program files running in
I would set my svg element as list-style-image: url(svg#id) and point to figure by
I'm struggling with how I would set up a database for a situation where
I have a BeanDefinitionDecorator that makes modifications to properties that a user would set
Why would we set ServletContext parameters using the setAttribute() method, as we can accomplish
When would you set location to a URL string versus setting location.href ? location

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.