Configuration via Property File

A note on property files

T property file is located in the /server/src/main/resources/props/ folder. The default property file name is default.props.  This file must be named after the user under which the process is running. On Tomcat 6.0 under windows, then this file would be "SYSTEM.props". Capitalization counts.

To set an option, please use the following syntax:

compass_config_file=/props/compass.filesystem.cfg.xml

Changing the values in the properties

To change these options, you have two options

  1. You may edit the property file and then rebuild esme (the recommended way)
  2. If you access to the file system where esme is deployed, you can edit the property file and then restart the web application server.

Default Properties

Name

Description

Default

jndi.name

This is the name of the database

esme

compass_config_file

This is the name of the compass configuration file. The default is the file-based indexing

compass.cfg.xml

use_prod_psql

Whether the production database is used

false

db_user

The user that is used to access the database

dpp

db_pwd

The password that is used to access the database

 

use_local_psql

Whether a local progress based database should be used

false

http.proxyHost

If you have to access the internet (for example for OpenID support) via a proxy, then this should be set to the proxy server

empty

http.proxyPort

If you have to access the internet (for example for OpenID support) via a proxy, then this should be set to the proxy server

empty

twitter.prefix

This is the URL prefix that is set for using the twitter api.  Some clients (such as twhirl) require that this be set to "api",  this conflicts with the current api pefix which is also set to "api".

twitter

actions.scala_interpreter.enable

This enables to use enable the scala action.

false

Contents

  • No labels