Menu

Global_Properties

Philippe Le Berre

Global Properties


Static Global Properties

These properties are defined in the app.properties file. Any modification requires to restart of the application. Most of these are logged at debug level when loaded.

Application (Dev)

Preference
net.sourceforge.esisframework
Default Description
.rootDir EF_APP_DIR Application home directory
.sqlDir EF_APP_DIR/share/EF_APP_NAME/sal Application sql directory

Core Database

Preference
net.sourceforge.esisframework
Default Description
.db.name <EF_APP_DB>_core Name of the core database
.db.connection jdbc:postgresql://127.0.0.1:5432/<EF_APP_DB>_core JDBC URL of the core database
.db.username <EF_APP_DB>_master User for the core database
.db.password Pa33w0rd Password of the core user
.db.maxActive 50

Database Connection Pooling

For further information on the connection pooling see Apache Common Pool and Apache DBCP.

Preference
net.sourceforge.esisframework
Default Description
.db.maxActive Pooling max active connection 50
.db.maxWait 1000 Max wait for a free db connection to become available
.db.maxIdle 8 Maximum idle db connection
.db.exhaustedAction 0 0 to disable
.db.evictableTime 0 Eviction time, 0 to disable

Database Transaction

Preference
net.sourceforge.esisframework
Default Description
.db.enforceBeginInTx true strict isolation

Debugging

Preference
net.sourceforge.esisframework
Default Description
.debug.traceSql false Set to true to have all SQL statement in the logs (DEBUG level).
.debug.verboseDb false The DB class will switch to verbose logging (DEBUG & TRACE level).
.debug.verboseConfig false Configuration traces

RAM Drive for heavy file probe processing

Preference
net.sourceforge.esisframework
Default Description
.expand.ramDrive null Should point to a ram device (i.e. tmpfs in memory drive) that will then be used to accelerate expand command. The file to be expanded is first copied to this ram drive and then expanded. This is useful to speed-up large import, especially if the postgresql data is on the same physical volume.

SOAP (Security)

Preference
net.sourceforge.esisframework
Default Description
.soap.SessionHandler.padding #$% String (secret !) used in the session cookie/token, change it to make it harder to guess the token.
.soap.SessionHandler.classCRC java.util.zip.CRC32 CRC java class used by the session handler.

Application Server

The application server is Jetty.

Preference
net.sourceforge.esisframework
Default Description
.web.localServerAddress localhost The Jetty always listen on the local
.web.localServerPort 8080
.web.localServerIsSSL false set to true if SSL is enabled
.web.localSoapEndPoint soap/services/ the SOAP EndPoint
.web.jettyHome <app root="" dir="">/webapp/jetty-hightide/ Jetty home

Portal Mode

Preference
net.sourceforge.esisframework
Default Description
.portal.anonymousAccess true Set to false for authentified access

Temporary Directory

Preference
net.sourceforge.esisframework
Default Description
.tempdir /tmp Used by extract and others.

Misc.

Preference
net.sourceforge.esisframework
Default Description
.maxobjects 256 Clean-up queue max size
.maxiter 1024 "Infinite" loop treshold
.iobuffersize 1024*64 IO buffer size (java)
.rowfetchsize 16384 Number of rows to read in a single batch from postgresql

Global CORE Properties

The global properties are defined in the core database and thus applie to all the managed data warehouses.

Used by the init command

Preference
net.sourceforge.esisframework
Default Description
.sqlLangDirectory <appSqlDir>/lang dir for locals
.defaultCompany.dbName <EF_APP_DB>_sdw default db name
.defaultCompany.dbUser <EF_APP_DB>_user default db user
.defaultCompany.dbPassword Pa55w0rd default password
.db.defaultHost localhost default db server
.db.defaultHostPort 5432 default db server port
.db.provisioning.userName <EF_APP_DB>_prv db provisioning user
.db.provisioning.userPwd Pa35w0rd db provisioning user password

Command line history

Preference
net.sourceforge.esisframework
Default Description
cmd.historySize 5000 If auto-trim is enabled, keep the last <n> command
cmd.autoTrimHistorySize false Enables the auto-trimming of the command line history

PER Datawarehouse/Company Properties

ADMIN Module

Security

Authentication Provider
Preference
net.sourceforge.esisframework
Default Description
.security.authMethod Null Authentication provider, default no-access
DB Authentication Provider

This is the authentication provider to simply use ESIS Framework user management net.sourceforge.esisframework.security.auth.Database.

Preference
net.sourceforge.esisframework
Default Description
.security.passwordAge 360 Password max age in days
.security.passwordHistory 1 the length of the password history to avoid reuse
.security.loginHistoryAge 180 For how many days to keep the detailed login history
.security.numberOfFailedLoginLimit 3 the number of failed login it takes to lock the account
.security.failedLoginTimeLimit 5 the time (in minutes) after which the failed login counter is reset
.security.automatedLostPassword false automated lost password system
.security.firstPasswordChange true should the user change its password on first connection
.security.minPasswordLength 6 minimum password length
.security.passwordComplexity true password complexity
LDAP Authentication
Preference
net.sourceforge.esisframework
Default Description
.security.auth.LDAP.base dc=my-domain,dc=com LDAP base
.security.auth.LDAP.baseFilterString objectclass=person LDAP base filter
.security.auth.LDAP.searchPassword secret LDAP search password
.security.auth.LDAP.searchUserName cn=Manager,dc=my-domain,dc=com LDAP search user name
.security.auth.LDAP.url ldap://localhost:389/ URL to reach the LDAP server
.security.auth.LDAP.userNameField uid LDAP field name for user name

E-Mail settings & notifications

Preference
net.sourceforge.esisframework
Default Description
.feature.mail.sendEmail false Enable the e-mail queue and sending
.feature.mail.hostName localhost The SMTP server
.feature.mail.hostPort 25 The TCP port of the SMTP server
.feature.mail.useTls false The SMTP server requires TLS
.feature.mail.useAuth false The SMTP server requires authentication
.feature.mail.smtpUser - The user account for SMTP authentication
.feature.mail.smtpPassword - The password for SMTP authentication
.feature.mail.notifyMail false
.feature.mail.notifySelfMail false
.feature.mail.attachHtmlMail false
.feature.mail.sendEmailOnRACIChange false
.feature.mail.sendEmailOnObjectModification false
.feature.mail.sendEmailOnObjectCreation false
.feature.mail.defaultFromAddress DoNotReply@example.org The default from:
.feature.mail.maxEmailSentAtOnce 25 max email to send at once from the e-mail queue
.feature.mail.maxTries 5 Max tries before marking an e-mail as send failed in the queue
.feature.mail.iconLocation share/<APP>/logo.gif The icon to accompany RACI e-mails
.raci.receiveEmailOnChange r,a,c,i Filter to send emails for specified RACI roles when an element is changed
delayRaciChangeOnModule false RACI changes done a module by an administrator that is not RA in this module are not directly set but submitted to future approval of the R or A of the module.

Incidents

Preference
net.sourceforge.esisframework
Default Description
.incident.SupportNotifier.supportEmail support@example.org The default support email
.incident.SupportNotifier false support notification
.incident.SupportNotifier.ccEmail null any cc:
.logDirectory <EF_AFF_DIR>/var/log to collect log to send on incident

Exports

[Reports-Properties]

Calendar

Preference
net.sourceforge.esisframework
Default Description
.calendar.firstDayOfWeek 2 1=Sunday, 2=Monday, ... 7 = Saturday
.calendar.redefineFirstDayOfWeek true The first day of the week is the fir

HTTP Proxy

Preference
net.sourceforge.esisframework
Default Description
.http.HttpHelper.useProxy false To use a proxy to connect by HTTP/S
.http.HttpHelper.proxyHost null If using a proxy, FQDN of the proxy
.http.HttpHelper.proxyPort null If using a proxy, port of the proxy
.http.HttpHelper.useProxyAuth false To use an authentication on the proxy
.http.HttpHelper.proxyAuth basic Authentication type (basic, digest, ntlm, spnego)
.http.HttpHelper.proxyRealm null Proxy realm
.http.HttpHelper.proxyScheme null Proxy scheme
.http.HttpHelper.proxyUserName null Proxy user name
.http.HttpHelper.proxyPassword null Proxy password
.http.HttpHelper.proxyNtlmDomain null For NTLM authentication
.http.HttpHelper.proxyNtlmWkst null For NTLM authentication
.http.HttpHelper.userAgent Mozilla/5.0 (Linux; http://example.org/) User Agent
.http.HttpHelper.noProxyFor null skip proxy for these (a,b)
.http.SslHelper.keyStore file:///opt/<EF_AP_DIR>/.keyStore Location of the keystore that contains certificate and keys for authentication against the distant server
.http.SslHelper.keyStorePassword password Password of the keystore

Probe

Preference
net.sourceforge.esisframework
Default Description
.probe.retryAttemptsBeforeFailure 5 attempt to process a file before flagging it as failed
.probe.errorsDir <EF_APP_DIR>/errors where to store file in error state
.probe.errorsSize 512mb max size of the error directory
.probe.firstValidDate 20000101 no data prior to this date will be said to be valid
.cmd.probeXmlFile <EF_APP_DIR>/probes.xml Default path for the main probes xml
EXPERIMENTAL
Preference
net.sourceforge.esisframework
Default Description
.probe.serialMode true Only one probe at a time can run (serial mode, this is the default behaviour)
.probe.maximumParallelRun 2 Maximum number of probes that can be run in parallel
.probe.threadMode false Thread mode to allow multiple run
.probe.maximumGlobalThreads 4 maximum number of threads
.probe.mirror.maximumConnectionPerMirror 1 Increase for simultaneous downloads

Related

Wiki: Home
Wiki: Reports-Properties