Project

General

Profile

1
<?xml version="1.0" encoding="UTF-8"?>
2

    
3
<web-app xmlns="http://java.sun.com/xml/ns/javaee"
4
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5
   xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
6
   version="2.5">
7

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

    
10
    <context-param>
11
      <param-name>jones</param-name>
12
      <param-value>jones@nceas.ucsb.edu</param-value>
13
    </context-param>
14
    
15
    <context-param>
16
      <param-name>configFileName</param-name>
17
      <param-value>metacat.properties</param-value>
18
    </context-param>
19

    
20
  <!-- D1 filters -->
21
  <filter>
22
    <filter-name>D1URLFilter</filter-name>
23
    <filter-class>edu.ucsb.nceas.metacat.restservice.D1URLFilter</filter-class>
24
  </filter>
25
  
26
  <filter-mapping>
27
    <filter-name>D1URLFilter</filter-name>
28
    <url-pattern>/d1/*</url-pattern>
29
    <dispatcher>REQUEST</dispatcher>
30
  </filter-mapping>
31

    
32
    <servlet>
33
      <servlet-name>metacat</servlet-name>
34
      <servlet-class>edu.ucsb.nceas.metacat.MetaCatServlet</servlet-class>
35
      <init-param>
36
        <param-name>debug</param-name>
37
        <param-value>1</param-value>
38
      </init-param>
39
      <init-param>
40
        <param-name>listings</param-name>
41
        <param-value>true</param-value>
42
      </init-param>
43
      <load-on-startup>2</load-on-startup>
44
    </servlet>
45
    
46
    <servlet>
47
      <servlet-name>MetacatAdmin</servlet-name>
48
      <servlet-class>edu.ucsb.nceas.metacat.admin.MetacatAdminServlet</servlet-class>
49
      <init-param>
50
        <param-name>debug</param-name>
51
        <param-value>1</param-value>
52
      </init-param>
53
      <init-param>
54
        <param-name>listings</param-name>
55
        <param-value>true</param-value>
56
      </init-param>
57
      <load-on-startup>3</load-on-startup>
58
    </servlet>
59
    
60
     <servlet>
61
      <servlet-name>replication</servlet-name>
62
      <servlet-class>edu.ucsb.nceas.metacat.replication.ReplicationServlet</servlet-class>
63
      <init-param>
64
        <param-name>debug</param-name>
65
        <param-value>1</param-value>
66
      </init-param>
67
      <init-param>
68
        <param-name>listings</param-name>
69
        <param-value>true</param-value>
70
      </init-param>
71
      <load-on-startup>3</load-on-startup>
72
    </servlet>
73

    
74
    <servlet>
75
      <servlet-name>HarvesterRegistrationLogin</servlet-name>
76
      <servlet-class>edu.ucsb.nceas.metacat.harvesterClient.HarvesterRegistrationLogin</servlet-class>
77
      <init-param>
78
        <param-name>debug</param-name>
79
        <param-value>1</param-value>
80
      </init-param>
81
      <init-param>
82
        <param-name>listings</param-name>
83
        <param-value>true</param-value>
84
      </init-param>
85
      <load-on-startup>3</load-on-startup>
86
    </servlet>
87

    
88
    <servlet>
89
      <servlet-name>HarvesterRegistration</servlet-name>
90
      <servlet-class>edu.ucsb.nceas.metacat.harvesterClient.HarvesterRegistration</servlet-class>
91
      <init-param>
92
        <param-name>debug</param-name>
93
        <param-value>1</param-value>
94
      </init-param>
95
      <init-param>
96
        <param-name>listings</param-name>
97
        <param-value>true</param-value>
98
      </init-param>
99
      <load-on-startup>3</load-on-startup>
100
    </servlet>
101

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

    
108
    <!--
109
    <servlet>
110
      <servlet-name>HarvesterServlet</servlet-name>
111
      <servlet-class>edu.ucsb.nceas.metacat.harvesterClient.HarvesterServlet</servlet-class>
112
      <init-param>
113
        <param-name>debug</param-name>
114
        <param-value>1</param-value>
115
      </init-param>
116
      <init-param>
117
        <param-name>listings</param-name>
118
        <param-value>true</param-value>
119
      </init-param>
120
      <load-on-startup>3</load-on-startup>
121
    </servlet>
122
    -->
123
    
124
    <!--
125
    <servlet>
126
      <servlet-name>DataProvider</servlet-name>
127
      <description>Processes OAI verbs for Metacat OAI-PMH Data Provider (MODP)
128
      </description>
129
      <servlet-class>edu.ucsb.nceas.metacat.oaipmh.provider.server.OAIHandler</servlet-class>
130
      <load-on-startup>4</load-on-startup>
131
    </servlet>
132
    -->
133

    
134
<servlet>
135
      <servlet-name>AxisServlet</servlet-name>
136
      <servlet-class>
137
          org.apache.axis.transport.http.AxisServlet
138
      </servlet-class>
139
      <load-on-startup>3</load-on-startup>
140
    </servlet>
141

    
142
  <servlet>
143
    <servlet-name>AdminServlet</servlet-name>
144
    <servlet-class>
145
        org.apache.axis.transport.http.AdminServlet
146
    </servlet-class>
147
    <load-on-startup>100</load-on-startup>
148
  </servlet>
149

    
150
  <servlet>
151
    <servlet-name>SOAPMonitorService</servlet-name>
152
    <servlet-class>
153
        org.apache.axis.monitor.SOAPMonitorService
154
    </servlet-class>
155
    <init-param>
156
      <param-name>SOAPMonitorPort</param-name>
157
      <param-value>5001</param-value>
158
    </init-param>
159
    <load-on-startup>100</load-on-startup>
160
  </servlet>
161
    
162
	<!-- CN REST Servlet v1 -->
163
    <servlet>
164
      <servlet-name>CNRestServletV1</servlet-name>
165
      <servlet-class>edu.ucsb.nceas.metacat.restservice.v1.CNRestServlet</servlet-class>
166
      <init-param>
167
        <param-name>debug</param-name>
168
        <param-value>1</param-value>
169
      </init-param>
170
      <init-param>
171
        <param-name>listings</param-name>
172
        <param-value>true</param-value>
173
      </init-param>
174
      <load-on-startup>15</load-on-startup>
175
    </servlet>
176
    
177
    <!-- CN REST Servlet v2 -->
178
    <servlet>
179
      <servlet-name>CNRestServletV2</servlet-name>
180
      <servlet-class>edu.ucsb.nceas.metacat.restservice.v2.CNRestServlet</servlet-class>
181
      <init-param>
182
        <param-name>debug</param-name>
183
        <param-value>1</param-value>
184
      </init-param>
185
      <init-param>
186
        <param-name>listings</param-name>
187
        <param-value>true</param-value>
188
      </init-param>
189
      <load-on-startup>15</load-on-startup>
190
    </servlet>
191
    
192
    <!-- MN REST Servlet V1 -->
193
    <servlet>
194
      <servlet-name>MNRestServletV1</servlet-name>
195
      <servlet-class>edu.ucsb.nceas.metacat.restservice.v1.MNRestServlet</servlet-class>
196
      <init-param>
197
        <param-name>debug</param-name>
198
        <param-value>1</param-value>
199
      </init-param>
200
      <init-param>
201
        <param-name>listings</param-name>
202
        <param-value>true</param-value>
203
      </init-param>
204
      <load-on-startup>20</load-on-startup>
205
    </servlet>
206
    
207
    <!-- MN REST Servlet V2 -->
208
    <servlet>
209
      <servlet-name>MNRestServletV2</servlet-name>
210
      <servlet-class>edu.ucsb.nceas.metacat.restservice.v2.MNRestServlet</servlet-class>
211
      <init-param>
212
        <param-name>debug</param-name>
213
        <param-value>1</param-value>
214
      </init-param>
215
      <init-param>
216
        <param-name>listings</param-name>
217
        <param-value>true</param-value>
218
      </init-param>
219
      <load-on-startup>20</load-on-startup>
220
    </servlet>
221
    
222
    <!-- annotator servlet -->
223
    <servlet>
224
      <servlet-name>annotatorServlet</servlet-name>
225
      <servlet-class>edu.ucsb.nceas.metacat.annotation.store.AnnotatorRestServlet</servlet-class>
226
      <init-param>
227
        <param-name>debug</param-name>
228
        <param-value>1</param-value>
229
      </init-param>
230
      <init-param>
231
        <param-name>listings</param-name>
232
        <param-value>true</param-value>
233
      </init-param>
234
      <load-on-startup>20</load-on-startup>
235
    </servlet>
236
    
237
    <servlet-mapping>
238
        <servlet-name>annotatorServlet</servlet-name>
239
        <url-pattern>/annotator</url-pattern>
240
    </servlet-mapping>
241
    
242
    <servlet-mapping>
243
        <servlet-name>annotatorServlet</servlet-name>
244
        <url-pattern>/annotator/*</url-pattern>
245
    </servlet-mapping>
246
  
247
    <servlet-mapping>
248
        <servlet-name>metacat</servlet-name>
249
        <url-pattern>/metacat</url-pattern>
250
    </servlet-mapping>
251

    
252
    <servlet-mapping>
253
        <servlet-name>metacat</servlet-name>
254
        <url-pattern>/metacat/*</url-pattern>
255
    </servlet-mapping>
256
    
257
    <servlet-mapping>
258
        <servlet-name>metacat</servlet-name>
259
        <url-pattern>/servlet/metacat</url-pattern>
260
    </servlet-mapping>
261

    
262
        
263
    <servlet-mapping>
264
        <servlet-name>MetacatAdmin</servlet-name>
265
        <url-pattern>/admin</url-pattern>
266
    </servlet-mapping>
267
    
268
    <servlet-mapping>
269
        <servlet-name>replication</servlet-name>
270
        <url-pattern>/replication</url-pattern>
271
    </servlet-mapping> 
272
   
273
    <servlet-mapping>
274
        <servlet-name>replication</servlet-name>
275
        <url-pattern>/servlet/replication</url-pattern>
276
    </servlet-mapping>
277

    
278
    <servlet-mapping>
279
        <servlet-name>HarvesterRegistrationLogin</servlet-name>
280
        <url-pattern>/harvesterRegistrationLogin</url-pattern>
281
    </servlet-mapping>
282

    
283
    <servlet-mapping>
284
        <servlet-name>HarvesterRegistration</servlet-name>
285
        <url-pattern>/harvesterRegistration</url-pattern>
286
    </servlet-mapping>
287

    
288
    <servlet-mapping>
289
        <servlet-name>AdvancedSearchServlet</servlet-name>
290
        <url-pattern>/advancedSearchServlet</url-pattern>
291
    </servlet-mapping>
292
     
293
    <servlet-mapping>
294
    <servlet-name>AxisServlet</servlet-name>
295
    <url-pattern>/servlet/AxisServlet</url-pattern>
296
  </servlet-mapping>
297

    
298
  <servlet-mapping>
299
    <servlet-name>AxisServlet</servlet-name>
300
    <url-pattern>*.jws</url-pattern>
301
  </servlet-mapping>
302

    
303
  <servlet-mapping>
304
    <servlet-name>AxisServlet</servlet-name>
305
    <url-pattern>/services/*</url-pattern>
306
  </servlet-mapping>
307

    
308
  <servlet-mapping>
309
    <servlet-name>SOAPMonitorService</servlet-name>
310
    <url-pattern>/SOAPMonitor</url-pattern>
311
  </servlet-mapping>
312

    
313

    
314
	<!-- CN REST services v1-->
315
	<servlet-mapping>
316
		<servlet-name>CNRestServletV1</servlet-name>
317
		<url-pattern>/d1/cn/v1/*</url-pattern>
318
	</servlet-mapping>	
319
	
320
	<!-- MN REST services v1 -->
321
	<servlet-mapping>
322
		<servlet-name>MNRestServletV1</servlet-name>
323
		<url-pattern>/d1/mn/v1/*</url-pattern>
324
	</servlet-mapping>
325
	
326
	<!-- CN REST services v2-->
327
	<servlet-mapping>
328
		<servlet-name>CNRestServletV2</servlet-name>
329
		<url-pattern>/d1/cn/v2/*</url-pattern>
330
	</servlet-mapping>	
331
	
332
	<!-- MN REST services v2-->
333
	<servlet-mapping>
334
		<servlet-name>MNRestServletV2</servlet-name>
335
		<url-pattern>/d1/mn/v2/*</url-pattern>
336
	</servlet-mapping>
337
	
338
 <!-- uncomment this if you want the admin servlet -->
339
  <servlet-mapping>
340
    <servlet-name>AdminServlet</servlet-name>
341
    <url-pattern>/servlet/AdminServlet</url-pattern>
342
  </servlet-mapping>
343

    
344
  <!-- 
345
   <servlet-mapping>
346
    <servlet-name>DataProvider</servlet-name>
347
    <url-pattern>/dataProvider</url-pattern>
348
  </servlet-mapping>
349
  -->
350
  
351
	<!-- begin MyProxy portal delegation section. Uncomment to enable MyProxy -->
352
	<!--
353
	<servlet>
354
        <servlet-name>startRequest</servlet-name>
355
        <servlet-class>edu.ucsb.nceas.metacat.portal.StartRequest</servlet-class>
356
        <load-on-startup>0</load-on-startup>
357
    </servlet>
358
    <servlet-mapping>
359
        <servlet-name>startRequest</servlet-name>
360
        <url-pattern>/startRequest</url-pattern>
361
    </servlet-mapping>
362

    
363
    <servlet>
364
        <servlet-name>ready</servlet-name>
365
        <servlet-class>edu.ucsb.nceas.metacat.portal.SuccessServlet</servlet-class>
366
        <load-on-startup>0</load-on-startup>
367
    </servlet>
368
    <servlet-mapping>
369
        <servlet-name>ready</servlet-name>
370
        <url-pattern>/ready</url-pattern>
371
    </servlet-mapping>
372
    
373
    <servlet>
374
        <servlet-name>error</servlet-name>
375
        <servlet-class>edu.ucsb.nceas.metacat.portal.FailureServlet</servlet-class>
376
        <load-on-startup>0</load-on-startup>
377
    </servlet>
378
    <servlet-mapping>
379
        <servlet-name>error</servlet-name>
380
        <url-pattern>/error</url-pattern>
381
    </servlet-mapping>
382
      
383
    <session-config>
384
      <session-timeout>30000</session-timeout>
385
    </session-config>
386
    
387
    <listener>
388
        <listener-class>edu.uiuc.ncsa.myproxy.oa4mp.client.loader.ClientBootstrapper</listener-class>
389
    </listener>
390

    
391
	<context-param>
392
        <param-name>oa4mp:client.config.file</param-name>
393
        <param-value>/WEB-INF/oa4mp_client.xml</param-value>
394
    </context-param>
395
    -->
396
    <!-- end MyProxy section -->
397
    
398
   <!-- currently the W3C havent settled on a media type for WSDL;
399
    http://www.w3.org/TR/2003/WD-wsdl12-20030303/#ietf-draft
400
    for now we go with the basic 'it's XML' response -->
401
  <mime-mapping>
402
    <extension>wsdl</extension>
403
     <mime-type>text/xml</mime-type>
404
  </mime-mapping>
405
  
406
  <mime-mapping>
407
    <extension>xsd</extension>
408
    <mime-type>text/xml</mime-type>
409
  </mime-mapping>
410
  
411
  <mime-mapping>
412
   <extension>xsl</extension>
413
   <mime-type>text/xml</mime-type>
414
  </mime-mapping>
415
		      
416
  <welcome-file-list>
417
    <welcome-file>index.jsp</welcome-file>
418
    <welcome-file>index.html</welcome-file>
419
  </welcome-file-list>
420

    
421
<security-constraint>
422
	<web-resource-collection>
423
		<web-resource-name>PROPERTIES</web-resource-name>
424
		<url-pattern>*.properties</url-pattern>
425
	</web-resource-collection>
426
	<auth-constraint/>
427
</security-constraint>
428

    
429
</web-app>
(22-22/22)