1
|
<!--
|
2
|
* properties.html
|
3
|
*
|
4
|
* Authors: Chad Berkley
|
5
|
* Copyright: 2000 Regents of the University of California and the
|
6
|
* National Center for Ecological Analysis and Synthesis
|
7
|
* For Details: http://www.nceas.ucsb.edu/
|
8
|
* Created: 2001 January 23
|
9
|
* Version:
|
10
|
* File Info: '$ '
|
11
|
*
|
12
|
*
|
13
|
-->
|
14
|
<HTML>
|
15
|
<HEAD>
|
16
|
<TITLE>Metacat</TITLE>
|
17
|
<link rel="stylesheet" type="text/css" href="@docrooturl@default.css">
|
18
|
</HEAD>
|
19
|
<BODY>
|
20
|
<table width="100%">
|
21
|
<tr>
|
22
|
<td class="tablehead" colspan="2"><p class="label">Metacat Properties File</p></td>
|
23
|
<td class="tablehead" colspan="2" align="right">
|
24
|
<a href="./datafiles.html">Back</a> | <a href="./metacattour.html">Home</a> |
|
25
|
<a href="./unimplem.html">Next</a>
|
26
|
</td>
|
27
|
</tr>
|
28
|
</table>
|
29
|
<p>Metacat Server has many dynamically settable properties. All of them
|
30
|
are kept in the Metacat.properties file. Most can be set from within
|
31
|
the build file when you first install Metacat. The following is a summary
|
32
|
of each property and its function.</p>
|
33
|
<table border="1">
|
34
|
<tr>
|
35
|
<td><b>Property</b></td>
|
36
|
<td><b>Description</b></td>
|
37
|
<td><b>Possible or default value</b></td>
|
38
|
</tr>
|
39
|
<tr>
|
40
|
<td>user</td>
|
41
|
<td>The username that Metacat uses to access the backend database.</td>
|
42
|
<td> </td>
|
43
|
</tr>
|
44
|
<tr>
|
45
|
<td>password</td>
|
46
|
<td>The password that Metacat uses to access the backend database.</td>
|
47
|
<td> </td>
|
48
|
</tr>
|
49
|
<tr>
|
50
|
<td>defaultDB</td>
|
51
|
<td>The JDBC connection string that Metacat uses to connect to the backend
|
52
|
database.</td>
|
53
|
<td>jdbc:oracle:thin:@server.domain.com:1521:Metacat</td>
|
54
|
</tr>
|
55
|
<tr>
|
56
|
<td>dbDriver</td>
|
57
|
<td>The JDBC driver to be used to access the backend database.</td>
|
58
|
<td>oracle.jdbc.driver.OracleDriver</td>
|
59
|
</tr>
|
60
|
<tr>
|
61
|
<td>dbAdapter</td>
|
62
|
<td>The name of the RDBMS Adapter Class that Metacat uses to get specific
|
63
|
features in the backend database.</td>
|
64
|
<td>edu.ucsb.nceas.dbadapter.OracleAdapter</td>
|
65
|
</tr>
|
66
|
<tr>
|
67
|
<td>initialConnections</td>
|
68
|
<td>The number of initial connection that Metacat creates to the database.</td>
|
69
|
<td>5</td>
|
70
|
</tr>
|
71
|
<tr>
|
72
|
<td>incrementConnections</td>
|
73
|
<td>The number of connections that are created when Metacat needs more
|
74
|
connections.</td>
|
75
|
<td>5</td>
|
76
|
</tr>
|
77
|
<tr>
|
78
|
<td>maximumConnections</td>
|
79
|
<td>The maximum number of database connection Metacat can make.</td>
|
80
|
<td>10</td>
|
81
|
</tr>
|
82
|
<tr>
|
83
|
<td>resultStyleURL</td>
|
84
|
<td>The URL to the default stylesheet that Metacat should use to
|
85
|
transform XML documents when qformat is set to HTML. <br>
|
86
|
DEPRECATED</td>
|
87
|
<td>file:///opt/tomcat/webapps/knb/style/resultset.xsl</td>
|
88
|
</tr>
|
89
|
<tr>
|
90
|
<td>xmlcatalogfile</td>
|
91
|
<td>The default file type catalog file location.<br>
|
92
|
DEPRECATED</td>
|
93
|
<td>/opt/tomcat/webapps/xmltodb/catalog.txt</td>
|
94
|
</tr>
|
95
|
<tr>
|
96
|
<td>defaultdatapath</td>
|
97
|
<td>DEPRECATED</td>
|
98
|
<td>C:\Temp\</td>
|
99
|
</tr>
|
100
|
<tr>
|
101
|
<td>executescript</td>
|
102
|
<td>DEPRECATED</td>
|
103
|
<td>test.bat</td>
|
104
|
</tr>
|
105
|
<tr>
|
106
|
<td>sitecode</td>
|
107
|
<td>The sitecode that is used to create accession numbers.<br>
|
108
|
DEPRECATED</td>
|
109
|
<td>nceas</td>
|
110
|
</tr>
|
111
|
<tr>
|
112
|
<td>accNumSeparator</td>
|
113
|
<td>The separator that is used to separate the three parts
|
114
|
of the accession number: codename, sequence and revision number.
|
115
|
It should be synchronized with the Client application.</td>
|
116
|
<td>. (period)</td>
|
117
|
</tr>
|
118
|
<tr>
|
119
|
<td>saxparser</td>
|
120
|
<td>The SAX parser to be used to <a href="./saxparser.html">parse</a>
|
121
|
XML documents.</td>
|
122
|
<td>org.apache.xerces.parsers.SAXParser</td>
|
123
|
</tr>
|
124
|
<tr>
|
125
|
<td>servletpath</td>
|
126
|
<td>The path on the local machine to the Metacat Servlet.</td>
|
127
|
<td>/knb/servlet/metacat</td>
|
128
|
</tr>
|
129
|
<tr>
|
130
|
<td>htmlpath</td>
|
131
|
<td>The path to the HTML server for this Metacat context. This is where
|
132
|
the Metacat web interface would be served from.</td>
|
133
|
<td>/knb</td>
|
134
|
</tr>
|
135
|
<tr>
|
136
|
<td>packagedoctype</td>
|
137
|
<td>The doctype of a package file. The system will only recognize documents
|
138
|
of this type as a <a href="./packages.html">Package</a> files.</td>
|
139
|
<td>-//NCEAS//eml-dataset-2.0//EN</td>
|
140
|
</tr>
|
141
|
<tr>
|
142
|
<td>accessdoctype</td>
|
143
|
<td>The doctype of an access control list (ACL) file. The system will
|
144
|
only recognize documents of this type as an <a href="./acontrol.html">Access</a>
|
145
|
files.</td>
|
146
|
<td>-//NCEAS//eml-access-2.0//EN</td>
|
147
|
</tr>
|
148
|
<tr>
|
149
|
<td>server</td>
|
150
|
<td>The server on which this Metacat server runs.</td>
|
151
|
<td>dev.nceas.ucsb.edu:8090</td>
|
152
|
</tr>
|
153
|
<tr>
|
154
|
<td>authclass</td>
|
155
|
<td>The authorization plugin to use. In this example, LDAP.</td>
|
156
|
<td>edu.ucsb.nceas.metacat.AuthLdap</td>
|
157
|
</tr>
|
158
|
<tr>
|
159
|
<td>ldapurl</td>
|
160
|
<td>The path to your LDAP server (if LDAP authentication is being used.</td>
|
161
|
<td>ldap://ldap.nceas.ucsb.edu:389/</td>
|
162
|
</tr>
|
163
|
<tr>
|
164
|
<td>ldapsurl</td>
|
165
|
<td>The path to your LDAP server with SSL support.
|
166
|
(if LDAP authentication is being used and if your LDAT server is set
|
167
|
with SSL support.) 2 ports are used to listen: 389 for plain sockets
|
168
|
and 636 for SSL Sockect. If your LDAP server is not set to support SSL
|
169
|
this property should be the same as ldapurl, else Metacat will
|
170
|
retieve an error.</td>
|
171
|
<td>ldap://ldap.nceas.ucsb.edu:636/</td>
|
172
|
</tr>
|
173
|
<tr>
|
174
|
<td>ldapbase</td>
|
175
|
<td>LDAP base parameters for the LDAP server.</td>
|
176
|
<td>o=NCEAS,c=US</td>
|
177
|
</tr>
|
178
|
<tr>
|
179
|
<td>deltaT</td>
|
180
|
<td>The default delta T used for <a href="./replication.html">replication</a>.</td>
|
181
|
<td>60</td>
|
182
|
</tr>
|
183
|
<tr>
|
184
|
<td>replicationpath</td>
|
185
|
<td>The relative path to the replication servlet.</td>
|
186
|
<td>/knb/servlet/replication</td>
|
187
|
</tr>
|
188
|
<tr>
|
189
|
<td>replicationlog</td>
|
190
|
<td>Location of the replication log file.</td>
|
191
|
<td>/logs/Metacatreplication.log</td>
|
192
|
</tr>
|
193
|
<tr>
|
194
|
<td>dtdPath</td>
|
195
|
<td>Path to which DTDs are uploaded.</td>
|
196
|
<td>/opt/tomcat/webapps/knb/dtd/</td>
|
197
|
</tr>
|
198
|
<tr>
|
199
|
<td>dtdURL</td>
|
200
|
<td>The HTTP accessable URL to the DTD files specified in dtdPath.</td>
|
201
|
<td>http://server.domain.com/knb/dtd/</td>
|
202
|
</tr>
|
203
|
<tr>
|
204
|
<td>datafilepath</td>
|
205
|
<td>The path to which you want data files uploaded.</td>
|
206
|
<td>/opt/tomcat/webapps/knb/data</td>
|
207
|
</tr>
|
208
|
<tr>
|
209
|
<td>dataport</td>
|
210
|
<td>DEPRECATED</td>
|
211
|
<td>4444</td>
|
212
|
</tr>
|
213
|
|
214
|
</table>
|
215
|
|
216
|
<br>
|
217
|
<a href="./datafiles.html">Back</a> | <a href="./metacattour.html">Home</a> |
|
218
|
<a href="./unimplem.html">Next</a>
|
219
|
|
220
|
|
221
|
</BODY>
|
222
|
</HTML>
|