Project

General

Profile

« Previous | Next » 

Revision 4080

Added by daigle over 16 years ago

Merge 1.9 changes into Head

View differences:

metacat.properties
1
#
2 1
# Properties file defining options for the MetaCatServlet.java servlet
3 2
#
4 3
# Matt Jones, Dan Higgins, Jivka Bojilova
5 4
# '$Id$'
6 5
#
7 6

  
8
######## Configuration section        #########################################
9
# This flag indicates whether configuration information has been collected from
10
# the user installing metacat yet.
11
configured=true
7
######## Configuration utility section        #########################################
12 8

  
13
configurationPage=/configure.jsp
9
configutil.propertiesConfigured=false
10
configutil.ldapConfigured=false
11
configutil.skinsConfigured=false
12
configutil.databaseConfigured=false
14 13

  
15
configurationSuccessPage=/configure-restart.jsp
14
############### Server Values #################
16 15

  
17
version=1.8.1
16
server.name=localhost
17
server.httpPort=80
18
server.httpSSLPort=443
18 19

  
19
######## Database section             #########################################
20
user=@user@
20
############### Application Values ############
21 21

  
22
password=@password@
22
## one of the few places where we use ANT tokens
23
application.metacatVersion=@metacatVersion@
24
## This is autodiscovered and populated by the config utility
25
application.tomcatDir=
26
## This is autodiscovered and populated by the config utility
27
application.context=
28
application.default-style=default
29
application.knbSiteURL=http://knb.ecoinformatics.org
30
application.datafilepath=/var/metacat/data
31
application.inlinedatafilepath=/var/metacat/inline-data
32
application.cgiDir=/cgi-bin
23 33

  
24
databaseType=@database@
34
############### Database Values ###############
25 35

  
26
defaultDB=@jdbc-connect@
36
database.user=
37
database.password=
38
database.type=
39
database.connectionURI=jdbc:postgresql://localhost/metacat
40
database.driver=  
41
database.adapter=
42
#database.upgradeVersions=0.0.0,1.2.0,1.3.0,1.4.0,1.5.0,1.6.0,1.7.0,1.8.0,1.9.0
43
database.upgradeVersion.0.0.0=xmltables,loaddtdschema
44
database.upgradeVersion.1.2.0=upgrade-db-to-1.2
45
database.upgradeVersion.1.3.0=upgrade-db-to-1.3
46
database.upgradeVersion.1.4.0=upgrade-db-to-1.4
47
database.upgradeVersion.1.5.0=upgrade-db-to-1.5
48
database.upgradeVersion.1.6.0=upgrade-db-to-1.6
49
database.upgradeVersion.1.7.0=upgrade-db-to-1.7
50
database.upgradeVersion.1.8.0=upgrade-db-to-1.8
51
database.upgradeVersion.1.9.0=upgrade-db-to-1.9
52
database.initialConnections=5
53
database.incrementConnections=5
54
database.maximumConnections=25
55
database.maximumConnectionAge=120000
56
database.maximumConnectionTime=60000
57
database.maximumUsageNumber=100
58
database.numberOfIndexingThreads=5
59
database.indexingTimerTaskTime=604800000
60
database.indexingInitialDelay=3600000
61
database.maximumIndexDelay=5000
62
database.runDBConnectionRecycleThread=off
63
database.cycleTimeOfDBConnection=30000
27 64

  
28
dbDriver=@dbDriver@
65
######## LDAP ##############################################
29 66

  
30
dbAdapter=@dbAdapter@
67
auth.class=edu.ucsb.nceas.metacat.AuthLdap
68
auth.timeoutMinutes=180
31 69

  
32
initialConnections=5
70
ldap.administrators=uid=jones,o=NCEAS,dc=ecoinformatics,dc=org
71
ldap.url=ldap://ldap.ecoinformatics.org:389/
72
ldap.surl=ldap://ldap.ecoinformatics.org:389/
73
ldap.allowedSubmitters=
74
ldap.deniedSubmitters=
75
# time in milliseconds allowed for ldap server connections
76
ldap.connectTimeLimit=5000
77
# time in milliseconds allowed for ldap server searches
78
ldap.searchTimeLimit=30000
79
# count of return entries allowed for ldap server searches
80
ldap.searchCountLimit=30000
81
ldap.referral=follow
82
ldap.onlySecureConnection=false
83
ldap.onlySecureReferalsConnection=false
33 84

  
34
incrementConnections=5
85
# TODO MCD move this to skins
86
ldap.moderators=cn=knb-prod,o=NCEAS,dc=ecoinformatics,dc=org
35 87

  
36
maximumConnections=25
88
# LDAP supported organization list
89
# ldap.organizations=OBFS,OSUSB,UCNRS,KU,LTER,UVM,NCEAS,SDSC,MSU,NAPIER,SANPARKS,SAEON,UNAFFILIATED
37 90

  
38
maximumConnectionAge=120000
91
# custom organization parameters
92
#ldap.NCEAS.dn=o=NCEAS,dc=ecoinformatics,dc=org
93
ldap.configured.NCEAS=false
94
ldap.base.NCEAS=dc=ecoinformatics,dc=org
95
ldap.org.NCEAS=o=NCEAS
96
ldap.user.NCEAS=cn=Manager
97
ldap.password.NCEAS=
98
#ldap.OBFS.dn=o=OBFS,dc=ecoinformatics,dc=org
99
ldap.configured.OBFS=false
100
ldap.base.OBFS=dc=ecoinformatics,dc=org
101
ldap.org.OBFS=o=OBFS
102
ldap.user.OBFS=cn=Manager
103
ldap.password.OBFS=
104
#ldap.OSUSB.dn=o=OSUSB,dc=ecoinformatics,dc=org
105
ldap.configured.OSUSB=false
106
ldap.base.OSUSB=dc=ecoinformatics,dc=org
107
ldap.org.OSUSB=o=OSUSB
108
ldap.user.OSUSB=cn=Manager
109
ldap.password.OSUSB=
110
#ldap.UCNRS.dn=ou=people,O=ucnrs.org
111
ldap.configured.UCNRS=false
112
ldap.base.UCNRS=ou=people,O=ucnrs.org
113
ldap.org.UCNRS=
114
ldap.user.UCNRS=cn=Manager
115
ldap.password.UCNRS=
116
#ldap.KU.dn=o=KU,dc=ecoinformatics,dc=org
117
ldap.configured.KU=false
118
ldap.base.KU=dc=ecoinformatics,dc=org
119
ldap.org.KU=o=KU
120
ldap.user.KU=cn=Manager
121
ldap.password.KU=
122
#ldap.LTER.dn=o=LTER,dc=ecoinformatics,dc=org
123
ldap.configured.LTER=false
124
ldap.base.LTER=dc=ecoinformatics,dc=org
125
ldap.org.LTER=o=LTER
126
ldap.user.LTER=cn=Manager
127
ldap.password.LTER=
128
#ldap.UVM.dn=o=UVM,dc=ecoinformatics,dc=org
129
ldap.configured.UVM=false
130
ldap.base.UVM=dc=ecoinformatics,dc=org
131
ldap.org.UVM=o=UVM
132
ldap.user.UVM=cn=Manager
133
ldap.password.UVM=
134
#ldap.SDSC.dn=o=SDSC,dc=ecoinformatics,dc=org
135
ldap.configured.SDSC=false
136
ldap.base.SDSC=dc=ecoinformatics,dc=org
137
ldap.org.SDSC=o=SDSC
138
ldap.user.SDSC=cn=Manager
139
ldap.password.SDSC=
140
#ldap.MSU.dn=o=MSU,dc=ecoinformatics,dc=org
141
ldap.configured.MSU=false
142
ldap.base.MSU=dc=ecoinformatics,dc=org
143
ldap.org.MSU=
144
ldap.user.MSU=cn=Manager,dc=ecoinformatics,dc=org
145
ldap.password.MSU=
146
#ldap.NAPIER.dn=o=NAPIER,dc=ecoinformatics,dc=org
147
ldap.configured.NAPIER=false
148
ldap.base.NAPIER=dc=ecoinformatics,dc=org
149
ldap.org.NAPIER=o=NAPIER
150
ldap.user.NAPIER=cn=Manager
151
ldap.password.NAPIER=
152
#ldap.SANPARKS.dn=o=SANParks,dc=ecoinformatics,dc=org
153
ldap.configured.SANPARKS=false
154
ldap.base.SANPARKS=dc=ecoinformatics,dc=org
155
ldap.org.SANPARKS=
156
ldap.user.SANPARKS=cn=Manager
157
ldap.password.SANPARKS=
158
#ldap.SAEON.dn=o=SAEON,dc=ecoinformatics,dc=org
159
ldap.configured.SAEON=false
160
ldap.base.SAEON=dc=ecoinformatics,dc=org
161
ldap.org.SAEON=
162
ldap.user.SAEON=cn=Manager
163
ldap.password.SAEON=
164
#ldap.UNAFFILIATED.dn=o=unaffiliated,dc=ecoinformatics,dc=org
165
ldap.configured.UNAFFILIATED=false
166
ldap.base.UNAFFILIATED=dc=ecoinformatics,dc=org
167
ldap.org.UNAFFILIATED=o=unaffiliated
168
ldap.user.UNAFFILIATED=cn=Manager
169
ldap.password.UNAFFILIATED=
39 170

  
40
maximumConnectionTime=60000
171
# LDAP templates 
172
ldap.templates.stage=initregister
173
ldap.templates.header=genericHeader.tmpl
174
ldap.templates.footer=genericFooter.tmpl
175
ldap.templates.changePass=ldapChangePass.tmpl
176
ldap.templates.changePassSuccess=ldapChangePassSuccess.tmpl
177
ldap.templates.resetPass=ldapResetPass.tmpl
178
ldap.templates.resetPassSuccess=ldapResetPassSuccess.tmpl
179
ldap.templates.register=ldapRegister.tmpl
180
ldap.templates.registerFailed=ldapRegisterFailed.tmpl
181
ldap.templates.registerMatch=ldapRegisterMatch.tmpl
182
ldap.templates.registerSuccess=ldapRegisterSuccess.tmpl
183
ldap.templates.registerLter=ldapRegisterLter.tmpl
184
ldap.templates.success=ldapRegisterSuccess.tmpl
185
ldap.templates.failed=ldapRegisterFailed.tmpl
186
ldap.templates.mainServerFailure=ldapMainServerFailure.tmpl
187
ldap.templates.searchResults=searchResults.tmpl
41 188

  
42
maximumUsageNumber=100
43

  
44
numberOfIndexingThreads=5
45

  
46
indexingTimerTaskTime=604800000
47

  
48
indexingInitialDelay=3600000
49

  
50
maximumIndexDelay=5000
51

  
52
runDBConnectionRecycleThread=off
53

  
54
cycleTimeOfDBConnection=30000
55

  
56 189
######## Access section               #########################################
57
administrators=@administrators@
58 190

  
59
moderators=@moderators@
191
timedreplication=false
192
firsttimedreplication=10:00 PM
193
timedreplicationinterval=172800000
194
forcereplicationwaitingtime=30000
60 195

  
61
allowedSubmitters=@allowedSubmitters@
196
######## Log Paths  ##############################################
62 197

  
63
deniedSubmitters=@deniedSubmitters@
64

  
65
timedreplication=@timedreplication@
66

  
67
firsttimedreplication=@firsttimedreplication@
68

  
69
timedreplicationinterval=@timedreplicationinterval@
70

  
71
forcereplicationwaitingtime=@forcereplicationwaitingtime@
72

  
73
config-dir=@config-dir@
74

  
75
default-style=@default-style@
76

  
77
xmlcatalogfile=/opt/tomcat/webapps/xmltodb/catalog.txt
78

  
79 198
sitecode=nceas
80

  
81 199
accNumSeparator=.
82 200

  
201
######## XML / EML  #########################################
202

  
83 203
saxparser=org.apache.xerces.parsers.SAXParser
84

  
85
servletpath=@servlet-path@
86

  
87
htmlpath=@html-path@
88

  
89
knbSiteURL=@knb-site-url@
90

  
91
eml2_0_0namespace=@eml2_0_0namespace@
92

  
93
eml2_0_1namespace=@eml2_0_1namespace@
94

  
95
eml2_1_0namespace=@eml2_1_0namespace@
96

  
204
eml2_0_0namespace="eml://ecoinformatics.org/eml-2.0.0"
205
eml2_0_1namespace="eml://ecoinformatics.org/eml-2.0.1"
206
eml2_1_0namespace="eml://ecoinformatics.org/eml-2.1.0"
97 207
packagedoctype=-//ecoinformatics.org//eml-dataset-2.0.0beta6//EN, -//ecoinformatics.org//eml-dataset-2.0.0beta4//EN
98

  
99 208
accessdoctype=-//ecoinformatics.org//eml-access-2.0.0beta6//EN, -//ecoinformatics.org//eml-access-2.0.0beta4//EN
100

  
101 209
physicaldoctype=-//ecoinformatics.org//eml-physical-2.0.0beta6//EN, -//ecoinformatics.org//eml-physical-2.0.0beta4//EN
102

  
103 210
entitydoctype=-//ecoinformatics.org//eml-entity-2.0.0beta6//EN, -//ecoinformatics.org//eml-entity-2.0.0beta4//EN
104

  
105 211
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
106

  
107
indexNamespaces=@eml2_0_0namespace@,@eml2_0_1namespace@
108

  
109
indexPaths=@indexPaths@
110

  
111
server=@server@
112

  
113
httpserver=@systemidserver@
114

  
115
cgi-prefix=@cgi-prefix@
116

  
212
indexNamespaces="eml://ecoinformatics.org/eml-2.0.0","eml://ecoinformatics.org/eml-2.0.1"
213
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
117 214
junittesturl=@systemidserver@@servlet-path@
118 215

  
119
authclass=edu.ucsb.nceas.metacat.AuthLdap
216
######## Outgoing email  #########################################
120 217

  
121
ldapurl=ldap://ldap.ecoinformatics.org:389/
218
email.mailhost=localhost
219
email.sender=knb-software@nceas.ucsb.edu
220
email.admin=KNB Support
221
email.recipient=knb-software@nceas.ucsb.edu
122 222

  
123
ldapsurl=ldap://ldap.ecoinformatics.org:389/
223
######## Registry properties #########################################
124 224

  
125
ldapbase=dc=ecoinformatics,dc=org
225
cgi-user=@cgi-user@
126 226

  
127
# time in milliseconds allowed for ldap server connections
128
ldapconnecttimelimit=5000
227
# TODO SCW should obfs still be the default?
228
registry.config.scope=obfs
229
registry.config.username=uid=knbadmin,o=NCEAS,dc=ecoinformatics,dc=org
230
registry.config.password=your-pw-goes-here
231
registry.config.site=station
232
registry.config.type=Registry
233
registry.config.publicReadable=true
234
registry.config.adminIsDocOwner=false
235
registry.config.organization=
236
registry.config.abbrev=
237
registry.config.debug=false
129 238

  
130
# time in milliseconds allowed for ldap server searches
131
ldapsearchtimelimit=30000
239
# registry modules: parts of the form we should be display
240
registry.modules.taxonomic=true
241
registry.modules.method=true
242
registry.modules.spatial=true
243
registry.modules.keyword=true
244
registry.modules.temporal=true
245
registry.modules.upload=false
132 246

  
133
# count of return entries allowed for ldap server searches
134
ldapsearchcountlimit=30000
247
# skin-specific display settings
248
registry.required.siteList=true
249
registry.required.wgList=false
250
registry.required.organization=true
251
registry.required.temporal=true
252
registry.required.spatial=true
253
registry.required.contactEmail=false
135 254

  
136
referral=follow
255
registry.templates.response=genericResponse.tmpl
256
registry.templates.entry=entryForm.tmpl
257
registry.templates.guide=genericGuide.tmpl
258
registry.templates.login=loginForm.tmpl
259
registry.templates.confirmData=confirmData.tmpl
260
registry.templates.deleteData=deleteData.tmpl
261
registry.templates.header=genericHeader.tmpl
262
registry.templates.footer=genericFooter.tmpl
263
# ESA-skin specific templates
264
registry.templates.modEmailNotification=
265
registry.templates.modResult=
266
registry.templates.getReviews=
137 267

  
138
#ldapurl=ldap://ldap.nceas.ucsb.edu:389/
268
# Replication properties
139 269

  
140
#ldapsurl=ldap://ldap.nceas.ucsb.edu:389/
141

  
142
#ldapbase=o=NCEAS,c=US
143

  
144
onlySecureLDAPConnection=false
145

  
146
onlySecureLDAPReferalsConnection=false
147

  
148 270
deltaT=60
149 271

  
150
replicationpath=@replication-path@
272
debuglevel=55
151 273

  
152
replicationlog=@replication-log@
153

  
154
replicationerrorlog=@replicationerrorlog@
155

  
156
installDir=@install-dir@
157

  
158
dtdPath=@install-dir@/dtd/
159

  
160
schemaPath=@install-dir@/schema/
161

  
162
dtdURL=@systemidserver@@html-path@/dtd/
163

  
164
schemaURL=@systemidserver@@html-path@/schema/
165

  
166
datafilepath=@datafilepath@
167

  
168
inlinedatafilepath=@inlinedatafilepath@
169

  
170
certPath=@install-dir@/
171

  
172
context=@context@
173

  
174
debuglevel=@debuglevel@
175

  
176 274
datafileflag=datafile
177 275

  
178 276
datafilesizelimit=1000
179 277

  
180
defaultcontenttype=@defaultcontenttype@
278
defaultcontenttype=application/octet-stream
181 279

  
182 280
query.ignored.params=enableediting,foo
183 281

  
184 282
usexmlindex=true
185 283

  
186
skinconfigfiles=esa,nceas,knb,obfs,nrs,sanparks
284
######## Skins  #########################################
285
skin.names=esa,nceas,knb,obfs,nrs,sanparks
187 286

  
287
#move this to skin config
288
skin.esa.moderators=cn=knb-prod,o=NCEAS,dc=ecoinformatics,dc=org
289

  
188 290
# used for the setting the size of resultset for applications like morpho
189 291
app_resultsetsize=7000
190 292

  
......
207 309
#turn on or off the query result cache
208 310
query_cache_on=true
209 311

  
210
#The flag to indicate if invalidated eml 201 documents were corrected.
211
#Before Metacat 1.8.1, metacat uses tag RELEASE_EML_2_0_1_UPDATE_6 as eml
212
#schema, which accidentily points to wrong version of eml-resource.xsd.
213
#If this value is false, metacat will run a class to correct eml201 doucment.
214
eml201_document_corrected=false
215

  
216 312
#used for writing debug info into a anouther out file
217 313
writeDebugToFile=true
218 314
#output file name where debug info will written
315
# TODO SCW: these should be using the temp-dir property for their paths (change in code)
219 316
debugOutputFile=/tmp/metacat.debug
220 317
#delimitered text output file name where debug info will be written
221 318
delimiteredOutputFile=/tmp/metacat.debug.delimitered
222 319

  
223 320
# Used for client testing and typically don't need to be changed
224
mcuser=uid=kepler,o=unaffiliated,dc=ecoinformatics,dc=org
225
mcpassword=kepler
226
mcanotheruser=uid=tao,o=NCEAS,dc=ecoinformatics,dc=org
227
mcanotherpassword=yourpass
228
piscouser=uid=tao,o=PISCO,dc=ecoinformatics,dc=org
229
piscopassword=yourpass
230
lteruser=uid=jtao,o=LTER,dc=ecoinformatics,dc=org
231
lterpassword=yourpass
321
mcuser="uid=kepler,o=unaffiliated,dc=ecoinformatics,dc=org"
322
mcpassword="kepler"
323
mcanotheruser="uid=tao,o=NCEAS,dc=ecoinformatics,dc=org"
324
mcanotherpassword="yourpass"
325
piscouser="uid=tao,o=PISCO,dc=ecoinformatics,dc=org"/>
326
piscopassword="yourpass"/>
327
lteruser="uid=jtao,o=LTER,dc=ecoinformatics,dc=org"/>
328
lterpassword="yourpass"/>
232 329

  
233

  
234 330
######## Harvester section            #########################################
235 331
connectToMetacat=true
236 332

  
......
276 372

  
277 373
ValidateHarvestListSuccess=Success validating harvest list,Debug
278 374

  
279
# End of Harvester properties
375
######## Spatial section              #########################################
280 376

  
281
######## Spatial section              #########################################
282 377
runSpatialOption=true
283 378
regenerateCacheOnRestart=true
284 379

  
......
305 400
metadata_northBoundingCoordinatePath=northbc
306 401

  
307 402
docTitle=dataset/title
308
metacatUrl=@systemidserver@@servlet-path@
309
baseUrl=@systemidserver@@html-path@
310
# END spatial options
311 403

  
312
# START sitemap properties
404
######## SiteMap section              #########################################
313 405

  
314 406
# relative directory path in which sitemap files should be written
315
sitemapDirectory=@install-dir@/sitemaps
407
## sitemapDirectory=@install-dir@/sitemaps
316 408

  
317 409
# Interval (in milliseconds) between rebuilding the sitemap
318 410
sitemapInterval=86400000
319 411

  
320
# END sitemap properties

Also available in: Unified diff