1
|
# Properties file defining options for the MetaCatServlet.java servlet
|
2
|
#
|
3
|
# Matt Jones, Dan Higgins, Jivka Bojilova
|
4
|
# '$Id: metacat.properties 5017 2009-08-07 17:32:04Z leinfelder $'
|
5
|
#
|
6
|
|
7
|
############### Server Values #################
|
8
|
|
9
|
server.name=localhost
|
10
|
server.httpPort=8080
|
11
|
server.httpSSLPort=8443
|
12
|
|
13
|
############### Application Values ############
|
14
|
|
15
|
## one of the few places where we use ANT tokens
|
16
|
application.metacatVersion=@metacatVersion@
|
17
|
application.metacatReleaseInfo=@metacatReleaseInfo@
|
18
|
|
19
|
application.deployDir=/usr/local/tomcat/webapps/workflowscheduler
|
20
|
## This is autodiscovered and populated by the config utility
|
21
|
application.context=workflowscheduler
|
22
|
application.default-style=default
|
23
|
application.knbSiteURL=http://knb.ecoinformatics.org
|
24
|
application.backupDir=/var/workflowscheduler/.workflowscheduler
|
25
|
application.windowsBackupBaseDir=C:\\Program Files
|
26
|
application.linuxBackupBaseDir=/var
|
27
|
application.datafilepath=/var/workflowscheduler/data
|
28
|
application.inlinedatafilepath=/var/workflowscheduler/inline-data
|
29
|
application.documentfilepath=/var/workflowscheduler/documents
|
30
|
application.expandedArchivePath=/var/workflowscheduler/expanded-archives
|
31
|
application.tempDir=/var/workflowscheduler/temporary
|
32
|
# the location of cgi scripts relative to the metacat context directory
|
33
|
application.cgiDir=/cgi-bin
|
34
|
#used for writing debug info into a anouther out file
|
35
|
application.writeDebugToFile=true
|
36
|
#output file name where debug info will written
|
37
|
# TODO SCW: these should be using the temp-dir property for their paths (change in code)
|
38
|
application.debugOutputFile=/tmp/workflowscheduler.debug
|
39
|
#delimitered text output file name where debug info will be written
|
40
|
application.delimiteredOutputFile=/tmp/workflowscheduler.debug.delimitered
|
41
|
|
42
|
############### Database Values ###############
|
43
|
|
44
|
database.connectionURI=jdbc:postgresql://localhost/workflowscheduler
|
45
|
database.user=workflowscheduler
|
46
|
database.password=workflowscheduler
|
47
|
database.type=postgres
|
48
|
database.driver=org.postgresql.Driver
|
49
|
database.adapter=edu.ucsb.nceas.dbadapter.PostgresqlAdapter
|
50
|
database.scriptsuffix.postgres=postgres.sql
|
51
|
database.scriptsuffix.oracle=oracle.sql
|
52
|
database.scriptsuffix.sqlserver=sqlserver.sql
|
53
|
database.upgradeVersion.0.0.0=xmltables,loaddtdschema
|
54
|
database.upgradeVersion.1.2.0=upgrade-db-to-1.2
|
55
|
database.upgradeVersion.1.3.0=upgrade-db-to-1.3
|
56
|
database.upgradeVersion.1.4.0=upgrade-db-to-1.4
|
57
|
database.upgradeVersion.1.5.0=upgrade-db-to-1.5
|
58
|
database.upgradeVersion.1.6.0=upgrade-db-to-1.6
|
59
|
database.upgradeVersion.1.7.0=upgrade-db-to-1.7
|
60
|
database.upgradeVersion.1.8.0=upgrade-db-to-1.8
|
61
|
database.upgradeVersion.1.9.0=upgrade-db-to-1.9
|
62
|
database.upgradeVersion.1.9.1=upgrade-db-to-1.9.1
|
63
|
database.upgradeVersion.1.9.2=upgrade-db-to-1.9.2
|
64
|
database.initialConnections=5
|
65
|
database.incrementConnections=5
|
66
|
database.maximumConnections=200
|
67
|
database.maximumConnectionAge=120000
|
68
|
database.maximumConnectionTime=60000
|
69
|
database.maximumUsageNumber=100
|
70
|
database.connectionCountWarnLimit=15
|
71
|
database.numberOfIndexingThreads=5
|
72
|
database.indexingTimerTaskTime=604800000
|
73
|
database.indexingInitialDelay=3600000
|
74
|
database.maximumIndexDelay=5000
|
75
|
database.runDBConnectionRecycleThread=off
|
76
|
database.cycleTimeOfDBConnection=30000
|
77
|
database.queryignoredparams=enableediting,foo
|
78
|
database.usexmlindex=true
|
79
|
# used for the setting the size of resultset for applications like morpho
|
80
|
database.appResultsetSize=7000
|
81
|
# used for the setting the size of resultset for searches done using browsers
|
82
|
database.webResultsetSize=7000
|
83
|
# the value of xml_returnfield.usage_count should be more than this value
|
84
|
# for records to be entered into xml_queryresult. so if you want results for
|
85
|
# any combination of returnfields to be stored in xml_queryresult only when
|
86
|
# that combination has been requested 50 times, set this value to 50
|
87
|
database.xmlReturnfieldCount=0
|
88
|
# used for the setting the size of queryresult_string in queryresult table.
|
89
|
# the limit is 4000 for oracle
|
90
|
database.queryresultStringLength=500000
|
91
|
#the size of query result cache
|
92
|
database.queryresultCacheSize=500
|
93
|
#turn on or off the query result cache
|
94
|
database.queryCacheOn=true
|
95
|
#the time in milliseconds that an squery can run before metacat logs a warning
|
96
|
database.queryTimeWarnLimit=30000
|
97
|
#the time in milliseconds that an squery can run before metacat logs a warning
|
98
|
database.squeryTimeWarnLimit=30000
|
99
|
|
100
|
######## Authentication and LDAP ##############################################
|
101
|
|
102
|
auth.class=edu.ucsb.nceas.metacat.AuthLdap
|
103
|
# Use AuthStub to test and guarantee authentication
|
104
|
## auth.class=edu.ucsb.nceas.metacat.AuthStub
|
105
|
auth.timeoutMinutes=180
|
106
|
# auth.administrators=uid=jones,o=NCEAS,dc=ecoinformatics,dc=org
|
107
|
auth.administrators=
|
108
|
auth.url=ldap://ldap.ecoinformatics.org:389/
|
109
|
auth.surl=ldap://ldap.ecoinformatics.org:389/
|
110
|
auth.base=dc=ecoinformatics,dc=org
|
111
|
auth.allowedSubmitters=
|
112
|
auth.deniedSubmitters=
|
113
|
auth.moderators=cn=knb-prod,o=NCEAS,dc=ecoinformatics,dc=org:cn=esa-moderators,dc=ecoinformatics,dc=org
|
114
|
|
115
|
# time in milliseconds allowed for ldap server connections
|
116
|
ldap.connectTimeLimit=5000
|
117
|
# time in milliseconds allowed for ldap server searches
|
118
|
ldap.searchTimeLimit=30000
|
119
|
# count of return entries allowed for ldap server searches
|
120
|
ldap.searchCountLimit=30000
|
121
|
ldap.referral=follow
|
122
|
ldap.onlySecureConnection=false
|
123
|
ldap.onlySecureReferalsConnection=false
|
124
|
# LDAP templates
|
125
|
ldap.templates.stage=initregister
|
126
|
ldap.templates.header=genericHeader.tmpl
|
127
|
ldap.templates.footer=genericFooter.tmpl
|
128
|
ldap.templates.changePass=ldapChangePass.tmpl
|
129
|
ldap.templates.changePassSuccess=ldapChangePassSuccess.tmpl
|
130
|
ldap.templates.resetPass=ldapResetPass.tmpl
|
131
|
ldap.templates.resetPassSuccess=ldapResetPassSuccess.tmpl
|
132
|
ldap.templates.register=ldapRegister.tmpl
|
133
|
ldap.templates.registerFailed=ldapRegisterFailed.tmpl
|
134
|
ldap.templates.registerMatch=ldapRegisterMatch.tmpl
|
135
|
ldap.templates.registerSuccess=ldapRegisterSuccess.tmpl
|
136
|
ldap.templates.registerLter=ldapRegisterLter.tmpl
|
137
|
ldap.templates.success=ldapRegisterSuccess.tmpl
|
138
|
ldap.templates.failed=ldapRegisterFailed.tmpl
|
139
|
ldap.templates.mainServerFailure=ldapMainServerFailure.tmpl
|
140
|
ldap.templates.searchResults=searchResults.tmpl
|
141
|
|
142
|
############### Session Values ###############
|
143
|
session.timeoutMinutes=360
|
144
|
|
145
|
######## XML / EML #########################################
|
146
|
|
147
|
xml.saxparser=org.apache.xerces.parsers.SAXParser
|
148
|
|
149
|
######## Outgoing email #########################################
|
150
|
|
151
|
email.mailhost=localhost
|
152
|
email.sender=knb-software@nceas.ucsb.edu
|
153
|
email.admin=KNB Support
|
154
|
email.recipient=knb-software@nceas.ucsb.edu
|
155
|
|
156
|
######## Workflow engine section #########################################
|
157
|
executionEngine.endPointAddress=http://localhost:8080/axis2/services/KeplerWebService
|
158
|
|
159
|
workflowScheduler.authServiceUrl=http://localhost:8080/metacat/services/AuthenticationService
|
160
|
workflowScheduler.authorizationServiceUrl=http://localhost:8080/metacat/services/AuthorizationService
|
161
|
|
162
|
######## junit test section ################
|
163
|
|
164
|
test.printdebug=true
|
165
|
test.metacatUrl=http://indus.msi.ucsb.edu/metacat/metacat
|
166
|
test.contextUrl=http://indus.msi.ucsb.edu/metacat
|
167
|
test.metacatDeployDir=/usr/local/tomcat/webapps/metacat
|
168
|
test.mcUser=uid=kepler,o=unaffiliated,dc=ecoinformatics,dc=org
|
169
|
test.mcPassword=kepler
|
170
|
test.mcAnotherUser=uid=test,o=NCEAS,dc=ecoinformatics,dc=org
|
171
|
test.mcAnotherPassword=test
|
172
|
test.piscoUser=uid=piscotest,o=PISCO,dc=ecoinformatics,dc=org
|
173
|
test.piscoPassword=testPW
|
174
|
test.lterUser=uid=tmonkey,o=LTER,dc=ecoinformatics,dc=org
|
175
|
test.lterPassword=T3$tusr
|
176
|
test.testProperty=testing
|
177
|
|
178
|
######## Developers Section #########################################
|
179
|
|
180
|
# Set dev.runConfiguration to false to keep the system from walking you
|
181
|
# through the configuration utility every time you reinstall metacat.
|
182
|
# Instead, the system will use backed up configuration values. If you
|
183
|
# haven't ever configured the app (no backup files) the system will take
|
184
|
# you through the configuration.
|
185
|
dev.runConfiguration=true
|
186
|
|