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 4790 2009-01-29 19:06:40Z 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.base=dc=ecoinformatics,dc=org
126
auth.allowedSubmitters=
127
auth.deniedSubmitters=
128
auth.moderators=cn=knb-prod,o=NCEAS,dc=ecoinformatics,dc=org:cn=esa-moderators,dc=ecoinformatics,dc=org
129

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

    
157
############### Organization Values ###############
158
organization.configured.NCEAS=false
159
organization.name.NCEAS=National Center for Ecological Analysis and Synthesis
160
organization.configured.OBFS=false
161
organization.name.OBFS=Organization of Biological Field Stations
162
organization.configured.OSUSB=false
163
organization.name.OSUSB=
164
organization.configured.UCNRS=false
165
organization.name.UCNRS=
166
organization.configured.KU=false
167
organization.name.KU=
168
organization.configured.LTER=false
169
organization.name.LTER=
170
organization.configured.UVM=false
171
organization.name.UVM=
172
organization.configured.SDSC=false
173
organization.name.SDSC=
174
organization.configured.MSU=false
175
organization.name.MSU=
176
organization.configured.NAPIER=false
177
organization.name.NAPIER=
178
organization.configured.SANPARKS=false
179
organization.name.SANPARKS=Kruger National Park
180
organization.configured.SAEON=false
181
organization.name.SAEON=South African Environmental Observation Network Repository
182

    
183
organization.name.unaffiliated=unaffiliated
184
organization.base.unaffiliated=dc=ecoinformatics,dc=org
185
organization.org.unaffiliated=o=unaffiliated
186
organization.user.unaffiliated=cn=Manager
187
organization.password.unaffiliated=
188

    
189
######## XML / EML  #########################################
190

    
191
xml.saxparser=org.apache.xerces.parsers.SAXParser
192
xml.eml2_0_0namespace=eml://ecoinformatics.org/eml-2.0.0
193
xml.eml2_0_1namespace=eml://ecoinformatics.org/eml-2.0.1
194
xml.eml2_1_0namespace=eml://ecoinformatics.org/eml-2.1.0
195
xml.useFullSchemaValidation=true;
196
xml.packagedoctype=-//ecoinformatics.org//eml-dataset-2.0.0beta6//EN, -//ecoinformatics.org//eml-dataset-2.0.0beta4//EN
197
xml.accessdoctype=-//ecoinformatics.org//eml-access-2.0.0beta6//EN, -//ecoinformatics.org//eml-access-2.0.0beta4//EN
198
xml.physicaldoctype=-//ecoinformatics.org//eml-physical-2.0.0beta6//EN, -//ecoinformatics.org//eml-physical-2.0.0beta4//EN
199
xml.entitydoctype=-//ecoinformatics.org//eml-entity-2.0.0beta6//EN, -//ecoinformatics.org//eml-entity-2.0.0beta4//EN
200
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
201
xml.indexNamespaces=eml://ecoinformatics.org/eml-2.0.0,eml://ecoinformatics.org/eml-2.0.1
202
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,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
203

    
204
######## Outgoing email  #########################################
205

    
206
email.mailhost=localhost
207
email.sender=knb-software@nceas.ucsb.edu
208
email.admin=KNB Support
209
email.recipient=knb-software@nceas.ucsb.edu
210

    
211
######## Replication properties  #########################################
212

    
213
replication.logdir=
214
## deltaT=60
215
## debuglevel=55
216
replication.datafileflag=datafile
217
## TODO MCD this seems to be used in other placed besides replication
218
replication.datafilesizelimit=1000
219
replication.defaultcontenttype=application/octet-stream
220
replication.timedreplication=false
221
replication.firsttimedreplication=10:00 PM
222
replication.timedreplicationinterval=172800000
223
replication.forcereplicationwaitingtime=30000
224

    
225
######## Skins  #########################################
226

    
227
skin.names=default,nceas,esa,knb,kepler,lter,ltss,obfs,nrs,sanparks,saeon
228
######## Document Section  #########################################
229

    
230
#The flag to indicate if invalidated eml 201 documents were corrected.
231
#Before Metacat 1.8.1, metacat uses tag RELEASE_EML_2_0_1_UPDATE_6 as eml
232
#schema, which accidentily points to wrong version of eml-resource.xsd.
233
#If this value is false, metacat will run a class to correct eml201 doucment.
234
document.eml201DocumentCorrected=false
235
document.sitecode=nceas
236
document.accNumSeparator=.
237

    
238
######## Harvester section            #########################################
239

    
240
harvester.connectToMetacat=true
241
harvester.delay=0
242
harvester.administrator=name@institution.edu
243
harvester.logPeriod=90
244
harvester.maxHarvests=0
245
harvester.period=24
246
harvester.smtpServer=localhost
247
harvester.GetDocError=Error getting EML document from site,Error
248
harvester.GetDocSuccess=Success getting EML document from site,Debug
249
harvester.GetHarvestListError=Error getting harvest list from site,Error
250
harvester.GetHarvestListSuccess=Success getting harvest list from site,Debug
251
harvester.HarvesterStartup=Harvester start up,Info
252
harvester.HarvesterShutdown=Harvester shut down,Info
253
harvester.InsertDocError=Error inserting EML document to Metacat,Error
254
harvester.InsertDocSuccess=Success inserting EML document to Metacat,Info
255
harvester.MetacatHasDoc=Metacat already has this EML document,Info
256
harvester.UpdateDocError=Error updating EML document to Metacat,Error
257
harvester.UpdateDocSuccess=Success updating EML document to Metacat,Info
258
harvester.ValidateDocError=Error validating EML docoument,Error
259
harvester.ValidateDocSuccess=Success validating EML document,Debug
260
harvester.ValidateHarvestListError=Error validating harvest list,Error
261
harvester.ValidateHarvestListSuccess=Success validating harvest list,Debug
262

    
263
######## Spatial section              #########################################
264

    
265
spatial.runSpatialOption=true
266
spatial.regenerateCacheOnRestart=true
267
# Comma-seperated list of schemas containing spatial bounding boxes
268
# name corresponds to the docname stored in xml_documents table
269
spatial.spatialDocnameList=eml,fgdc,metadata
270
# XML paths to the four bounding coordinates
271
# These paths must be included in your indexPaths variable in build.properties
272
# Note the naming convention:
273
#   {docname}_{direction}BoundingCoordinatePath=.....
274
# Has not been tested with other schemas besides EML
275
spatial.eml_westBoundingCoordinatePath=geographicCoverage/boundingCoordinates/westBoundingCoordinate
276
spatial.eml_eastBoundingCoordinatePath=geographicCoverage/boundingCoordinates/eastBoundingCoordinate
277
spatial.eml_southBoundingCoordinatePath=geographicCoverage/boundingCoordinates/southBoundingCoordinate
278
spatial.eml_northBoundingCoordinatePath=geographicCoverage/boundingCoordinates/northBoundingCoordinate
279
spatial.fgdc_westBoundingCoordinatePath=spdom/bounding/westbc
280
spatial.fgdc_eastBoundingCoordinatePath=spdom/bounding/eastbc
281
spatial.fgdc_southBoundingCoordinatePath=spdom/bounding/southbc
282
spatial.fgdc_northBoundingCoordinatePath=spdom/bounding/northbc
283
spatial.metadata_westBoundingCoordinatePath=westbc
284
spatial.metadata_eastBoundingCoordinatePath=eastbc
285
spatial.metadata_southBoundingCoordinatePath=southbc
286
spatial.metadata_northBoundingCoordinatePath=northbc
287
spatial.docTitle=dataset/title
288

    
289
######## Geoserver section              #######################################
290

    
291
geoserver.loginPostPage=admin/loginSubmit.do
292
geoserver.loginSuccessString=admin/logout.do
293
geoserver.passwordPostPage=config/loginEditSubmit.do
294
geoserver.passwordSuccessString=Data loaded without incident
295
geoserver.applyPostPage=admin/saveToGeoServer.do
296
geoserver.defaultUsername=admin
297
geoserver.defaultPassword=geoserver
298
geoserver.username=
299
geoserver.password=
300

    
301
######## SiteMap section              #########################################
302

    
303
# relative directory path in which sitemap files should be written
304
## sitemapDirectory=@install-dir@/sitemaps
305

    
306
# Interval (in milliseconds) between rebuilding the sitemap
307
sitemap.interval=86400000
308

    
309
######## junit test section  ################
310

    
311
test.printdebug=true
312
test.metacatUrl=http://localhost/knb/metacat
313
test.contextUrl=http://localhost/knb
314
test.metacatDeployDir=/usr/local/tomcat/webapps/knb
315
test.mcUser=uid=kepler,o=unaffiliated,dc=ecoinformatics,dc=org
316
test.mcPassword=kepler
317
test.mcAnotherUser=uid=test,o=NCEAS,dc=ecoinformatics,dc=org
318
test.mcAnotherPassword=test
319
test.piscoUser=uid=piscotest,o=PISCO,dc=ecoinformatics,dc=org
320
test.piscoPassword=testPW
321
test.lterUser=uid=tmonkey,o=LTER,dc=ecoinformatics,dc=org
322
test.lterPassword=T3$tusr
323
test.testProperty=testing
324

    
325
######## Developers Section #########################################
326

    
327
# Set dev.runConfiguration to false to keep the system from walking you 
328
# through the configuration utility every time you reinstall metacat.  
329
# Instead,  the system will use backed up configuration values.  If you 
330
# haven't ever configured the app (no backup files) the system will take 
331
# you through the configuration.
332
dev.runConfiguration=true
333

    
(15-15/28)