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=80
|
11
|
server.httpSSLPort=443
|
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.numberOfIndexingThreads=5
|
71
|
database.indexingTimerTaskTime=604800000
|
72
|
database.indexingInitialDelay=3600000
|
73
|
database.maximumIndexDelay=5000
|
74
|
database.runDBConnectionRecycleThread=off
|
75
|
database.cycleTimeOfDBConnection=30000
|
76
|
database.queryignoredparams=enableediting,foo
|
77
|
database.usexmlindex=true
|
78
|
# used for the setting the size of resultset for applications like morpho
|
79
|
database.appResultsetSize=7000
|
80
|
# used for the setting the size of resultset for searches done using browsers
|
81
|
database.webResultsetSize=7000
|
82
|
# the value of xml_returnfield.usage_count should be more than this value
|
83
|
# for records to be entered into xml_queryresult. so if you want results for
|
84
|
# any combination of returnfields to be stored in xml_queryresult only when
|
85
|
# that combination has been requested 50 times, set this value to 50
|
86
|
database.xmlReturnfieldCount=0
|
87
|
# used for the setting the size of queryresult_string in queryresult table.
|
88
|
# the limit is 4000 for oracle
|
89
|
database.queryresultStringLength=500000
|
90
|
#the size of query result cache
|
91
|
database.queryresultCacheSize=500
|
92
|
#turn on or off the query result cache
|
93
|
database.queryCacheOn=true
|
94
|
|
95
|
######## Authentication and LDAP ##############################################
|
96
|
|
97
|
auth.class=edu.ucsb.nceas.metacat.AuthLdap
|
98
|
# Use AuthStub to test and guarantee authentication
|
99
|
## auth.class=edu.ucsb.nceas.metacat.AuthStub
|
100
|
auth.timeoutMinutes=180
|
101
|
# auth.administrators=uid=jones,o=NCEAS,dc=ecoinformatics,dc=org
|
102
|
auth.administrators=
|
103
|
auth.url=ldap://ldap.ecoinformatics.org:389/
|
104
|
auth.surl=ldap://ldap.ecoinformatics.org:389/
|
105
|
auth.base=dc=ecoinformatics,dc=org
|
106
|
auth.allowedSubmitters=
|
107
|
auth.deniedSubmitters=
|
108
|
auth.moderators=cn=knb-prod,o=NCEAS,dc=ecoinformatics,dc=org:cn=esa-moderators,dc=ecoinformatics,dc=org
|
109
|
|
110
|
# time in milliseconds allowed for ldap server connections
|
111
|
ldap.connectTimeLimit=5000
|
112
|
# time in milliseconds allowed for ldap server searches
|
113
|
ldap.searchTimeLimit=30000
|
114
|
# count of return entries allowed for ldap server searches
|
115
|
ldap.searchCountLimit=30000
|
116
|
ldap.referral=follow
|
117
|
ldap.onlySecureConnection=false
|
118
|
ldap.onlySecureReferalsConnection=false
|
119
|
# LDAP templates
|
120
|
ldap.templates.stage=initregister
|
121
|
ldap.templates.header=genericHeader.tmpl
|
122
|
ldap.templates.footer=genericFooter.tmpl
|
123
|
ldap.templates.changePass=ldapChangePass.tmpl
|
124
|
ldap.templates.changePassSuccess=ldapChangePassSuccess.tmpl
|
125
|
ldap.templates.resetPass=ldapResetPass.tmpl
|
126
|
ldap.templates.resetPassSuccess=ldapResetPassSuccess.tmpl
|
127
|
ldap.templates.register=ldapRegister.tmpl
|
128
|
ldap.templates.registerFailed=ldapRegisterFailed.tmpl
|
129
|
ldap.templates.registerMatch=ldapRegisterMatch.tmpl
|
130
|
ldap.templates.registerSuccess=ldapRegisterSuccess.tmpl
|
131
|
ldap.templates.registerLter=ldapRegisterLter.tmpl
|
132
|
ldap.templates.success=ldapRegisterSuccess.tmpl
|
133
|
ldap.templates.failed=ldapRegisterFailed.tmpl
|
134
|
ldap.templates.mainServerFailure=ldapMainServerFailure.tmpl
|
135
|
ldap.templates.searchResults=searchResults.tmpl
|
136
|
|
137
|
############### Session Values ###############
|
138
|
session.timeoutMinutes=360
|
139
|
|
140
|
######## XML / EML #########################################
|
141
|
|
142
|
xml.saxparser=org.apache.xerces.parsers.SAXParser
|
143
|
|
144
|
######## Outgoing email #########################################
|
145
|
|
146
|
email.mailhost=localhost
|
147
|
email.sender=knb-software@nceas.ucsb.edu
|
148
|
email.admin=KNB Support
|
149
|
email.recipient=knb-software@nceas.ucsb.edu
|
150
|
|
151
|
######## Workflow engine section #########################################
|
152
|
executionEngine.endPointAddress=http://localhost:8080/axis2/services/KeplerWebService
|
153
|
|
154
|
workflowScheduler.authServiceUrl=http://indus.msi.ucsb.edu/knb/services/AuthenticationService
|
155
|
workflowScheduler.authorizationServiceUrl=http://indus.msi.ucsb.edu/knb/services/AuthorizationService
|
156
|
|
157
|
######## junit test section ################
|
158
|
|
159
|
test.printdebug=true
|
160
|
test.metacatUrl=http://indus.msi.ucsb.edu/knb/metacat
|
161
|
test.contextUrl=http://indus.msi.ucsb.edu/knb
|
162
|
test.metacatDeployDir=/usr/local/tomcat/webapps/knb
|
163
|
test.mcUser=uid=kepler,o=unaffiliated,dc=ecoinformatics,dc=org
|
164
|
test.mcPassword=kepler
|
165
|
test.mcAnotherUser=uid=test,o=NCEAS,dc=ecoinformatics,dc=org
|
166
|
test.mcAnotherPassword=test
|
167
|
test.piscoUser=uid=piscotest,o=PISCO,dc=ecoinformatics,dc=org
|
168
|
test.piscoPassword=testPW
|
169
|
test.lterUser=uid=tmonkey,o=LTER,dc=ecoinformatics,dc=org
|
170
|
test.lterPassword=T3$tusr
|
171
|
test.testProperty=testing
|
172
|
|
173
|
######## Developers Section #########################################
|
174
|
|
175
|
# Set dev.runConfiguration to false to keep the system from walking you
|
176
|
# through the configuration utility every time you reinstall metacat.
|
177
|
# Instead, the system will use backed up configuration values. If you
|
178
|
# haven't ever configured the app (no backup files) the system will take
|
179
|
# you through the configuration.
|
180
|
dev.runConfiguration=true
|
181
|
|