Project

General

Profile

1
<!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

    
7
 <display-name>Metacat</display-name>
8

    
9
    <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
    
16
    <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

    
22
  <!-- 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

    
34
    <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
      <load-on-startup>2</load-on-startup>
46
    </servlet>
47
    
48
    <servlet>
49
      <servlet-name>MetacatAdmin</servlet-name>
50
      <servlet-class>edu.ucsb.nceas.metacat.admin.MetacatAdminServlet</servlet-class>
51
      <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
     <servlet>
63
      <servlet-name>replication</servlet-name>
64
      <servlet-class>edu.ucsb.nceas.metacat.replication.ReplicationServlet</servlet-class>
65
      <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
      <load-on-startup>3</load-on-startup>
74
    </servlet>
75

    
76
    <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
      <load-on-startup>3</load-on-startup>
88
    </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
      <load-on-startup>3</load-on-startup>
102
    </servlet>
103

    
104
    <servlet>
105
        <servlet-name>AdvancedSearchServlet</servlet-name>
106
        <servlet-class>edu.ucsb.nceas.metacat.advancedsearch.AdvancedSearchServlet</servlet-class>
107
        <load-on-startup>3</load-on-startup>
108
    </servlet>
109

    
110
    <!--
111
    <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
      <load-on-startup>3</load-on-startup>
123
    </servlet>
124
    -->
125
    
126
    <!--
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
<servlet>
137
      <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

    
145
  <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
	<!-- CN REST Servlet -->
168
    <servlet>
169
      <servlet-name>CNRestServlet</servlet-name>
170
      <servlet-class>edu.ucsb.nceas.metacat.restservice.CNRestServlet</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>15</load-on-startup>
180
    </servlet>
181
    
182
    <!-- MN REST Servlet -->
183
    <servlet>
184
      <servlet-name>MNRestServlet</servlet-name>
185
      <servlet-class>edu.ucsb.nceas.metacat.restservice.MNRestServlet</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>20</load-on-startup>
195
    </servlet>
196
  
197
    <servlet-mapping>
198
        <servlet-name>metacat</servlet-name>
199
        <url-pattern>/metacat</url-pattern>
200
    </servlet-mapping>
201

    
202
    <servlet-mapping>
203
        <servlet-name>metacat</servlet-name>
