source: trunk/config/dist/base.config @ 5680

Last change on this file since 5680 was 5680, checked in by Nicklas Nordborg, 11 years ago

References #1590: Documentation cleanup

  • base.config reference.
  • Removed support for "export.max.items" since it was only needed with older MySQL versions and only the table exporter used it anyway.
  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 8.7 KB
Line 
1# $Id: base.config 5680 2011-06-29 13:04:28Z nicklas $
2#
3# Copyright (C) 2006 Nicklas Nordborg
4# Copyright (C) 2007 Nicklas Nordborg, Martin Svensson
5#
6# This file is part of BASE - BioArray Software Environment.
7# Available at http://base.thep.lu.se/
8#
9# BASE is free software; you can redistribute it and/or
10# modify it under the terms of the GNU General Public License
11# as published by the Free Software Foundation; either version 3
12# of the License, or (at your option) any later version.
13#
14# BASE is distributed in the hope that it will be useful,
15# but WITHOUT ANY WARRANTY; without even the implied warranty of
16# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17# GNU General Public License for more details.
18#
19# You should have received a copy of the GNU General Public License
20# along with BASE. If not, see <http://www.gnu.org/licenses/>.
21# ----------------------------------------
22
23# =======================
24# Database driver section
25# =======================
26
27# -----
28# MySQL
29# -----
30db.dialect          = org.hibernate.dialect.MySQL5InnoDBDialect
31db.driver           = com.mysql.jdbc.Driver
32db.url              = jdbc:mysql://localhost/base2?characterEncoding=UTF-8&useCursorFetch=true&defaultFetchSize=100&useServerPrepStmts=true
33db.dynamic.catalog  = base2dynamic
34db.queries          = /mysql-queries.xml
35#export.max.items    = 20000
36
37# --------
38# Postgres
39# --------
40#db.dialect          = org.hibernate.dialect.PostgreSQLDialect
41#db.driver           = org.postgresql.Driver
42#db.url              = jdbc:postgresql:base2
43#db.dynamic.catalog  = base2
44#db.dynamic.schema   = dynamic
45#db.queries          = /postgres-queries.xml
46
47# -------------
48# Common to all
49# -------------
50db.username            = base2user
51db.password            = password
52db.extended-properties = /extended-properties.xml
53db.raw-data-types      = /raw-data-types.xml
54db.batch-size          = 50
55# Number of hours between cleanup of unused items in the database
56# Set to 0 to disable (recommended for job agents)
57db.cleanup.interval    = 24
58
59
60# ======================
61# Authentication section
62# ======================
63
64# ----------------
65# POP3 mail server
66# ----------------
67#auth.driver         = net.sf.basedb.core.authentication.POP3Authenticator
68#auth.init           = mail.example.com
69#auth.synchronize    = 0
70#auth.cachepasswords = 0
71#auth.daystocache    = 0
72
73
74# ==========================
75# Internal job queue section
76# ==========================
77# If the internal job queue should be enabled or not
78jobqueue.internal.enabled            = true
79
80# Signal receiver class for sending signals to running jobs (to abort them)
81jobqueue.internal.signalreceiver.class = net.sf.basedb.core.signal.LocalSignalReceiver
82jobqueue.internal.signalreceiver.init  = jobqueue:0
83
84# If plugins with useInteralJobQueue = false should be executed or not
85jobqueue.internal.runallplugins      = false
86
87# The maximum thread priority for any thread executing a plug-in
88#jobqueue.internal.maxthreadpriority  = 4
89
90# Number of seconds between checks to the job queue
91jobqueue.internal.checkinterval      = 30
92
93# NOTE! A quick job may use threads from any of the "slower" pools
94# if there is place for another thread
95# Number of threads to reserved for jobs that takes < 1 minute to execute
96jobqueue.internal.shortest.threads   = 1
97#jobqueue.internal.shortest.threadpriority = 4
98
99# Number of threads to reserved for jobs that takes < 10 minutes to execute
100jobqueue.internal.short.threads      = 1
101#jobqueue.internal.short.threadpriority = 4
102
103# Number of threads to reserved for jobs that takes < 1 hour to execute
104jobqueue.internal.medium.threads     = 2
105#jobqueue.internal.medium.threadpriority = 3
106
107# Number of threads to reserved for jobs that takes > 1 hour to execute
108jobqueue.internal.long.threads       = 4
109#jobqueue.internal.long.threadpriority = 3
110
111# ==========================
112# External job agent section
113# ==========================
114
115# Number of seconds to cache information from a job agent before it
116# is reloaded. The default value is 60 seconds.
117agent.maxage=60
118
119# The timeout in milliseconds to use when connecting to job agents to
120# get information. The default value is 1000 milliseconds.
121agent.connection.timeout=1000
122
123
124# =========================
125# Secondary storage section
126# =========================
127# The classname of the driver; leave empty to disable secondary storage
128# secondary.storage.driver   = net.sf.basedb.core.InternalStorageController
129
130# Initialisation options to the seconday storage controller
131# The internal implementation wants a path to the secondary directory
132# secondary.storage.init     = /usr/local/base2/secondary
133
134# The interval (in seconds) between checks for new files to move
135# secondary.storage.interval = 3600
136
137# Comma-separated list of time values (hours:minutes) when the controller
138# should be executed; overrides the interval setting if present
139# secondary.storage.time = 18:15,07:30
140
141# =========================
142# Change history section
143# =========================
144
145# Class name of the changelog factory; leave empty to disable the changelog
146# changelog.factory = net.sf.basedb.core.log.db.DbLogManagerFactory
147
148# If the "Change history" tab should be visible in the web interface
149# or not. It is hidden by default.
150# changelog.show-in-web = true
151
152# If DB logger should log detailed information about which properties
153# that has been updated (default: false)
154# changelog.dblogger.detailed-properties = true
155
156# ==========================
157# SMTP server section
158# ==========================
159
160# SMTP server for outgoing mail. If not specified,
161# mail sending will be disabled
162# mail.server.host
163
164# The port number the SMTP server is listening on. If not
165# specified the default port is used (25 or 465 if ssl is enabled)
166# mail.server.port = 25
167
168# A flag to enable SSL encryption
169# mail.server.ssl = 0
170
171# A flag to enable TLS encryption
172# mail.server.tls = 0
173
174# Email to use in the "From" address. If not specified,
175# mail sending will be disabled
176# mail.from.email = noreply@mail.yourdomain
177
178# Name to use in the "From" address. If not specified,
179# a default value is created automatically using the
180# host name of the BASE server.
181# mail.from.name
182
183
184# =======================
185# Plug-ins and extensions
186# =======================
187
188# The path to the directory where external plugins are installed
189plugins.dir=/usr/local/base2/plugins
190
191# Set this flag to disable all external extensions
192extensions.disabled = false
193
194
195# ===============
196# General section
197# ===============
198
199# The path to the directory where uploaded files are stored
200userfiles = /usr/local/base2/files
201
202# Number of minutes to keep permission information for the logged
203# in user in memory before it is reloaded from the database.
204permission.timeout = 10
205
206# Number of minutes to keep SessionControl object in the cache
207# after the last use
208cache.timeout = 20
209
210# If the static cache should be disabled or enabled
211# Disabling the static cache may reduce performance for
212# certain operations
213cache.static.disabled = false
214
215# Timeout (in days) for items in the static cache
216# Items that hasn't been accessed in the configured amount of
217# of time will be removed from the cache
218cache.static.max-age = 30
219
220#Overwrite the existing help texts when updating the program
221helptext.update = true
222
223# Set to 1 to disable auto-compression of uploaded files
224autocompress.disable = 0
225
226# Locale settings are used to customize gui text and labels
227# locale.language =
228# locale.country =
229# locacle.variant =
230
231# The default character set that will be used to parse text files that
232# hasn't specified a character set. The default value for this setting
233# is ISO-8859-1.
234#
235# defaultCharset = ISO-8859-1
236
237# A comma-separated list of the most commonly used character sets for text
238# files. This list is used to order selection lists so that the common values
239# are listed at the top of the list.
240#
241# commonCharsets = UTF-8,US-ASCII,ISO-8859-1
242
243# A regular expression that used to filter character sets that are not used
244# in order to keep the selection list shorter. If no value is specified all
245# character sets are included. The standard setting will filter out all
246# character sets starting with 'x-' or 'IBM'. Character sets that are specified
247# in the commonCharsets setting are never filtered.
248#
249ignoreCharsets = ((x|X)\-|IBM).*
250
251
252# ===============
253# SSL section
254# ===============
255# Configuration settings for supporting file access via https.
256# Changes are only needed if authentication is needed or if, for example,
257# files are stored on servers with self-signed certificates.
258
259# ssl.context.protocol = TLS
260# ssl.context.provider =
261# ssl.keystore.file =
262# ssl.keystore.password =
263# ssl.keystore.type = JKS
264# ssl.keystore.algorithm = SunX509
265# ssl.keystore.provider =
266# ssl.truststore.file = <java-home>/jre/lib/security/cacerts
267# ssl.truststore.password = changeit
268# ssl.truststore.type = JKS
269# ssl.truststore.algorithm = PKIX
270# ssl.truststore.provider =
271
Note: See TracBrowser for help on using the repository browser.