1 |
2737
|
jones
|
# Ant build properties files for the metacat build
|
2 |
1929
|
brooke
|
|
3 |
|
|
# Tomcat Properties
|
4 |
3994
|
berkley
|
tomcat=/usr/local/devtools/jakarta-tomcat
|
5 |
|
|
deploy.dir=/var/www/org.ecoinformatics.knb
|
6 |
2737
|
jones
|
#deploy.dir=${tomcat}/webapps
|
7 |
|
|
|
8 |
3105
|
perry
|
# Tomcat version - tomcat4 or tomcat5
|
9 |
2468
|
sgarg
|
tomcatversion=tomcat5
|
10 |
1929
|
brooke
|
|
11 |
2737
|
jones
|
# Servlet properties
|
12 |
3994
|
berkley
|
metacat.context=knb
|
13 |
2737
|
jones
|
authority.context=authority
|
14 |
|
|
|
15 |
1929
|
brooke
|
# Server Properties
|
16 |
3994
|
berkley
|
config.hostname=knb.ecoinformatics.org
|
17 |
2737
|
jones
|
config.port=80
|
18 |
3370
|
tao
|
config.port.https=443
|
19 |
3208
|
tao
|
# Server is the domain name for replication purpose, which should be with https port
|
20 |
|
|
server=${config.hostname}:${config.port.https}
|
21 |
|
|
httpserver=${config.hostname}:${config.port}
|
22 |
2974
|
jones
|
http.protocol=http
|
23 |
3208
|
tao
|
config.metacatserver=${http.protocol}://${httpserver}/${metacat.context}/metacat
|
24 |
2737
|
jones
|
config.lsidauthority=ecoinformatics.org
|
25 |
1929
|
brooke
|
|
26 |
|
|
# Installation directory for registry CGI scripts
|
27 |
2071
|
jones
|
inst.cgi.dir=/var/www/cgi-knb
|
28 |
3208
|
tao
|
cgi-prefix=http://${httpserver}/cgi-bin
|
29 |
1929
|
brooke
|
ldapUrl=ldap://ldap.ecoinformatics.org/dc=ecoinformatics,dc=org
|
30 |
|
|
|
31 |
|
|
# Select the database to use for metadata storage
|
32 |
|
|
# Valid values are oracle, postgresql, sqlserver
|
33 |
2737
|
jones
|
database=postgresql
|
34 |
1929
|
brooke
|
|
35 |
|
|
# The JDBC connection string used to connect to the database
|
36 |
2737
|
jones
|
#jdbc-connect=jdbc:oracle:thin:@metacat.nceas.ucsb.edu:1521:knb
|
37 |
2071
|
jones
|
#jdbc-connect=jdbc:postgresql://localhost/postgres
|
38 |
1929
|
brooke
|
#jdbc-connect=jdbc:microsoft:sqlserver://fatali.nceas.ucsb.edu:1433
|
39 |
2737
|
jones
|
jdbc-connect=jdbc:postgresql://localhost/metacat
|
40 |
1929
|
brooke
|
|
41 |
2071
|
jones
|
# The base directory for locating JDBC jar files (not needed for postgresql)
|
42 |
2737
|
jones
|
jdbc_base=./lib
|
43 |
1929
|
brooke
|
#jdbc-base=F:\\Program Files\\Microsoft SQL Server 2000 Driver for JDBC\\lib
|
44 |
|
|
|
45 |
|
|
# Metacat database user and password and location of file stores
|
46 |
2460
|
sgarg
|
user=metacat
|
47 |
3994
|
berkley
|
password=yourPasswordHere
|
48 |
1943
|
brooke
|
datafilepath=/var/metacat/data
|
49 |
|
|
inlinedatafilepath=/var/metacat/inline-data
|
50 |
1929
|
brooke
|
|
51 |
|
|
# CVS access to retrieve latest EML
|
52 |
2213
|
jones
|
cvsroot=:ext:${env.USER}@cvs.ecoinformatics.org:/cvs
|
53 |
1929
|
brooke
|
|
54 |
|
|
# Configure the installed skins, and select the default
|
55 |
3994
|
berkley
|
default-style=default
|
56 |
1929
|
brooke
|
|
57 |
|
|
# this is the url to the web context root for the knb site.
|
58 |
|
|
# It is used for the qformat=knb skin only
|
59 |
1943
|
brooke
|
knb-site-url=http://knb.ecoinformatics.org
|
60 |
1929
|
brooke
|
|
61 |
2550
|
tao
|
#Turn off or on for timed replication
|
62 |
3139
|
tao
|
#valide value is true or false
|
63 |
|
|
timedreplication=false
|
64 |
2550
|
tao
|
|
65 |
3231
|
tao
|
#replication log directory
|
66 |
|
|
#log.dir=/var/log/tomcat
|
67 |
|
|
log.dir=${tomcat}/logs
|
68 |
|
|
|
69 |
2550
|
tao
|
# The time for starting first timed replication if timedreplication is on
|
70 |
2553
|
tao
|
# The value should be in SHORT format (e.g. 2:00 AM) without date
|
71 |
2550
|
tao
|
# The first timed replication will start at the setting time which is
|
72 |
|
|
# shortest to the tomcat start time.
|
73 |
2553
|
tao
|
# Fox example, if the setting is 2:00 AM and tomcat was started at 8:00 AM.
|
74 |
|
|
# the first timed replication will start at 2:00 AM in the second day
|
75 |
|
|
# If the setting is 2:00 PM and tomcat was started at 8:00 AM, the first
|
76 |
|
|
# replication will start at 2:00 PM in the same day.
|
77 |
|
|
firsttimedreplication=10:00 PM
|
78 |
2550
|
tao
|
|
79 |
|
|
# The interval to next timed replication if timedreplication is on
|
80 |
2569
|
tao
|
# The value is in millisecond and default value is 48 hours
|
81 |
2550
|
tao
|
timedreplicationinterval=172800000
|
82 |
|
|
|
83 |
1929
|
brooke
|
forcereplicationwaitingtime=30000
|
84 |
|
|
|
85 |
2308
|
jones
|
# Administrator accounts, in a colon separated list
|
86 |
|
|
administrators=uid=jones,o=NCEAS,dc=ecoinformatics,dc=org
|
87 |
2577
|
sgarg
|
|
88 |
|
|
# Moderator accounts, in a colon seperated list
|
89 |
|
|
moderators=cn=knb-prod,o=NCEAS,dc=ecoinformatics,dc=org
|
90 |
|
|
|
91 |
|
|
# Specify the list of users which should be allowed to submit documents.
|
92 |
|
|
# If no value is specified, all users will be allowed to submit documents.
|
93 |
|
|
allowedSubmitters=
|
94 |
|
|
|
95 |
|
|
# Specify the list of users which should not be allowed to submit documents.
|
96 |
|
|
# If no value is specified, all users will be allowed to submit documents.
|
97 |
|
|
deniedSubmitters=
|
98 |
|
|
|
99 |
2737
|
jones
|
## Additional configuration options
|
100 |
|
|
# you probably don't want or need to change these
|
101 |
|
|
config.metadataLabelLsid=${config.lsidauthority}
|
102 |
|
|
build.dir=build
|
103 |
|
|
lsid.build.dir=${build.dir}/lsid
|
104 |
|
|
lib.dir=lib
|
105 |
|
|
lsid.lib.dir=${lib.dir}/lsid_lib
|
106 |
|
|
lsid.classes.dir=edu/ucsb/nceas/metacat/lsid
|
107 |
|
|
conf.dir=lib/lsid_conf
|
108 |
|
|
services.dir=${conf.dir}/services
|
109 |
|
|
webinf.dir=${conf.dir}/WEB-INF
|
110 |
|
|
|
111 |
|
|
compile.debug=true
|
112 |
|
|
compile.deprecation=false
|
113 |
|
|
compile.optimize=true
|
114 |
2872
|
sgarg
|
|
115 |
|
|
# paths to be indexed when document is inserted. these are the paths which will be searched often
|
116 |
3785
|
tao
|
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,dataset/dataTable/physical/distribution/online/url/@function,dataset/spatialRaster/physical/distribution/online/url/@function
|
117 |
2872
|
sgarg
|
|
118 |
2964
|
tao
|
# Flag to install ecogird or not. Possible values are true or false
|
119 |
2958
|
tao
|
install.ecogrid=false
|
120 |
3034
|
perry
|
|
121 |
2964
|
tao
|
# The metacat current dir's abolute value. If you set install.ecogrid=false, this variable
|
122 |
|
|
# do NOT need to be configured
|
123 |
3994
|
berkley
|
metacat.dir=/home/tao/project/metacat
|