config/Openbravo.properties.template
author Iván Perdomo <ivan.perdomo@openbravo.com>
Fri, 29 Jul 2011 16:51:04 +0200
changeset 13351 ed0b8ba5a684
parent 13271 fad122168625
child 16644 77979f3f3dc3
permissions -rw-r--r--
Improved Mercurial hook to check only files that are part of the changeset
carlos@0
     1
# *************************************************************************
carlos@0
     2
# * The contents of this file are subject to the Openbravo  Public  License
priya@9072
     3
# * Version  1.1  (the  "License"),  being   the  Mozilla   Public  License
carlos@0
     4
# * Version 1.1  with a permitted attribution clause; you may not  use this
carlos@0
     5
# * file except in compliance with the License. You  may  obtain  a copy of
carlos@0
     6
# * the License at http://www.openbravo.com/legal/license.html 
carlos@0
     7
# * Software distributed under the License  is  distributed  on  an "AS IS"
carlos@0
     8
# * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
carlos@0
     9
# * License for the specific  language  governing  rights  and  limitations
carlos@0
    10
# * under the License. 
carlos@0
    11
# * The Original Code is Openbravo ERP. 
ggi@6701
    12
# * The Initial Developer of the Original Code is Openbravo SLU 
asier@6771
    13
# * All portions are Copyright (C) 2007-2010 Openbravo SLU 
carlos@0
    14
# * All Rights Reserved. 
carlos@0
    15
# * Contributor(s):  ______________________________________.
carlos@0
    16
# ************************************************************************
harpreet@5488
    17
#
juanpablo@2744
    18
# Documentation at http://wiki.openbravo.com/wiki/Openbravo.properties
juanpablo@2744
    19
juanpablo@1890
    20
####################
juanpablo@1890
    21
# Date/time format #
juanpablo@1890
    22
####################
juanpablo@1890
    23
juanpablo@481
    24
dateFormat.js=%d-%m-%Y
juanpablo@481
    25
dateFormat.sql=DD-MM-YYYY
juanpablo@481
    26
dateFormat.java=dd-MM-yyyy
juanpablo@481
    27
dateTimeFormat.java=dd-MM-yyyy HH:mm:ss
asier@5235
    28
dateTimeFormat.sql=DD-MM-YYYY HH24:MI:SS
asier@41
    29
juanpablo@1890
    30
###########
juanpablo@1890
    31
# General #
juanpablo@1890
    32
###########
juanpablo@1890
    33
juanpablo@1890
    34
# Static content URL. Use the default value to make it dynamic.
juanpablo@1890
    35
# Don't change this unless you know what you are doing
juanpablo@1890
    36
web.url=@actual_url_context@/web
juanpablo@1890
    37
asier@13271
    38
# Full URL of the context, *only* used by the Web Services installation 
asier@13271
    39
# and diagnostic task
juanpablo@1890
    40
context.url=http://localhost:8080/openbravo
juanpablo@1890
    41
juanpablo@1890
    42
# Absolute path to the attachments directory
juanpablo@1890
    43
attach.path=/opt/openbravo/attachments
juanpablo@1890
    44
juanpablo@1890
    45
# Context name, used in the final war file
juanpablo@1890
    46
context.name=openbravo
juanpablo@1890
    47
juanpablo@1891
    48
# Root sources directory, used by modularity
juanpablo@1891
    49
source.path=/opt/openbravo
juanpablo@1891
    50
ivan@4912
    51
#Deploy mode: valid values [class, war, none]
asier@1977
    52
deploy.mode=class
asier@1977
    53
juanpablo@1890
    54
############
juanpablo@1890
    55
# Database #
juanpablo@1890
    56
############
juanpablo@1890
    57
juanpablo@2208
    58
# Oracle example:
juanpablo@1890
    59
#
juanpablo@2744
    60
# bbdd.rdbms=ORACLE
juanpablo@2744
    61
# bbdd.driver=oracle.jdbc.driver.OracleDriver
juanpablo@2744
    62
# bbdd.url=jdbc:oracle:thin:@localhost:1521:xe
juanpablo@2208
    63
# bbdd.sid=xe
juanpablo@2208
    64
# bbdd.systemUser=SYSTEM
juanpablo@2208
    65
# bbdd.systemPassword=SYSTEM
juanpablo@2208
    66
# bbdd.user=TAD
juanpablo@2208
    67
# bbdd.password=TAD
juanpablo@2208
    68
# bbdd.sessionConfig=ALTER SESSION SET NLS_DATE_FORMAT='DD-MM-YYYY' NLS_NUMERIC_CHARACTERS='.,'
juanpablo@1890
    69
antonio@7580
    70
# Oracle instances in linux, can delay on getting DB connection (issue #12683). 
antonio@7580
    71
# In these cases this property can be set to solve the problem
antonio@7580
    72
# java.security.egd=file:///dev/urandom
antonio@7580
    73
juanpablo@2744
    74
bbdd.rdbms=POSTGRE
juanpablo@2744
    75
bbdd.driver=org.postgresql.Driver
juanpablo@2744
    76
bbdd.url=jdbc:postgresql://localhost:5432
juanpablo@2208
    77
bbdd.sid=openbravo
juanpablo@2209
    78
bbdd.systemUser=postgres
juanpablo@2208
    79
bbdd.systemPassword=syspass
juanpablo@2208
    80
bbdd.user=tad
juanpablo@2208
    81
bbdd.password=tad
juanpablo@2208
    82
bbdd.sessionConfig=select update_dateFormat('DD-MM-YYYY')
asier@41
    83
juanpablo@2744
    84
##################
juanpablo@2744
    85
# Tomcat manager #
juanpablo@2744
    86
##################
asier@13271
    87
asier@13271
    88
# From Tomcat 7 manager url is host/manager/text. In previous versions it is
asier@13271
    89
# host/manager
juanpablo@2744
    90
tomcat.manager.url=http://localhost:8080/manager
asier@13271
    91
asier@13271
    92
# From Tomcat 7 this user must have manager-script role access. In previous
asier@13271
    93
# versions. In previous versions it must have manager role access.
juanpablo@2744
    94
tomcat.manager.username=admin
juanpablo@2744
    95
tomcat.manager.password=admin
juanpablo@2744
    96
juanpablo@1890
    97
##########################
juanpablo@1890
    98
# Development parameters #
juanpablo@1890
    99
##########################
juanpablo@481
   100
juanpablo@578
   101
bbdd.outputscript=databasescript.sql
juanpablo@481
   102
bbdd.verbosity=INFO
gorkaion@1048
   103
juanpablo@1890
   104
# CSS Sprites Generator
david@1883
   105
generateSprites=no
david@1883
   106
stefan@2143
   107
# use js/css minimization (in local-context and war-file)
stefan@2143
   108
minimizeJSandCSS=yes
stefan@2143
   109
stefan@5218
   110
# How sqlc should execute the queries embedded in xsql file at compilation time
stefan@5218
   111
# traditional: only uses the base query ignoring all optional parameters
stefan@5218
   112
# optimized: includes most optional parameter to achieve better performance
stefan@5218
   113
# If optimized fails for some xsql files, downgrade level to traditional
stefan@5218
   114
sqlc.queryExecutionStrategy=optimized
stefan@5218
   115
juanpablo@1890
   116
##################
juanpablo@1890
   117
# Authentication #
juanpablo@1890
   118
##################
juanpablo@1890
   119
stefan@8788
   120
# Leave this empty to use the default login handler.
stefan@11875
   121
# Examples:
stefan@11875
   122
# - org.openbravo.authentication.basic.AutologonAuthenticationManager (included)
stefan@11875
   123
# - org.openbravo.authentication.lam.LamAuthenticationManager (in external 'LAM Authentication Manager' module)
gorkaion@1048
   124
authentication.class=
juanpablo@1890
   125
juanpablo@1890
   126
###########
juanpablo@1890
   127
# Add-ons #
juanpablo@1890
   128
###########
juanpablo@1890
   129
juanpablo@1890
   130
# External Pentaho Services
juanpablo@1890
   131
pentahoServer=
antonio@3077
   132
antonio@3077
   133
##############
antonio@3077
   134
# Validation #
antonio@3077
   135
##############
antonio@3077
   136
asier@3741
   137
validate.model=true
asier@3741
   138
isMinorVersion=false
antonio@5601
   139
antonio@5601
   140
##############
antonio@5601
   141
# Safe mode  #
antonio@5601
   142
##############
antonio@5601
   143
antonio@5606
   144
# This property is used to activate/deactivate the safe mode of Openbravo ERP
antonio@5606
   145
# When this property is activated, if the last build wasn't succesful, or Tomcat
antonio@5606
   146
# wasn't restarted, users will only be able to login in the application 
antonio@5606
   147
# with role System Administrator
antonio@5606
   148
antonio@6463
   149
safe.mode=true
martin@5990
   150
antonio@7709
   151
################################
antonio@7709
   152
# Strict Template Application  #
antonio@7709
   153
################################
antonio@7709
   154
antonio@7709
   155
# This property is used to set the configuration script application mode.
antonio@7709
   156
# If the template application mode is strict, then inconsistencies in the template
antonio@7709
   157
# (such as the value to be changed being different from the value in a column
antonio@7709
   158
# data change of a configuration script) will make the process fail.
antonio@7709
   159
# If it's not strict the process will show a warning, but otherwise continue
antonio@7709
   160
antonio@7709
   161
# For production environments, this property should be false.
antonio@7709
   162
# For development environments, specially those working with
antonio@7709
   163
# Industry templates and configuration scripts, it is advisable to set this property to true
antonio@7709
   164
antonio@7709
   165
strict.template.application=false
antonio@7709
   166
martin@5990
   167
##############
martin@5990
   168
# Hibernate #
martin@5990
   169
##############
martin@5990
   170
martin@5990
   171
# if this property is set then the mapping will be written to the file
martin@5990
   172
# defined by this property, note the value should be the complete path 
martin@5990
   173
# including the file name and extension.
martin@5990
   174
# hibernate.hbm.file=/tmp/hibernate.hbm.xml
asier@6753
   175
asier@6753
   176
asier@6755
   177
###################
asier@6755
   178
# Log in security #
asier@6755
   179
###################
asier@6753
   180
stefan@8788
   181
# If these properties are set, after a failed login the response time 
stefan@8788
   182
# will be delayed, and the user account can be blocked.
asier@6769
   183
login.trial.delay.increment=0
asier@6769
   184
login.trial.delay.max=0
asier@6753
   185
login.trial.user.lock=0
juanpablo@7927
   186
juanpablo@7927
   187
##########
juanpablo@7927
   188
# Others #
juanpablo@7927
   189
##########
juanpablo@7927
   190
juanpablo@7927
   191
# You are not allowed to run ant commands with the root user.
juanpablo@7927
   192
# Set allow.root to true to override this.
juanpablo@7927
   193
allow.root=false
martin@12257
   194
martin@12257
   195
# Specifies if the current instance is used for automated tests.
martin@12257
   196
# Setting this to true will enable extra (hidden) functionality used 
martin@12257
   197
# automated test scripts.
martin@12257
   198
test.environment=false