Project

General

Profile

1
# Properties file defining options for the MetaCatServlet.java servlet
2
#
3
# Matt Jones, Dan Higgins, Jivka Bojilova
4
# '$Id: metacat.properties 4696 2008-12-26 21:04:17Z daigle $'
5
#
6

    
7
######## Configuration utility section  ################
8

    
9
configutil.propertiesConfigured=false
10
configutil.authConfigured=false
11
configutil.skinsConfigured=false
12
configutil.databaseConfigured=false
13
configutil.geoserverConfigured=false
14

    
15
############### Server Values #################
16

    
17
server.name=localhost
18
server.httpPort=80
19
server.httpSSLPort=443
20

    
21
############### Application Values ############
22

    
23
## one of the few places where we use ANT tokens
24
application.metacatVersion=@metacatVersion@
25
application.metacatReleaseInfo=@metacatReleaseInfo@
26

    
27
application.deployDir=
28
## This is autodiscovered and populated by the config utility
29
application.context=
30
application.default-style=default
31
application.knbSiteURL=http://knb.ecoinformatics.org
32
application.backupDir=
33
application.windowsBackupBaseDir=C:\\Program Files
34
application.linuxBackupBaseDir=/var/metacat
35
application.datafilepath=/var/metacat/data
36
application.inlinedatafilepath=/var/metacat/inline-data
37
application.documentfilepath=/var/metacat/documents
38
application.tempDir=/var/metacat/temporary
39
# the location of cgi scripts relative to the metacat context directory
40
application.cgiDir=/cgi-bin
41
#used for writing debug info into a anouther out file
42
application.writeDebugToFile=true
43
#output file name where debug info will written
44
# TODO SCW: these should be using the temp-dir property for their paths (change in code)
45
application.debugOutputFile=/tmp/metacat.debug
46
#delimitered text output file name where debug info will be written
47
application.delimiteredOutputFile=/tmp/metacat.debug.delimitered
48

    
49
############### Database Values ###############
50

    
51
database.connectionURI=jdbc:postgresql://localhost/metacat
52
database.user=
53
database.password=
54
database.type=
55
database.driver=
56
database.adapter=
57
database.scriptsuffix.postgres=postgres.sql
58
database.scriptsuffix.oracle=oracle.sql
59
database.scriptsuffix.sqlserver=sqlserver.sql
60
database.upgradeVersion.0.0.0=xmltables,loaddtdschema
61
database.upgradeVersion.1.2.0=upgrade-db-to-1.2
62
database.upgradeVersion.1.3.0=upgrade-db-to-1.3
63
database.upgradeVersion.1.4.0=upgrade-db-to-1.4
64
database.upgradeVersion.1.5.0=upgrade-db-to-1.5
65
database.upgradeVersion.1.6.0=upgrade-db-to-1.6
66
database.upgradeVersion.1.7.0=upgrade-db-to-1.7
67
database.upgradeVersion.1.8.0=upgrade-db-to-1.8
68
database.upgradeVersion.1.9.0=upgrade-db-to-1.9
69
database.initialConnections=5
70
database.incrementConnections=5
71
database.maximumConnections=25
72
database.maximumConnectionAge=120000
73
database.maximumConnectionTime=60000
74
database.maximumUsageNumber=100
75
database.numberOfIndexingThreads=5
76
database.indexingTimerTaskTime=604800000
77
database.indexingInitialDelay=3600000
78
database.maximumIndexDelay=5000
79
database.runDBConnectionRecycleThread=off
80
database.cycleTimeOfDBConnection=30000
81
database.queryignoredparams=enableediting,foo
82
database.usexmlindex=true
83
# used for the setting the size of resultset for applications like morpho
84
database.appResultsetSize=7000
85
# used for the setting the size of resultset for searches done using browsers
86
database.webResultsetSize=7000
87
# the value of xml_returnfield.usage_count should be more than this value
88
# for records to be entered into xml_queryresult. so if you want results for
89
# any combination of returnfields to be stored in xml_queryresult only when
90
# that combination has been requested 50 times, set this value to 50
91
database.xmlReturnfieldCount=0
92
# used for the setting the size of queryresult_string in queryresult table.
93
# the limit is 4000 for oracle
94
database.queryresultStringLength=500000
95
#the size of query result cache
96
database.queryresultCacheSize=500
97
#turn on or off the query result cache
98
database.queryCacheOn=true
99

    
100
######## Datamanager section              #######################################
101
datamanager.adapter=PostgresAdapter
102
datamanager.implementation=edu.ucsb.nceas.metacat.dataquery.PostgresDatabaseConnectionPool
103
datamanager.server=localhost
104
datamanager.database=datamanager
105
datamanager.user=datamanager
106
datamanager.password=datamanager
107
datamanager.maxconnections=10
108

    
109
#datamanager.endpoint.query=http://ecogrid.ecoinformatics.org/knb/services/QueryService
110
#datamanager.endpoint.authenticatedquery=http://ecogrid.ecoinformatics.org/knb/services/AuthenticatedQueryService
111
#datamanager.endpoint.authentication=http://ecogrid.ecoinformatics.org/knb/services/AuthenticationService
112
#datamanager.endpoint.put=http://ecogrid.ecoinformatics.org/knb/services/PutService
113
#datamanager.endpoint.identifier=http://ecogrid.ecoinformatics.org/knb/services/IdentificationService
114
#datamanager.srb.endpoint=
115
#datamanager.srb.machinename=
116

    
117
######## Authentication and LDAP ##############################################
118

    
119
auth.class=edu.ucsb.nceas.metacat.AuthLdap
120
auth.timeoutMinutes=180
121
# auth.administrators=uid=jones,o=NCEAS,dc=ecoinformatics,dc=org
122
auth.administrators=
123
auth.url=ldap://ldap.ecoinformatics.org:389/
124
auth.surl=ldap://ldap.ecoinformatics.org:389/
125
auth.allowedSubmitters=
126
auth.deniedSubmitters=
127
auth.moderators=cn=knb-prod,o=NCEAS,dc=ecoinformatics,dc=org:cn=esa-moderators,dc=ecoinformatics,dc=org
128

    
129
# time in milliseconds allowed for ldap server connections
130
ldap.connectTimeLimit=5000
131
# time in milliseconds allowed for ldap server searches
132
ldap.searchTimeLimit=30000
133
# count of return entries allowed for ldap server searches
134
ldap.searchCountLimit=30000
135
ldap.referral=follow
136
ldap.onlySecureConnection=false
137
ldap.onlySecureReferalsConnection=false
138
# LDAP templates 
139
ldap.templates.stage=initregister
140
ldap.templates.header=genericHeader.tmpl
141
ldap.templates.footer=genericFooter.tmpl
142
ldap.templates.changePass=ldapChangePass.tmpl
143
ldap.templates.changePassSuccess=ldapChangePassSuccess.tmpl
144
ldap.templates.resetPass=ldapResetPass.tmpl
145
ldap.templates.resetPassSuccess=ldapResetPassSuccess.tmpl
146
ldap.templates.register=ldapRegister.tmpl
147
ldap.templates.registerFailed=ldapRegisterFailed.tmpl
148
ldap.templates.registerMatch=ldapRegisterMatch.tmpl
149
ldap.templates.registerSuccess=ldapRegisterSuccess.tmpl
150
ldap.templates.registerLter=ldapRegisterLter.tmpl
151
ldap.templates.success=ldapRegisterSuccess.tmpl
152
ldap.templates.failed=ldapRegisterFailed.tmpl
153
ldap.templates.mainServerFailure=ldapMainServerFailure.tmpl
154
ldap.templates.searchResults=searchResults.tmpl
155

    
156
############### Organization Values ###############
157

    
158
#ldap.NCEAS.dn=o=NCEAS,dc=ecoinformatics,dc=org
159
organization.configured.NCEAS=false
160
organization.name.NCEAS=National Center for Ecological Analysis and Synthesis
161
organization.base.NCEAS=dc=ecoinformatics,dc=org
162
organization.org.NCEAS=o=NCEAS
163
organization.user.NCEAS=cn=Manager
164
organization.password.NCEAS=
165
#ldap.OBFS.dn=o=OBFS,dc=ecoinformatics,dc=org
166
organization.configured.OBFS=false
167
organization.name.OBFS=Organization of Biological Field Stations
168
organization.base.OBFS=dc=ecoinformatics,dc=org
169
organization.org.OBFS=o=OBFS
170
organization.user.OBFS=cn=Manager
171
organization.password.OBFS=
172
#ldap.OSUSB.dn=o=OSUSB,dc=ecoinformatics,dc=org
173
organization.configured.OSUSB=false
174
organization.name.OSUSB=
175
organization.base.OSUSB=dc=ecoinformatics,dc=org
176
organization.org.OSUSB=o=OSUSB
177
organization.user.OSUSB=cn=Manager
178
organization.password.OSUSB=
179
#ldap.UCNRS.dn=ou=people,O=ucnrs.org
180
organization.configured.UCNRS=false
181
organization.name.UCNRS=
182
organization.base.UCNRS=ou=people,O=ucnrs.org
183
organization.org.UCNRS=
184
organization.user.UCNRS=cn=Manager
185
organization.password.UCNRS=
186
#ldap.KU.dn=o=KU,dc=ecoinformatics,dc=org
187
organization.configured.KU=false
188
organization.name.KU=
189
organization.base.KU=dc=ecoinformatics,dc=org
190
organization.org.KU=o=KU
191
organization.user.KU=cn=Manager
192
organization.password.KU=
193
#ldap.LTER.dn=o=LTER,dc=ecoinformatics,dc=org
194
organization.configured.LTER=false
195
organization.name.LTER=
196
organization.base.LTER=dc=ecoinformatics,dc=org
197
organization.org.LTER=o=LTER
198
organization.user.LTER=cn=Manager
199
organization.password.LTER=
200
#ldap.UVM.dn=o=UVM,dc=ecoinformatics,dc=org
201
organization.configured.UVM=false
202
organization.name.UVM=
203
organization.base.UVM=dc=ecoinformatics,dc=org
204
organization.org.UVM=o=UVM
205
organization.user.UVM=cn=Manager
206
organization.password.UVM=
207
#ldap.SDSC.dn=o=SDSC,dc=ecoinformatics,dc=org
208
organization.configured.SDSC=false
209
organization.name.SDSC=
210
organization.base.SDSC=dc=ecoinformatics,dc=org
211
organization.org.SDSC=o=SDSC
212
organization.user.SDSC=cn=Manager
213
organization.password.SDSC=
214
#ldap.MSU.dn=o=MSU,dc=ecoinformatics,dc=org
215
organization.configured.MSU=false
216
organization.name.MSU=
217
organization.base.MSU=dc=ecoinformatics,dc=org
218
organization.org.MSU=
219
organization.user.MSU=cn=Manager,dc=ecoinformatics,dc=org
220
organization.password.MSU=
221
#ldap.NAPIER.dn=o=NAPIER,dc=ecoinformatics,dc=org
222
organization.configured.NAPIER=false
223
organization.name.NAPIER=
224
organization.base.NAPIER=dc=ecoinformatics,dc=org
225
organization.org.NAPIER=o=NAPIER
226
organization.user.NAPIER=cn=Manager
227
organization.password.NAPIER=
228
#ldap.SANPARKS.dn=o=SANParks,dc=ecoinformatics,dc=org
229
organization.configured.SANPARKS=false
230
organization.name.SANPARKS=Kruger National Park
231
organization.base.SANPARKS=dc=ecoinformatics,dc=org
232
organization.org.SANPARKS=
233
organization.user.SANPARKS=cn=Manager
234
organization.password.SANPARKS=
235
#ldap.SAEON.dn=o=SAEON,dc=ecoinformatics,dc=org
236
organization.configured.SAEON=false
237
organization.name.SAEON=South African Environmental Observation Network Repository
238
organization.base.SAEON=dc=ecoinformatics,dc=org
239
organization.org.SAEON=
240
organization.user.SAEON=cn=Manager
241
organization.password.SAEON=
242
#ldap.unaffiliated.dn=o=unaffiliated,dc=ecoinformatics,dc=org
243
organization.configured.unaffiliated=false
244
organization.name.unaffiliated=
245
organization.base.unaffiliated=dc=ecoinformatics,dc=org
246
organization.org.unaffiliated=o=unaffiliated
247
organization.user.unaffiliated=cn=Manager
248
organization.password.unaffiliated=
249

    
250
######## XML / EML  #########################################
251

    
252
xml.saxparser=org.apache.xerces.parsers.SAXParser
253
xml.eml2_0_0namespace=eml://ecoinformatics.org/eml-2.0.0
254
xml.eml2_0_1namespace=eml://ecoinformatics.org/eml-2.0.1
255
xml.eml2_1_0namespace=eml://ecoinformatics.org/eml-2.1.0
256
xml.useFullSchemaValidation=true;
257
xml.packagedoctype=-//ecoinformatics.org//eml-dataset-2.0.0beta6//EN, -//ecoinformatics.org//eml-dataset-2.0.0beta4//EN
258
xml.accessdoctype=-//ecoinformatics.org//eml-access-2.0.0beta6//EN, -//ecoinformatics.org//eml-access-2.0.0beta4//EN
259
xml.physicaldoctype=-//ecoinformatics.org//eml-physical-2.0.0beta6//EN, -//ecoinformatics.org//eml-physical-2.0.0beta4//EN
260
xml.entitydoctype=-//ecoinformatics.org//eml-entity-2.0.0beta6//EN, -//ecoinformatics.org//eml-entity-2.0.0beta4//EN
261
xml.packagedoctypeset=BIN,-//ecoinformatics.org//eml-access-2.0.0beta6//EN,-//ecoinformatics.org//eml-access-2.0.0beta4//EN,-//ecoinformatics.org//eml-attribute-2.0.0beta6//EN,-//ecoinformatics.org//eml-attribute-2.0.0beta4//EN,-//ecoinformatics.org//eml-constraint-2.0.0beta6//EN,-//ecoinformatics.org//eml-constraint-2.0.0beta4//EN,-//ecoinformatics.org//eml-coverage-2.0.0beta6//EN,-//ecoinformatics.org//eml-coverage-2.0.0beta4//EN,-//ecoinformatics.org//eml-dataset-2.0.0beta6//EN,-//ecoinformatics.org//eml-dataset-2.0.0beta4//EN,-//ecoinformatics.org//eml-entity-2.0.0beta6//EN,-//ecoinformatics.org//eml-entity-2.0.0beta4//EN,-//ecoinformatics.org//eml-literature-2.0.0beta6//EN,-//ecoinformatics.org//eml-literature-2.0.0beta4//EN,-//ecoinformatics.org//eml-physical-2.0.0beta6//EN,-//ecoinformatics.org//eml-physical-2.0.0beta4//EN,-//ecoinformatics.org//eml-project-2.0.0beta6//EN,-//ecoinformatics.org//eml-project-2.0.0beta4//EN,-//ecoinformatics.org//eml-protocol-2.0.0beta6//EN,-//ecoinformatics.org//eml-protocol-2.0.0beta4//EN,-//ecoinformatics.org//eml-software-2.0.0beta6//EN,-//ecoinformatics.org//eml-software-2.0.0beta4//EN
262
xml.indexNamespaces=eml://ecoinformatics.org/eml-2.0.0,eml://ecoinformatics.org/eml-2.0.1
263
xml.indexPaths=organizationName,originator/individualName/surName,originator/individualName/givenName,originator/organizationName,creator/individualName/surName,creator/individualName/givenName,creator/organizationName,dataset/title,keyword,geographicCoverage/boundingCoordinates/northBoundingCoordinate,geographicCoverage/boundingCoordinates/southBoundingCoordinate,geographicCoverage/boundingCoordinates/westBoundingCoordinate,geographicCoverage/boundingCoordinates/eastBoundingCoordinate,eastBoundingCoordinate,title,entityName,individualName/surName,abstract/para,surName,givenName,para,geographicDescription,literalLayout,eastbc,northbc,westbc,southbc,dataset/access/allow/principal,entityName,taxonRankValue,dataset/dataTable/physical/distribution/online/url,dataset/spatialRaster/physical/distribution/online/url,@packageId,/reviewHistory/review/packageId,EcogridRegEntry/description,EcogridRegEntry/serviceName,EcogridRegEntry/endPoint,associatedParty/individualName/surName,associatedParty/organizationName,coverage/temporalCoverage/singleDateTime/alternativeTimeScale/timeScaleName,coverage/temporalCoverage/rangeOfDates/beginDate/alternativeTimeScale/timeScaleName,coverage/temporalCoverage/rangeOfDates/endDate/alternativeTimeScale/timeScaleName,placekey,idinfo/citation/citeinfo/title,idinfo/citation/citeinfo/origin,idinfo/keywords/theme/themekey,abstract
264

    
265
######## Outgoing email  #########################################
266

    
267
email.mailhost=localhost
268
email.sender=knb-software@nceas.ucsb.edu
269
email.admin=KNB Support
270
email.recipient=knb-software@nceas.ucsb.edu
271

    
272
######## Replication properties  #########################################
273

    
274
replication.logdir=
275
## deltaT=60
276
## debuglevel=55
277
replication.datafileflag=datafile
278
## TODO MCD this seems to be used in other placed besides replication
279
replication.datafilesizelimit=1000
280
replication.defaultcontenttype=application/octet-stream
281
replication.timedreplication=false
282
replication.firsttimedreplication=10:00 PM
283
replication.timedreplicationinterval=172800000
284
replication.forcereplicationwaitingtime=30000
285

    
286
######## Skins  #########################################
287

    
288
skin.names=default,nceas,esa,knb,kepler,lter,ltss,obfs,nrs,sanparks,saeon
289
######## Document Section  #########################################
290

    
291
#The flag to indicate if invalidated eml 201 documents were corrected.
292
#Before Metacat 1.8.1, metacat uses tag RELEASE_EML_2_0_1_UPDATE_6 as eml
293
#schema, which accidentily points to wrong version of eml-resource.xsd.
294
#If this value is false, metacat will run a class to correct eml201 doucment.
295
document.eml201DocumentCorrected=false
296
document.sitecode=nceas
297
document.accNumSeparator=.
298

    
299
######## Harvester section            #########################################
300

    
301
harvester.connectToMetacat=true
302
harvester.delay=0
303
harvester.administrator=name@institution.edu
304
harvester.logPeriod=90
305
harvester.maxHarvests=0
306
harvester.period=24
307
harvester.smtpServer=localhost
308
harvester.GetDocError=Error getting EML document from site,Error
309
harvester.GetDocSuccess=Success getting EML document from site,Debug
310
harvester.GetHarvestListError=Error getting harvest list from site,Error
311
harvester.GetHarvestListSuccess=Success getting harvest list from site,Debug
312
harvester.HarvesterStartup=Harvester start up,Info
313
harvester.HarvesterShutdown=Harvester shut down,Info
314
harvester.InsertDocError=Error inserting EML document to Metacat,Error
315
harvester.InsertDocSuccess=Success inserting EML document to Metacat,Info
316
harvester.MetacatHasDoc=Metacat already has this EML document,Info
317
harvester.UpdateDocError=Error updating EML document to Metacat,Error
318
harvester.UpdateDocSuccess=Success updating EML document to Metacat,Info
319
harvester.ValidateDocError=Error validating EML docoument,Error
320
harvester.ValidateDocSuccess=Success validating EML document,Debug
321
harvester.ValidateHarvestListError=Error validating harvest list,Error
322
harvester.ValidateHarvestListSuccess=Success validating harvest list,Debug
323

    
324
######## Spatial section              #########################################
325

    
326
spatial.runSpatialOption=true
327
spatial.regenerateCacheOnRestart=true
328
# Comma-seperated list of schemas containing spatial bounding boxes
329
# name corresponds to the docname stored in xml_documents table
330
spatial.spatialDocnameList=eml,fgdc,metadata
331
# XML paths to the four bounding coordinates
332
# These paths must be included in your indexPaths variable in build.properties
333
# Note the naming convention:
334
#   {docname}_{direction}BoundingCoordinatePath=.....
335
# Has not been tested with other schemas besides EML
336
spatial.eml_westBoundingCoordinatePath=geographicCoverage/boundingCoordinates/westBoundingCoordinate
337
spatial.eml_eastBoundingCoordinatePath=geographicCoverage/boundingCoordinates/eastBoundingCoordinate
338
spatial.eml_southBoundingCoordinatePath=geographicCoverage/boundingCoordinates/southBoundingCoordinate
339
spatial.eml_northBoundingCoordinatePath=geographicCoverage/boundingCoordinates/northBoundingCoordinate
340
spatial.fgdc_westBoundingCoordinatePath=spdom/bounding/westbc
341
spatial.fgdc_eastBoundingCoordinatePath=spdom/bounding/eastbc
342
spatial.fgdc_southBoundingCoordinatePath=spdom/bounding/southbc
343
spatial.fgdc_northBoundingCoordinatePath=spdom/bounding/northbc
344
spatial.metadata_westBoundingCoordinatePath=westbc
345
spatial.metadata_eastBoundingCoordinatePath=eastbc
346
spatial.metadata_southBoundingCoordinatePath=southbc
347
spatial.metadata_northBoundingCoordinatePath=northbc
348
spatial.docTitle=dataset/title
349

    
350
######## Geoserver section              #######################################
351

    
352
geoserver.loginPostPage=admin/loginSubmit.do
353
geoserver.loginSuccessString=admin/logout.do
354
geoserver.passwordPostPage=config/loginEditSubmit.do
355
geoserver.passwordSuccessString=Data loaded without incident
356
geoserver.applyPostPage=admin/saveToGeoServer.do
357
geoserver.defaultUsername=admin
358
geoserver.defaultPassword=geoserver
359
geoserver.username=
360
geoserver.password=
361

    
362
######## SiteMap section              #########################################
363

    
364
# relative directory path in which sitemap files should be written
365
## sitemapDirectory=@install-dir@/sitemaps
366

    
367
# Interval (in milliseconds) between rebuilding the sitemap
368
sitemap.interval=86400000
369

    
370
######## junit test section  ################
371

    
372
test.printdebug=true
373
test.metacatUrl=http://localhost/knb/metacat
374
test.contextUrl=http://localhost/knb
375
test.metacatDeployDir=/usr/local/tomcat/webapps/knb
376
test.mcUser=uid=kepler,o=unaffiliated,dc=ecoinformatics,dc=org
377
test.mcPassword=kepler
378
test.mcAnotherUser=uid=test,o=NCEAS,dc=ecoinformatics,dc=org
379
test.mcAnotherPassword=test
380
test.piscoUser=uid=piscotest,o=PISCO,dc=ecoinformatics,dc=org
381
test.piscoPassword=testPW
382
test.lterUser=uid=tmonkey,o=LTER,dc=ecoinformatics,dc=org
383
test.lterPassword=T3$tusr
384
test.testProperty=testing
385

    
386
######## Developers Section #########################################
387

    
388
# Set dev.runConfiguration to false to keep the system from walking you 
389
# through the configuration utility every time you reinstall metacat.  
390
# Instead,  the system will use backed up configuration values.  If you 
391
# haven't ever configured the app (no backup files) the system will take 
392
# you through the configuration.
393
dev.runConfiguration=true
394

    
(15-15/28)