user2481513
user2481513

Reputation: 29

What is the equivalent of System.setProperty (java) in Google Application Engine (in java again)

I got an exception at System.setProperty in Java when I've tried to deploy the application in GAE. Any ideas what can be wrong?

Upvotes: 2

Views: 542

Answers (1)

pgiecek
pgiecek

Reputation: 8200

You can set Java system properties or environment variables for App Engine applications in the respective appengine-web.xml configuration file.

<system-properties>
    <property name="property1" value="value1" />
    <property name="property2" value="value2" />
</system-properties>

You can find more details in App Engine documentation.

Upvotes: 4

Related Questions