204
        <url-pattern>/metacat/*</url-pattern>
205
    </servlet-mapping>
206
    
207
    <servlet-mapping>
208
        <servlet-name>metacat</servlet-name>
209
        <url-pattern>/servlet/metacat</url-pattern>
210
    </servlet-mapping>
211

    
212
        
213
    <servlet-mapping>
214
        <servlet-name>MetacatAdmin</servlet-name>
215
        <url-pattern>/admin</url-pattern>
216
    </servlet-mapping>
217
    
218
    <servlet-mapping>
219
        <servlet-name>replication</servlet-name>
220
        <url-pattern>replication</url-pattern>
221
    </servlet-mapping> 
222
   
223
    <servlet-mapping>
224
        <servlet-name>replication</servlet-name>
225
        <url-pattern>/servlet/replication</url-pattern>
226
    </servlet-mapping>
227

    
228
    <servlet-mapping>
229
        <servlet-name>HarvesterRegistrationLogin</servlet-name>
230
        <url-pattern>/harvesterRegistrationLogin</url-pattern>
231
    </servlet-mapping>
232

    
233
    <servlet-mapping>
234
        <servlet-name>HarvesterRegistration</servlet-name>
235
        <url-pattern>/harvesterRegistration</url-pattern>
236
    </servlet-mapping>
237

    
238
    <servlet-mapping>
239
        <servlet-name>AdvancedSearchServlet</servlet-name>
240
        <url-pattern>/advancedSearchServlet</url-pattern>
241
    </servlet-mapping>
242
     
243
    <servlet-mapping>
244
    <servlet-name>AxisServlet</servlet-name>
245
    <url-pattern>/servlet/AxisServlet</url-pattern>
246
  </servlet-mapping>
247

    
248
  <servlet-mapping>
249
    <servlet-name>AxisServlet</servlet-name>
250
    <url-pattern>*.jws</url-pattern>
251
  </servlet-mapping>
252

    
253
  <servlet-mapping>
254
    <servlet-name>AxisServlet</servlet-name>
255
    <url-pattern>/services/*</url-pattern>
256
  </servlet-mapping>
257

    
258
  <servlet-mapping>
259
    <servlet-name>SOAPMonitorService</servlet-name>
260
    <url-pattern>/SOAPMonitor</url-pattern>
261
  </servlet-mapping>
262

    
263
  <servlet-mapping>
264
    <servlet-name>RestServlet</servlet-name>
265
    <url-pattern>/d1/object/*</url-pattern>
266
  </servlet-mapping>
267
  
268
  <servlet-mapping>
269
    <servlet-name>RestServlet</servlet-name>
270
    <url-pattern>/d1/formats/*</url-pattern>
271
  </servlet-mapping>
272
  
273
  <servlet-mapping>
274
    <servlet-name>RestServlet</servlet-name>
275
    <url-pattern>/d1/replicate/*</url-pattern>
276
  </servlet-mapping>
277
  
278
  <servlet-mapping>
279
    <servlet-name>RestServlet</servlet-name>
280
    <url-pattern>/d1/meta/*</url-pattern>
281
  </servlet-mapping>
282

    
283
  <servlet-mapping>
284
    <servlet-name>RestServlet</servlet-name>
285
    <url-pattern>/d1/session/*</url-pattern>
286
  </servlet-mapping>
287

    
288
  <servlet-mapping>
289
    <servlet-name>RestServlet</servlet-name>
290
    <url-pattern>/d1/identifier/*</url-pattern>
291
  </servlet-mapping>
292
  
293
  <servlet-mapping>
294
    <servlet-name>RestServlet</servlet-name>
295
    <url-pattern>/d1/log/*</url-pattern>
296
  </servlet-mapping>
297
  
298
  <servlet-mapping>
299
    <servlet-name>RestServlet</servlet-name>
300
    <url-pattern>/d1/checksum/*</url-pattern>
301
  </servlet-mapping>
302
  
303
  <servlet-mapping>
304
    <servlet-name>RestServlet</servlet-name>
305
    <url-pattern>/d1/monitor/*</url-pattern>
306
  </servlet-mapping>
307

    
308
	<!-- CN REST services -->
309
	<servlet-mapping>
310
		<servlet-name>CNRestServlet</servlet-name>
311
		<url-pattern>/d1/cn/*</url-pattern>
312
	</servlet-mapping>
313
	<!-- CNCore-->
314
	<servlet-mapping>
315
		<servlet-name>CNRestServlet</servlet-name>
316
		<url-pattern>/d1/cn/object/*</url-pattern>
317
	</servlet-mapping>
318
	<servlet-mapping>
319
		<servlet-name>CNRestServlet</servlet-name>
320
		<url-pattern>/d1/cn/formats/*</url-pattern>
321
	</servlet-mapping>
322
	<servlet-mapping>
323
		<servlet-name>CNRestServlet</servlet-name>
324
		<url-pattern>/d1/cn/log/*</url-pattern>
325
	</servlet-mapping>
326
	<servlet-mapping>
327
		<servlet-name>CNRestServlet</servlet-name>
328
		<url-pattern>/d1/cn/reserve/*</url-pattern>
329
	</servlet-mapping>
330
	<servlet-mapping>
331
		<servlet-name>CNRestServlet</servlet-name>
332
		<url-pattern>/d1/cn/meta/*</url-pattern>
333
	</servlet-mapping>
334
	<!-- CNRead-->
335
	<servlet-mapping>
336
		<servlet-name>CNRestServlet</servlet-name>
337
		<url-pattern>/d1/cn/resolve/*</url-pattern>
338
	</servlet-mapping>
339
	<servlet-mapping>
340
		<servlet-name>CNRestServlet</servlet-name>
341
		<url-pattern>/d1/cn/assertRelation/*</url-pattern>
342
	</servlet-mapping>
343
	<servlet-mapping>
344
		<servlet-name>CNRestServlet</servlet-name>
345
		<url-pattern>/d1/cn/checksum/*</url-pattern>
346
	</servlet-mapping>
347
	<!-- CNAuthorization -->
348
	<servlet-mapping>
349
		<servlet-name>CNRestServlet</servlet-name>
350
		<url-pattern>/d1/cn/owner/*</url-pattern>
351
	</servlet-mapping>
352
	<servlet-mapping>
353
		<servlet-name>CNRestServlet</servlet-name>
354
		<url-pattern>/d1/cn/isAuthorized/*</url-pattern>
355
	</servlet-mapping>
356
	<servlet-mapping>
357
		<servlet-name>CNRestServlet</servlet-name>
358
		<url-pattern>/d1/cn/accessRules/*</url-pattern>
359
	</servlet-mapping>
360
	<!-- CNReplication -->
361
	<servlet-mapping>
362
		<servlet-name>CNRestServlet</servlet-name>
363
		<url-pattern>/d1/cn/notify/*</url-pattern>
364
	</servlet-mapping>
365
	<servlet-mapping>
366
		<servlet-name>CNRestServlet</servlet-name>
367
		<url-pattern>/d1/cn/meta/replication/*</url-pattern>
368
	</servlet-mapping>
369
	<servlet-mapping>
370
		<servlet-name>CNRestServlet</servlet-name>
371
		<url-pattern>/d1/cn/meta/policy/*</url-pattern>
372
	</servlet-mapping>
373
	
374
	<!-- MN REST services -->
375
	<servlet-mapping>
376
		<servlet-name>MNRestServlet</servlet-name>
377
		<url-pattern>/d1/mn/*</url-pattern>
378
	</servlet-mapping>
379
	<!-- MNCore-->
380
	<servlet-mapping>
381
		<servlet-name>MNRestServlet</servlet-name>
382
		<url-pattern>/d1/mn/monitor/*</url-pattern>
383
	</servlet-mapping>
384
	<servlet-mapping>
385
		<servlet-name>MNRestServlet</servlet-name>
386
		<url-pattern>/d1/mn/log/*</url-pattern>
387
	</servlet-mapping>
388
	<servlet-mapping>
389
		<servlet-name>MNRestServlet</servlet-name>
390
		<url-pattern>/d1/mn/node</url-pattern>
391
	</servlet-mapping>
392
	<!-- MNRead-->
393
	<servlet-mapping>
394
		<servlet-name>MNRestServlet</servlet-name>
395
		<url-pattern>/d1/mn/meta/*</url-pattern>
396
	</servlet-mapping>
397
	<servlet-mapping>
398
		<servlet-name>MNRestServlet</servlet-name>
399
		<url-pattern>/d1/mn/object/*</url-pattern>
400
	</servlet-mapping>
401
	<servlet-mapping>
402
		<servlet-name>MNRestServlet</servlet-name>
403
		<url-pattern>/d1/mn/checksum/*</url-pattern>
404
	</servlet-mapping>
405
	<servlet-mapping>
406
		<servlet-name>MNRestServlet</servlet-name>
407
		<url-pattern>/d1/mn/error</url-pattern>
408
	</servlet-mapping>
409
	<!-- MNAuthorization -->
410
	<servlet-mapping>
411
		<servlet-name>MNRestServlet</servlet-name>
412
		<url-pattern>/d1/mn/isAuthorized/*</url-pattern>
413
	</servlet-mapping>
414
	<servlet-mapping>
415
		<servlet-name>MNRestServlet</servlet-name>
416
		<url-pattern>/d1/mn/accessRules/*</url-pattern>
417
	</servlet-mapping>
418
	<!-- MNReplication -->
419
	<servlet-mapping>
420
		<servlet-name>MNRestServlet</servlet-name>
421
		<url-pattern>/d1/mn/replicate/*</url-pattern>
422
	</servlet-mapping>
423
	
424

    
425
 <!-- uncomment this if you want the admin servlet -->
426
  <servlet-mapping>
427
    <servlet-name>AdminServlet</servlet-name>
428
    <url-pattern>/servlet/AdminServlet</url-pattern>
429
  </servlet-mapping>
430

    
431
  <!-- 
432
   <servlet-mapping>
433
    <servlet-name>DataProvider</servlet-name>
434
    <url-pattern>/dataProvider</url-pattern>
435
  </servlet-mapping>
436
  -->
437
      
438
    <session-config>
439
      <session-timeout>30000</session-timeout>
440
    </session-config>
441

    
442
    
443
   <!-- currently the W3C havent settled on a media type for WSDL;
444
    http://www.w3.org/TR/2003/WD-wsdl12-20030303/#ietf-draft
445
    for now we go with the basic 'it's XML' response -->
446
  <mime-mapping>
447
    <extension>wsdl</extension>
448
     <mime-type>text/xml</mime-type>
449
  </mime-mapping>
450
  
451
  <mime-mapping>
452
    <extension>xsd</extension>
453
    <mime-type>text/xml</mime-type>
454
  </mime-mapping>
455
  
456
  <mime-mapping>
457
   <extension>xsl</extension>
458
   <mime-type>text/xml</mime-type>
459
  </mime-mapping>
460
		      
461
  <welcome-file-list>
462
    <welcome-file>index.jsp</welcome-file>
463
    <welcome-file>index.html</welcome-file>
464
  </welcome-file-list>
465

    
466
<security-constraint>
467
	<web-resource-collection>
468
		<web-resource-name>PROPERTIES</web-resource-name>
469
		<url-pattern>*.properties</url-pattern>
470
	</web-resource-collection>
471
	<auth-constraint/>
472
</security-constraint>
473

    
474
</web-app>
(51-51/54)