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
    <dispatcher>FORWARD</dispatcher>
31
  </filter-mapping>
32

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

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

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

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

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

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

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

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

    
228
    <servlet-mapping>
229
        <servlet-name>metacat</servlet-name>
230
        <url-pattern>/metacat/*</url-pattern>
231
    </servlet-mapping>
232
    
233
    <servlet-mapping>
234
        <servlet-name>metacat</servlet-name>
235
        <url-pattern>/servlet/metacat</url-pattern>
236
    </servlet-mapping>
237

    
238
        
239
    <servlet-mapping>
240
        <servlet-name>MetacatAdmin</servlet-name>
241
        <url-pattern>/admin</url-pattern>
242
    </servlet-mapping>
243
    
244
    <servlet-mapping>
245
        <servlet-name>replication</servlet-name>
246
        <url-pattern>/replication</url-pattern>
247
    </servlet-mapping> 
248
   
249
    <servlet-mapping>
250
        <servlet-name>replication</servlet-name>
251
        <url-pattern>/servlet/replication</url-pattern>
252
    </servlet-mapping>
253

    
254
    <servlet-mapping>
255
        <servlet-name>HarvesterRegistrationLogin</servlet-name>
256
        <url-pattern>/harvesterRegistrationLogin</url-pattern>
257
    </servlet-mapping>
258

    
259
    <servlet-mapping>
260
        <servlet-name>HarvesterRegistration</servlet-name>
261
        <url-pattern>/harvesterRegistration</url-pattern>
262
    </servlet-mapping>
263

    
264
    <servlet-mapping>
265
        <servlet-name>AdvancedSearchServlet</servlet-name>
266
        <url-pattern>/advancedSearchServlet</url-pattern>
267
    </servlet-mapping>
268
     
269
    <servlet-mapping>
270
    <servlet-name>AxisServlet</servlet-name>
271
    <url-pattern>/servlet/AxisServlet</url-pattern>
272
  </servlet-mapping>
273

    
274
  <servlet-mapping>
275
    <servlet-name>AxisServlet</servlet-name>
276
    <url-pattern>*.jws</url-pattern>
277
  </servlet-mapping>
278

    
279
  <servlet-mapping>
280
    <servlet-name>AxisServlet</servlet-name>
281
    <url-pattern>/services/*</url-pattern>
282
  </servlet-mapping>
283

    
284
  <servlet-mapping>
285
    <servlet-name>SOAPMonitorService</servlet-name>
286
    <url-pattern>/SOAPMonitor</url-pattern>
287
  </servlet-mapping>
288

    
289

    
290
	<!-- CN REST services v1-->
291
	<servlet-mapping>
292
		<servlet-name>CNRestServletV1</servlet-name>
293
		<url-pattern>/d1/cn/v1/*</url-pattern>
294
	</servlet-mapping>	
295
	
296
	<!-- MN REST services v1 -->
297
	<servlet-mapping>
298
		<servlet-name>MNRestServletV1</servlet-name>
299
		<url-pattern>/d1/mn/v1/*</url-pattern>
300
	</servlet-mapping>
301
	
302
	<!-- CN REST services v2-->
303
	<servlet-mapping>
304
		<servlet-name>CNRestServletV2</servlet-name>
305
		<url-pattern>/d1/cn/v2/*</url-pattern>
306
	</servlet-mapping>	
307
	
308
	<!-- MN REST services v2-->
309
	<servlet-mapping>
310
		<servlet-name>MNRestServletV2</servlet-name>
311
		<url-pattern>/d1/mn/v2/*</url-pattern>
312
	</servlet-mapping>
313

    
314
 <!-- MN root url -->
315
  <servlet-mapping>
316
    <servlet-name>MNRestServletV2</servlet-name>
317
    <url-pattern>/d1/mn/</url-pattern>
318
  </servlet-mapping> 
319

    
320
  <servlet-mapping>
321
    <servlet-name>MNRestServletV2</servlet-name>
322
    <url-pattern>/d1/mn</url-pattern>
323
  </servlet-mapping> 
324
	
325
 <!-- uncomment this if you want the admin servlet -->
326
  <servlet-mapping>
327
    <servlet-name>AdminServlet</servlet-name>
328
    <url-pattern>/servlet/AdminServlet</url-pattern>
329
  </servlet-mapping>
330

    
331
  <!-- 
332
   <servlet-mapping>
333
    <servlet-name>DataProvider</servlet-name>
334
    <url-pattern>/dataProvider</url-pattern>
335
  </servlet-mapping>
336
  -->
337
  
338
    
339
   <!-- currently the W3C havent settled on a media type for WSDL;
340
    http://www.w3.org/TR/2003/WD-wsdl12-20030303/#ietf-draft
341
    for now we go with the basic 'it's XML' response -->
342
  <mime-mapping>
343
    <extension>wsdl</extension>
344
     <mime-type>text/xml</mime-type>
345
  </mime-mapping>
346
  
347
  <mime-mapping>
348
    <extension>xsd</extension>
349
    <mime-type>text/xml</mime-type>
350
  </mime-mapping>
351
  
352
  <mime-mapping>
353
   <extension>xsl</extension>
354
   <mime-type>text/xml</mime-type>
355
  </mime-mapping>
356
		      
357
  <welcome-file-list>
358
    <welcome-file>index.jsp</welcome-file>
359
    <welcome-file>index.html</welcome-file>
360
  </welcome-file-list>
361

    
362
<security-constraint>
363
	<web-resource-collection>
364
		<web-resource-name>PROPERTIES</web-resource-name>
365
		<url-pattern>*.properties</url-pattern>
366
	</web-resource-collection>
367
	<auth-constraint/>
368
</security-constraint>
369

    
370
</web-app>
(21-21/21)