Project

General

Profile

1 2012 cjones
<!DOCTYPE web-app
2
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
3
        "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
4
5
<web-app>
6 3104 perry
7
 <display-name>Metacat</display-name>
8
9 2012 cjones
    <context-param>
10
      <param-name>jones</param-name>
11
      <param-value>jones@nceas.ucsb.edu</param-value>
12
      <description>
13
      </description>
14
    </context-param>
15 2799 tao
16 5027 daigle
    <context-param>
17
      <param-name>configFileName</param-name>
18
      <param-value>metacat.properties</param-value>
19
      <description>The main configuration file for application</description>
20
    </context-param>
21 3104 perry
22 5750 berkley
  <!-- D1 filters -->
23
  <filter>
24
    <filter-name>D1URLFilter</filter-name>
25
    <filter-class>edu.ucsb.nceas.metacat.restservice.D1URLFilter</filter-class>
26
  </filter>
27
28
  <filter-mapping>
29
    <filter-name>D1URLFilter</filter-name>
30
    <url-pattern>/d1/*</url-pattern>
31
    <dispatcher>REQUEST</dispatcher>
32
  </filter-mapping>
33 3104 perry
34 2012 cjones
    <servlet>
35
      <servlet-name>metacat</servlet-name>
36
      <servlet-class>edu.ucsb.nceas.metacat.MetaCatServlet</servlet-class>
37
      <init-param>
38
        <param-name>debug</param-name>
39
        <param-value>1</param-value>
40
      </init-param>
41
      <init-param>
42
        <param-name>listings</param-name>
43
        <param-value>true</param-value>
44
      </init-param>
45 3104 perry
      <load-on-startup>2</load-on-startup>
46 2012 cjones
    </servlet>
47
48 4080 daigle
    <servlet>
49 5027 daigle
      <servlet-name>MetacatAdmin</servlet-name>
50
      <servlet-class>edu.ucsb.nceas.metacat.admin.MetacatAdminServlet</servlet-class>
51 4080 daigle
      <init-param>
52
        <param-name>debug</param-name>
53
        <param-value>1</param-value>
54
      </init-param>
55
      <init-param>
56
        <param-name>listings</param-name>
57
        <param-value>true</param-value>
58
      </init-param>
59
      <load-on-startup>3</load-on-startup>
60
    </servlet>
61
62 2012 cjones
     <servlet>
63
      <servlet-name>replication</servlet-name>
64 5027 daigle
      <servlet-class>edu.ucsb.nceas.metacat.replication.ReplicationServlet</servlet-class>
65 2012 cjones
      <init-param>
66
        <param-name>debug</param-name>
67
        <param-value>1</param-value>
68
      </init-param>
69
      <init-param>
70
        <param-name>listings</param-name>
71
        <param-value>true</param-value>
72
      </init-param>
73 3104 perry
      <load-on-startup>3</load-on-startup>
74 2012 cjones
    </servlet>
75
76 2295 sgarg
    <servlet>
77
      <servlet-name>HarvesterRegistrationLogin</servlet-name>
78
      <servlet-class>edu.ucsb.nceas.metacat.harvesterClient.HarvesterRegistrationLogin</servlet-class>
79
      <init-param>
80
        <param-name>debug</param-name>
81
        <param-value>1</param-value>
82
      </init-param>
83
      <init-param>
84
        <param-name>listings</param-name>
85
        <param-value>true</param-value>
86
      </init-param>
87 3104 perry
      <load-on-startup>3</load-on-startup>
88 2295 sgarg
    </servlet>
89
90
    <servlet>
91
      <servlet-name>HarvesterRegistration</servlet-name>
92
      <servlet-class>edu.ucsb.nceas.metacat.harvesterClient.HarvesterRegistration</servlet-class>
93
      <init-param>
94
        <param-name>debug</param-name>
95
        <param-value>1</param-value>
96
      </init-param>
97
      <init-param>
98
        <param-name>listings</param-name>
99
        <param-value>true</param-value>
100
      </init-param>
101 3104 perry
      <load-on-startup>3</load-on-startup>
102 2295 sgarg
    </servlet>
103
104 2742 costa
    <servlet>
105
        <servlet-name>AdvancedSearchServlet</servlet-name>
106
        <servlet-class>edu.ucsb.nceas.metacat.advancedsearch.AdvancedSearchServlet</servlet-class>
107 3104 perry
        <load-on-startup>3</load-on-startup>
108 2742 costa
    </servlet>
109
110 4078 tao
    <!--
111 2383 costa
    <servlet>
112
      <servlet-name>HarvesterServlet</servlet-name>
113
      <servlet-class>edu.ucsb.nceas.metacat.harvesterClient.HarvesterServlet</servlet-class>
114
      <init-param>
115
        <param-name>debug</param-name>
116
        <param-value>1</param-value>
117
      </init-param>
118
      <init-param>
119
        <param-name>listings</param-name>
120
        <param-value>true</param-value>
121
      </init-param>
122 3104 perry
      <load-on-startup>3</load-on-startup>
123 2383 costa
    </servlet>
124 4080 daigle
    -->
125
126 4943 costa
    <!--
127
    <servlet>
128
      <servlet-name>DataProvider</servlet-name>
129
      <description>Processes OAI verbs for Metacat OAI-PMH Data Provider (MODP)
130
      </description>
131
      <servlet-class>edu.ucsb.nceas.metacat.oaipmh.provider.server.OAIHandler</servlet-class>
132
      <load-on-startup>4</load-on-startup>
133
    </servlet>
134
    -->
135
136 3993 berkley
<servlet>
137 3104 perry
      <servlet-name>AxisServlet</servlet-name>
138
      <display-name>Apache-Axis Servlet</display-name>
139
      <servlet-class>
140
          org.apache.axis.transport.http.AxisServlet
141
      </servlet-class>
142
      <load-on-startup>3</load-on-startup>
143
    </servlet>
144 2383 costa
145 2799 tao
  <servlet>
146
    <servlet-name>AdminServlet</servlet-name>
147
    <display-name>Axis Admin Servlet</display-name>
148
    <servlet-class>
149
        org.apache.axis.transport.http.AdminServlet
150
    </servlet-class>
151
    <load-on-startup>100</load-on-startup>
152
  </servlet>
153
154
  <servlet>
155
    <servlet-name>SOAPMonitorService</servlet-name>
156
    <display-name>SOAPMonitorService</display-name>
157
    <servlet-class>
158
        org.apache.axis.monitor.SOAPMonitorService
159
    </servlet-class>
160
    <init-param>
161
      <param-name>SOAPMonitorPort</param-name>
162
      <param-value>5001</param-value>
163
    </init-param>
164
    <load-on-startup>100</load-on-startup>
165
  </servlet>
166
167 5211 jones
<!-- REST Servlet -->
168
    <servlet>
169
      <servlet-name>RestServlet</servlet-name>
170
      <servlet-class>edu.ucsb.nceas.metacat.restservice.RestServlet</servlet-class>
171
      <init-param>
172
        <param-name>debug</param-name>
173
        <param-value>1</param-value>
174
      </init-param>
175
      <init-param>
176
        <param-name>listings</param-name>
177
        <param-value>true</param-value>
178
      </init-param>
179
      <load-on-startup>10</load-on-startup>
180
    </servlet>
181 6253 leinfelder
182 6264 leinfelder
	<!-- CN REST Servlet -->
183 6253 leinfelder
    <servlet>
184
      <servlet-name>CNRestServlet</servlet-name>
185
      <servlet-class>edu.ucsb.nceas.metacat.restservice.CNRestServlet</servlet-class>
186
      <init-param>
187
        <param-name>debug</param-name>
188
        <param-value>1</param-value>
189
      </init-param>
190
      <init-param>
191
        <param-name>listings</param-name>
192
        <param-value>true</param-value>
193
      </init-param>
194
      <load-on-startup>15</load-on-startup>
195 6264 leinfelder
    </servlet>
196
197
    <!-- MN REST Servlet -->
198
    <servlet>
199
      <servlet-name>MNRestServlet</servlet-name>
200
      <servlet-class>edu.ucsb.nceas.metacat.restservice.MNRestServlet</servlet-class>
201
      <init-param>
202
        <param-name>debug</param-name>
203
        <param-value>1</param-value>
204
      </init-param>
205
      <init-param>
206
        <param-name>listings</param-name>
207
        <param-value>true</param-value>
208
      </init-param>
209
      <load-on-startup>20</load-on-startup>
210
    </servlet>
211 3194 berkley
212 2012 cjones
    <servlet-mapping>
213
        <servlet-name>metacat</servlet-name>
214
        <url-pattern>/metacat</url-pattern>
215
    </servlet-mapping>
216 3243 jones
217
    <servlet-mapping>
218
        <servlet-name>metacat</servlet-name>
219
        <url-pattern>/metacat/*</url-pattern>
220
    </servlet-mapping>
221 2511 tao
222
    <servlet-mapping>
223 3185 tao
        <servlet-name>metacat</servlet-name>
224
        <url-pattern>/servlet/metacat</url-pattern>
225
    </servlet-mapping>
226 4080 daigle
227
228
    <servlet-mapping>
229 5027 daigle
        <servlet-name>MetacatAdmin</servlet-name>
230 4080 daigle
        <url-pattern>/admin</url-pattern>
231
    </servlet-mapping>
232 5027 daigle
233 4080 daigle
    <servlet-mapping>
234 2511 tao
        <servlet-name>replication</servlet-name>
235 2575 tao
        <url-pattern>replication</url-pattern>
236
    </servlet-mapping>
237
238
    <servlet-mapping>
239
        <servlet-name>replication</servlet-name>
240
        <url-pattern>/servlet/replication</url-pattern>
241 2511 tao
    </servlet-mapping>
242 2012 cjones
243 2295 sgarg
    <servlet-mapping>
244
        <servlet-name>HarvesterRegistrationLogin</servlet-name>
245
        <url-pattern>/harvesterRegistrationLogin</url-pattern>
246
    </servlet-mapping>
247
248
    <servlet-mapping>
249
        <servlet-name>HarvesterRegistration</servlet-name>
250
        <url-pattern>/harvesterRegistration</url-pattern>
251
    </servlet-mapping>
252
253 2742 costa
    <servlet-mapping>
254
        <servlet-name>AdvancedSearchServlet</servlet-name>
255
        <url-pattern>/advancedSearchServlet</url-pattern>
256
    </servlet-mapping>
257 2799 tao
258
    <servlet-mapping>
259
    <servlet-name>AxisServlet</servlet-name>
260
    <url-pattern>/servlet/AxisServlet</url-pattern>
261
  </servlet-mapping>
262 2742 costa
263 2799 tao
  <servlet-mapping>
264
    <servlet-name>AxisServlet</servlet-name>
265
    <url-pattern>*.jws</url-pattern>
266
  </servlet-mapping>
267
268
  <servlet-mapping>
269
    <servlet-name>AxisServlet</servlet-name>
270
    <url-pattern>/services/*</url-pattern>
271
  </servlet-mapping>
272
273
  <servlet-mapping>
274
    <servlet-name>SOAPMonitorService</servlet-name>
275
    <url-pattern>/SOAPMonitor</url-pattern>
276
  </servlet-mapping>
277
278 6138 cjones
  <servlet-mapping>
279
    <servlet-name>RestServlet</servlet-name>
280
    <url-pattern>/d1/object/*</url-pattern>
281
  </servlet-mapping>
282
283
  <servlet-mapping>
284
    <servlet-name>RestServlet</servlet-name>
285
    <url-pattern>/d1/formats/*</url-pattern>
286
  </servlet-mapping>
287
288
  <servlet-mapping>
289
    <servlet-name>RestServlet</servlet-name>
290
    <url-pattern>/d1/replicate/*</url-pattern>
291
  </servlet-mapping>
292
293
  <servlet-mapping>
294
    <servlet-name>RestServlet</servlet-name>
295
    <url-pattern>/d1/meta/*</url-pattern>
296
  </servlet-mapping>
297 5211 jones
298 6138 cjones
  <servlet-mapping>
299
    <servlet-name>RestServlet</servlet-name>
300
    <url-pattern>/d1/session/*</url-pattern>
301
  </servlet-mapping>
302 5211 jones
303 6138 cjones
  <servlet-mapping>
304
    <servlet-name>RestServlet</servlet-name>
305
    <url-pattern>/d1/identifier/*</url-pattern>
306
  </servlet-mapping>
307
308
  <servlet-mapping>
309
    <servlet-name>RestServlet</servlet-name>
310
    <url-pattern>/d1/log/*</url-pattern>
311
  </servlet-mapping>
312
313
  <servlet-mapping>
314
    <servlet-name>RestServlet</servlet-name>
315
    <url-pattern>/d1/checksum/*</url-pattern>
316
  </servlet-mapping>
317
318
  <servlet-mapping>
319
    <servlet-name>RestServlet</servlet-name>
320
    <url-pattern>/d1/monitor/*</url-pattern>
321
  </servlet-mapping>
322 5211 jones
323 6253 leinfelder
	<!-- CN REST services -->
324
	<!-- CNCore-->
325
	<servlet-mapping>
326
		<servlet-name>CNRestServlet</servlet-name>
327
		<url-pattern>/d1/cn/object/*</url-pattern>
328
	</servlet-mapping>
329
	<servlet-mapping>
330
		<servlet-name>CNRestServlet</servlet-name>
331
		<url-pattern>/d1/cn/formats/*</url-pattern>
332
	</servlet-mapping>
333
	<servlet-mapping>
334
		<servlet-name>CNRestServlet</servlet-name>
335
		<url-pattern>/d1/cn/log/*</url-pattern>
336
	</servlet-mapping>
337
	<servlet-mapping>
338
		<servlet-name>CNRestServlet</servlet-name>
339
		<url-pattern>/d1/cn/reserve/*</url-pattern>
340
	</servlet-mapping>
341
	<servlet-mapping>
342
		<servlet-name>CNRestServlet</servlet-name>
343
		<url-pattern>/d1/cn/meta/*</url-pattern>
344
	</servlet-mapping>
345
	<!-- CNRead-->
346
	<servlet-mapping>
347
		<servlet-name>CNRestServlet</servlet-name>
348
		<url-pattern>/d1/cn/resolve/*</url-pattern>
349
	</servlet-mapping>
350
	<servlet-mapping>
351
		<servlet-name>CNRestServlet</servlet-name>
352
		<url-pattern>/d1/cn/assertRelation/*</url-pattern>
353
	</servlet-mapping>
354
	<servlet-mapping>
355
		<servlet-name>CNRestServlet</servlet-name>
356
		<url-pattern>/d1/cn/checksum/*</url-pattern>
357
	</servlet-mapping>
358
	<!-- CNAuthorization -->
359
	<servlet-mapping>
360
		<servlet-name>CNRestServlet</servlet-name>
361
		<url-pattern>/d1/cn/owner/*</url-pattern>
362
	</servlet-mapping>
363
	<servlet-mapping>
364
		<servlet-name>CNRestServlet</servlet-name>
365
		<url-pattern>/d1/cn/isAuthorized/*</url-pattern>
366
	</servlet-mapping>
367
	<servlet-mapping>
368
		<servlet-name>CNRestServlet</servlet-name>
369
		<url-pattern>/d1/cn/accessRules/*</url-pattern>
370
	</servlet-mapping>
371
	<!-- CNReplication -->
372
	<servlet-mapping>
373
		<servlet-name>CNRestServlet</servlet-name>
374
		<url-pattern>/d1/cn/notify/*</url-pattern>
375
	</servlet-mapping>
376
	<servlet-mapping>
377
		<servlet-name>CNRestServlet</servlet-name>
378
		<url-pattern>/d1/cn/meta/replication/*</url-pattern>
379
	</servlet-mapping>
380
	<servlet-mapping>
381
		<servlet-name>CNRestServlet</servlet-name>
382
		<url-pattern>/d1/cn/meta/policy/*</url-pattern>
383
	</servlet-mapping>
384
385 6264 leinfelder
	<!-- MN REST services -->
386
	<!-- MNCore-->
387
	<servlet-mapping>
388
		<servlet-name>MNRestServlet</servlet-name>
389
		<url-pattern>/d1/mn/monitor/*</url-pattern>
390
	</servlet-mapping>
391
	<servlet-mapping>
392
		<servlet-name>MNRestServlet</servlet-name>
393
		<url-pattern>/d1/mn/log/*</url-pattern>
394
	</servlet-mapping>
395
	<servlet-mapping>
396
		<servlet-name>MNRestServlet</servlet-name>
397
		<url-pattern>/d1/mn/node</url-pattern>
398
	</servlet-mapping>
399
	<!-- MNRead-->
400
	<servlet-mapping>
401
		<servlet-name>MNRestServlet</servlet-name>
402
		<url-pattern>/d1/mn/meta/*</url-pattern>
403
	</servlet-mapping>
404
	<servlet-mapping>
405
		<servlet-name>MNRestServlet</servlet-name>
406
		<url-pattern>/d1/mn/object/*</url-pattern>
407
	</servlet-mapping>
408
	<servlet-mapping>
409
		<servlet-name>MNRestServlet</servlet-name>
410
		<url-pattern>/d1/mn/checksum/*</url-pattern>
411
	</servlet-mapping>
412
	<servlet-mapping>
413
		<servlet-name>MNRestServlet</servlet-name>
414
		<url-pattern>/d1/mn/error</url-pattern>
415
	</servlet-mapping>
416
	<!-- MNAuthorization -->
417
	<servlet-mapping>
418
		<servlet-name>MNRestServlet</servlet-name>
419
		<url-pattern>/d1/mn/isAuthorized/*</url-pattern>
420
	</servlet-mapping>
421
	<servlet-mapping>
422
		<servlet-name>MNRestServlet</servlet-name>
423
		<url-pattern>/d1/mn/accessRules/*</url-pattern>
424
	</servlet-mapping>
425
	<!-- MNReplication -->
426
	<servlet-mapping>
427
		<servlet-name>MNRestServlet</servlet-name>
428
		<url-pattern>/d1/mn/replicate/*</url-pattern>
429
	</servlet-mapping>
430
431 6253 leinfelder
432 2799 tao
 <!-- uncomment this if you want the admin servlet -->
433
  <servlet-mapping>
434
    <servlet-name>AdminServlet</servlet-name>
435
    <url-pattern>/servlet/AdminServlet</url-pattern>
436
  </servlet-mapping>
437 3104 perry
438 4943 costa
  <!--
439
   <servlet-mapping>
440
    <servlet-name>DataProvider</servlet-name>
441
    <url-pattern>/dataProvider</url-pattern>
442
  </servlet-mapping>
443
  -->
444 3104 perry
445 2012 cjones
    <session-config>
446 3104 perry
      <session-timeout>30000</session-timeout>
447 2012 cjones
    </session-config>
448 3104 perry
449 2799 tao
450
   <!-- currently the W3C havent settled on a media type for WSDL;
451
    http://www.w3.org/TR/2003/WD-wsdl12-20030303/#ietf-draft
452
    for now we go with the basic 'it's XML' response -->
453
  <mime-mapping>
454
    <extension>wsdl</extension>
455
     <mime-type>text/xml</mime-type>
456
  </mime-mapping>
457
458
  <mime-mapping>
459
    <extension>xsd</extension>
460
    <mime-type>text/xml</mime-type>
461
  </mime-mapping>
462 3104 perry
463
  <mime-mapping>
464
   <extension>xsl</extension>
465
   <mime-type>text/xml</mime-type>
466
  </mime-mapping>
467
468
  <welcome-file-list>
469
    <welcome-file>index.jsp</welcome-file>
470 3138 tao
    <welcome-file>index.html</welcome-file>
471 3104 perry
  </welcome-file-list>
472
473 4724 daigle
<security-constraint>
474
	<web-resource-collection>
475
		<web-resource-name>PROPERTIES</web-resource-name>
476
		<url-pattern>*.properties</url-pattern>
477
	</web-resource-collection>
478
	<auth-constraint/>
479
</security-constraint>
480
481 2012 cjones
</web-app>