Advertisement
Guest User

Untitled

a guest
Aug 18th, 2017
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.83 KB | None | 0 0
  1. #
  2. # Configuration of the driver manager*
  3. #################################################################################
  4. driver.vfs=db
  5. driver.project=db
  6. driver.user=db
  7. driver.history=db
  8. driver.subscription=db
  9.  
  10.  
  11.  
  12. #
  13. # Declaration of database pools
  14. #################################################################################
  15. db.pools=default
  16.  
  17. #
  18. # Configuration of the default database pool
  19. #################################################################################
  20. # name of the JDBC driver
  21. db.pool.default.jdbcDriver=org.gjt.mm.mysql.Driver
  22.  
  23. # URL of the JDBC driver
  24. db.pool.default.jdbcUrl=jdbc:mysql://10.0.0.154:3306/opencms
  25.  
  26. # optional parameters for the URL of the JDBC driver
  27. db.pool.default.jdbcUrl.params=?characterEncoding\=UTF-8
  28.  
  29. # user name to connect to the database
  30. db.pool.default.user=opencms
  31.  
  32. # password to connect to the database
  33. db.pool.default.password=opencms
  34.  
  35. # the URL to make the JDBC DriverManager return connections from the DBCP pool
  36. db.pool.default.poolUrl=opencms:default
  37.  
  38. # the maximum number of objects that can be borrowed from the pool
  39. db.pool.default.maxActive=200
  40.  
  41. # the maximum amount of time before throwing an exception when the pool is exhausted
  42. db.pool.default.maxWait=2000
  43.  
  44. # the minimum number of objects that will kept connected
  45. db.pool.default.minIdle=5
  46.  
  47. # the maximum number of objects that can sit idled in the pool
  48. db.pool.default.maxIdle=20
  49.  
  50. # action to take when the pool is exhausted {grow|block|fail}
  51. db.pool.default.whenExhaustedAction=grow
  52.  
  53. # connections will be validated before they are borrowed from the pool
  54. db.pool.default.testOnBorrow=false
  55.  
  56. # connections will be validated by evictor thread
  57. db.pool.default.testWhileIdle=true
  58.  
  59. # number of milliseconds to sleep between runs of the evictor thread
  60. # -1 means no idle connection evictor thread will be run
  61. db.pool.default.timeBetweenEvictionRuns=3600000
  62.  
  63. # number of connections tested in a run of the evictor thread
  64. db.pool.default.numTestsPerEvictionRun=3
  65.  
  66. # minimum amount of time in milliseconds a connection may be idle in the pool before it is eligable for eviction
  67. db.pool.default.minEvictableIdleTime=1800000
  68.  
  69. # the query to validate connections
  70. #db.pool.default.testQuery=SELECT STRUCTURE_ID FROM CMS_OFFLINE_STRUCTURE WHERE RESOURCE_PATH = '/'
  71. db.pool.default.testQuery=
  72.  
  73. # number of attempts to connect to the database during startup (default = 10)
  74. db.pool.default.connects=10
  75.  
  76. # sleep time between two attempts to connect to the database during startup in ms (default = 5000)
  77. db.pool.default.wait=5000
  78.  
  79. # The pool size for the Entity Manger (only required for JPA)
  80. db.pool.default.entityMangerPoolSize=250
  81.  
  82. #
  83. # Configuration for statement pooling
  84. #################################################################################
  85. db.statements.default.pooling=true
  86. db.statements.default.maxActive=200
  87. db.statements.default.maxWait=2000
  88. db.statements.default.maxIdle=100
  89. db.statements.default.whenExhaustedAction=grow
  90.  
  91. #
  92. # Configuration of the database driver manager
  93. #################################################################################
  94. db.name=mysql
  95.  
  96. db.vfs.driver=org.opencms.db.mysql.CmsVfsDriver
  97. db.vfs.pool=opencms:default
  98. db.vfs.sqlmanager=org.opencms.db.mysql.CmsSqlManager
  99.  
  100. db.project.driver=org.opencms.db.mysql.CmsProjectDriver
  101. db.project.pool=opencms:default
  102. db.project.sqlmanager=org.opencms.db.mysql.CmsSqlManager
  103.  
  104. db.user.driver=org.opencms.db.mysql.CmsUserDriver
  105. db.user.pool=opencms:default
  106. db.user.sqlmanager=org.opencms.db.mysql.CmsSqlManager
  107.  
  108. db.history.driver=org.opencms.db.mysql.CmsHistoryDriver
  109. db.history.pool=opencms:default
  110. db.history.sqlmanager=org.opencms.db.mysql.CmsSqlManager
  111.  
  112. db.subscription.driver=org.opencms.db.mysql.CmsSubscriptionDriver
  113. db.subscription.pool=opencms:default
  114. db.subscription.sqlmanager=org.opencms.db.mysql.CmsSqlManager
  115.  
  116. #
  117. # Ethernet address used for UUID generation
  118. # Server name used for various messages
  119. #################################################################################
  120. server.ethernet.address=d1:0e:38:be:f6:91
  121. server.name=OpenCmsServer
  122.  
  123. #
  124. # Enable/Disable OpenCms Setup Wizard
  125. # The wizard sets the flag to false after the setup.
  126. # To use the wizard again, reset it manually to true.
  127. # By setting no value, wizard can always be used.
  128. #################################################################################
  129. wizard.enabled=false
  130.  
  131. #
  132. # Enable/Disable exception thrown during servlet initialization.
  133. # If disabled there is no attempt to reinitialize the servlet, so the servlet
  134. # container has to be restarted, as required by some servlet containers that
  135. # does not like servlets throwing exceptions during initialization.
  136. # valid values are true, false and auto. default is auto
  137. #################################################################################
  138. servlet.exception.enabled=auto
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement