Advertisement
tko_pb

openbravo.properties

Aug 30th, 2018
503
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.36 KB | None | 0 0
  1. # *************************************************************************
  2. # * The contents of this file are subject to the Openbravo Public License
  3. # * Version 1.1 (the "License"), being the Mozilla Public License
  4. # * Version 1.1 with a permitted attribution clause; you may not use this
  5. # * file except in compliance with the License. You may obtain a copy of
  6. # * the License at http://www.openbravo.com/legal/license.html
  7. # * Software distributed under the License is distributed on an "AS IS"
  8. # * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
  9. # * License for the specific language governing rights and limitations
  10. # * under the License.
  11. # * The Original Code is Openbravo ERP.
  12. # * The Initial Developer of the Original Code is Openbravo SLU
  13. # * All portions are Copyright (C) 2007-2017 Openbravo SLU
  14. # * All Rights Reserved.
  15. # * Contributor(s): ______________________________________.
  16. # ************************************************************************
  17. #
  18. # Documentation at http://wiki.openbravo.com/wiki/Openbravo.properties
  19.  
  20. ####################
  21. # Date/time format #
  22. ####################
  23.  
  24. dateFormat.js=%d-%m-%Y
  25. dateFormat.sql=DD-MM-YYYY
  26. dateFormat.java=dd-MM-yyyy
  27. dateTimeFormat.java=dd-MM-yyyy HH:mm:ss
  28. dateTimeFormat.sql=DD-MM-YYYY HH24:MI:SS
  29.  
  30. ###########
  31. # General #
  32. ###########
  33.  
  34. # Static content URL. Use the default value to make it dynamic.
  35. # Don't change this unless you know what you are doing
  36. web.url=@actual_url_context@/web
  37.  
  38. # Full URL of the context, *only* used by the Web Services installation
  39. # and diagnostic task
  40. context.url=http://localhost:8080/versi2openbravo
  41.  
  42. # Absolute path to the attachments directory
  43. attach.path=/home/kerja/Openbravo2/attachment
  44.  
  45. # Context name, used in the final war file
  46. context.name=openbravo
  47.  
  48. # Root sources directory, used by modularity
  49. source.path=/home/tiko/kerja/openbravo2
  50.  
  51. #Deploy mode: valid values [class, war, none]
  52. deploy.mode=class
  53.  
  54. ############
  55. # Database #
  56. ############
  57.  
  58. # Oracle example:
  59. #
  60. # bbdd.rdbms=ORACLE
  61. # bbdd.driver=oracle.jdbc.driver.OracleDriver
  62. # bbdd.url=jdbc:oracle:thin:@localhost:1521:xe
  63. # bbdd.sid=xe
  64. # bbdd.systemUser=SYSTEM
  65. # bbdd.systemPassword=SYSTEM
  66. # bbdd.user=TAD
  67. # bbdd.password=TAD
  68. # bbdd.sessionConfig=ALTER SESSION SET NLS_DATE_FORMAT='DD-MM-YYYY' NLS_NUMERIC_CHARACTERS='.,'
  69.  
  70. # Oracle instances in linux, can delay on getting DB connection (issue #12683).
  71. # In these cases this property can be set to solve the problem
  72. # java.security.egd=file:///dev/urandom
  73.  
  74. bbdd.rdbms=POSTGRE
  75. bbdd.driver=org.postgresql.Driver
  76. bbdd.url=jdbc:postgresql://localhost:5432
  77. bbdd.sid=openbravo
  78. bbdd.systemUser=postgres
  79. bbdd.systemPassword=postgres
  80. bbdd.user=tad
  81. bbdd.password=tad
  82. bbdd.sessionConfig=select update_dateFormat('DD-MM-YYYY')
  83.  
  84. ######################
  85. # DB connection pool #
  86. ######################
  87.  
  88. db.externalPoolClassName=org.openbravo.apachejdbcconnectionpool.JdbcExternalConnectionPool
  89.  
  90. # Documentation at http://wiki.openbravo.com/wiki/Modules:Apache_JDBC_Connection_Pool#Pool_Configuration
  91. db.pool.initialSize=1
  92. db.pool.minIdle=5
  93. db.pool.maxActive=10000
  94. db.pool.timeBetweenEvictionRunsMillis=60000
  95. db.pool.minEvictableIdleTimeMillis=120000
  96. db.pool.removeAbandoned=false
  97. db.pool.testOnBorrow=true
  98. db.pool.testWhileIdle=false
  99. db.pool.testOnReturn=false
  100. db.pool.validationQuery=SELECT 1 FROM DUAL
  101. db.pool.validationInterval=30000
  102. db.pool.jmxEnabled=false
  103.  
  104. ##################
  105. # Tomcat manager #
  106. ##################
  107.  
  108. # From Tomcat 7 manager url is host/manager/text. In previous versions it is
  109. # host/manager
  110. tomcat.manager.url=http://localhost:8080/manager
  111.  
  112. # From Tomcat 7 this user must have manager-script role access. In previous
  113. # versions. In previous versions it must have manager role access.
  114. tomcat.manager.username=admin
  115. tomcat.manager.password=admin
  116.  
  117. ##########################
  118. # Development parameters #
  119. ##########################
  120.  
  121. bbdd.outputscript=databasescript.sql
  122. bbdd.verbosity=INFO
  123.  
  124. # use js/css minimization (in local-context and war-file)
  125. minimizeJSandCSS=yes
  126.  
  127. # How sqlc should execute the queries embedded in xsql file at compilation time
  128. # traditional: only uses the base query ignoring all optional parameters
  129. # optimized: includes most optional parameter to achieve better performance
  130. # If optimized fails for some xsql files, downgrade level to traditional
  131. sqlc.queryExecutionStrategy=optimized
  132.  
  133. ##################
  134. # Authentication #
  135. ##################
  136.  
  137. # Leave this empty to use the default login handler.
  138. # Examples:
  139. # - org.openbravo.authentication.basic.AutologonAuthenticationManager (included)
  140. # - org.openbravo.authentication.lam.LamAuthenticationManager (in external 'LAM Authentication Manager' module)
  141. authentication.class=
  142.  
  143. ###########
  144. # Add-ons #
  145. ###########
  146.  
  147. # External Pentaho Services
  148. pentahoServer=
  149.  
  150. ##############
  151. # Validation #
  152. ##############
  153.  
  154. validate.model=true
  155. isMinorVersion=false
  156.  
  157. ##############
  158. # Safe mode #
  159. ##############
  160.  
  161. # This property is used to activate/deactivate the safe mode of Openbravo ERP
  162. # When this property is activated, if the last build wasn't succesful, or Tomcat
  163. # wasn't restarted, users will only be able to login in the application
  164. # with role System Administrator
  165.  
  166. safe.mode=true
  167.  
  168. ################################
  169. # Strict Template Application #
  170. ################################
  171.  
  172. # This property is used to set the configuration script application mode.
  173. # If the template application mode is strict, then inconsistencies in the template
  174. # (such as the value to be changed being different from the value in a column
  175. # data change of a configuration script) will make the process fail.
  176. # If it's not strict the process will show a warning, but otherwise continue
  177.  
  178. # For production environments, this property should be false.
  179. # For development environments, specially those working with
  180. # Industry templates and configuration scripts, it is advisable to set this property to true
  181.  
  182. strict.template.application=false
  183.  
  184. ##############
  185. # Hibernate #
  186. ##############
  187.  
  188. # if this property is set then the mapping will be written to the file
  189. # defined by this property, note the value should be the complete path
  190. # including the file name and extension.
  191. # hibernate.hbm.file=/tmp/hibernate.hbm.xml
  192.  
  193.  
  194. ###################
  195. # Log in security #
  196. ###################
  197.  
  198. # If these properties are set, after a failed login the response time
  199. # will be delayed, and the user account can be blocked.
  200. login.trial.delay.increment=0
  201. login.trial.delay.max=0
  202. login.trial.user.lock=0
  203.  
  204. # Prevents concurrent sessions for same user.
  205. login.limit.user.session=false
  206.  
  207. ##########
  208. # Others #
  209. ##########
  210.  
  211. # You are not allowed to run ant commands with the root user.
  212. # Set allow.root to true to override this.
  213. allow.root=false
  214.  
  215. # Specifies if the current instance is used for automated tests.
  216. # Setting this to true will enable extra (hidden) functionality used
  217. # automated test scripts.
  218. test.environment=false
  219.  
  220. # allows to compile classic 2.50 windows for all available tab
  221. # By default those all not generated anymore for tabs for which they are not needed
  222. #wad.generateAllClassic250Windows=true
  223.  
  224. # background.policy property defines whether background processes should be
  225. # executed in this context or not. To prevent process execution this property must
  226. # be set to no-execute
  227. background.policy=default
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement