Project

General

Profile

1 7541 leinfelder
<?xml version="1.0" encoding="UTF-8"?>
2 2012 cjones
3 7541 leinfelder
<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 3104 perry
8
 <display-name>Metacat</display-name>
9
10 2012 cjones
    <context-param>
11
      <param-name>jones</param-name>
12
      <param-value>jones@nceas.ucsb.edu</param-value>
13
    </context-param>
14 2799 tao
15 5027 daigle
    <context-param>
16
      <param-name>configFileName</param-name>
17
      <param-value>metacat.properties</param-value>
18
    </context-param>
19 3104 perry
20 5750 berkley
  <!-- 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 9303 tao
    <dispatcher>FORWARD</dispatcher>
31 5750 berkley
  </filter-mapping>
32 3104 perry
33 2012 cjones
    <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 3104 perry
      <load-on-startup>2</load-on-startup>
45 2012 cjones
    </servlet>
46
47 4080 daigle
    <servlet>
48 5027 daigle
      <servlet-name>MetacatAdmin</servlet-name>
49
      <servlet-class>edu.ucsb.nceas.metacat.admin.MetacatAdminServlet</servlet-class>
50 4080 daigle
      <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 2012 cjones
     <servlet>
62
      <servlet-name>replication</servlet-name>
63 5027 daigle
      <servlet-class>edu.ucsb.nceas.metacat.replication.ReplicationServlet</servlet-class>
64 2012 cjones
      <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 3104 perry
      <load-on-startup>3</load-on-startup>
73 2012 cjones
    </servlet>
74
75 2295 sgarg
    <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 3104 perry
      <load-on-startup>3</load-on-startup>
87 2295 sgarg
    </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 3104 perry
      <load-on-startup>3</load-on-startup>
101 2295 sgarg
    </servlet>
102
103 2742 costa
    <servlet>
104
        <servlet-name>AdvancedSearchServlet</servlet-name>
105
        <servlet-class>edu.ucsb.nceas.metacat.advancedsearch.AdvancedSearchServlet</servlet-class>
106 3104 perry
        <load-on-startup>3</load-on-startup>
107 2742 costa
    </servlet>
108
109 4078 tao
    <!--
110 2383 costa
    <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 3104 perry
      <load-on-startup>3</load-on-startup>
122 2383 costa
    </servlet>
123 4080 daigle
    -->
124
125 4943 costa
    <!--
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 3993 berkley
<servlet>
136 3104 perry
      <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 2383 costa
143 2799 tao
  <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 6253 leinfelder
163 8810 leinfelder
	<!-- CN REST Servlet v1 -->
164 6253 leinfelder
    <servlet>
165 8810 leinfelder
      <servlet-name>CNRestServletV1</servlet-name>
166
      <servlet-class>edu.ucsb.nceas.metacat.restservice.v1.CNRestServlet</servlet-class>
167 6253 leinfelder
      <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 6264 leinfelder
    </servlet>
177
178 8810 leinfelder
    <!-- CN REST Servlet v2 -->
179 6264 leinfelder
    <servlet>
180 8810 leinfelder
      <servlet-name>CNRestServletV2</servlet-name>
181
      <servlet-class>edu.ucsb.nceas.metacat.restservice.v2.CNRestServlet</servlet-class>
182 6264 leinfelder
      <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 8810 leinfelder
      <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 6264 leinfelder
      <load-on-startup>20</load-on-startup>
206
    </servlet>
207 8810 leinfelder
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 3194 berkley
223 2012 cjones
    <servlet-mapping>
224
        <servlet-name>metacat</servlet-name>
225
        <url-pattern>/metacat</url-pattern>
226
    </servlet-mapping>
227 3243 jones
228
    <servlet-mapping>
229
        <servlet-name>metacat</servlet-name>
230
        <url-pattern>/metacat/*</url-pattern>
231
    </servlet-mapping>
232 2511 tao
233
    <servlet-mapping>
234 3185 tao
        <servlet-name>metacat</servlet-name>
235
        <url-pattern>/servlet/metacat</url-pattern>
236
    </servlet-mapping>
237 4080 daigle
238
239
    <servlet-mapping>
240 5027 daigle
        <servlet-name>MetacatAdmin</servlet-name>
241 4080 daigle
        <url-pattern>/admin</url-pattern>
242
    </servlet-mapping>
243 5027 daigle
244 4080 daigle
    <servlet-mapping>
245 2511 tao
        <servlet-name>replication</servlet-name>
246 7541 leinfelder
        <url-pattern>/replication</url-pattern>
247 2575 tao
    </servlet-mapping>
248
249
    <servlet-mapping>
250
        <servlet-name>replication</servlet-name>
251
        <url-pattern>/servlet/replication</url-pattern>
252 2511 tao
    </servlet-mapping>
253 2012 cjones
254 2295 sgarg
    <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 2742 costa
    <servlet-mapping>
265
        <servlet-name>AdvancedSearchServlet</servlet-name>
266
        <url-pattern>/advancedSearchServlet</url-pattern>
267
    </servlet-mapping>
268 2799 tao
269
    <servlet-mapping>
270
    <servlet-name>AxisServlet</servlet-name>
271
    <url-pattern>/servlet/AxisServlet</url-pattern>
272
  </servlet-mapping>
273 2742 costa
274 2799 tao
  <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 5211 jones
290 8810 leinfelder
	<!-- CN REST services v1-->
291 6266 leinfelder
	<servlet-mapping>
292 8810 leinfelder
		<servlet-name>CNRestServletV1</servlet-name>
293 6441 leinfelder
		<url-pattern>/d1/cn/v1/*</url-pattern>
294
	</servlet-mapping>
295 6253 leinfelder
296 8810 leinfelder
	<!-- MN REST services v1 -->
297 6266 leinfelder
	<servlet-mapping>
298 8810 leinfelder
		<servlet-name>MNRestServletV1</servlet-name>
299
		<url-pattern>/d1/mn/v1/*</url-pattern>
300 6266 leinfelder
	</servlet-mapping>
301 8810 leinfelder
302
	<!-- CN REST services v2-->
303 6441 leinfelder
	<servlet-mapping>
304 8810 leinfelder
		<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 6441 leinfelder
	</servlet-mapping>
313 10096 tao
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 6264 leinfelder
325 2799 tao
 <!-- 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 3104 perry
331 4943 costa
  <!--
332
   <servlet-mapping>
333
    <servlet-name>DataProvider</servlet-name>
334
    <url-pattern>/dataProvider</url-pattern>
335
  </servlet-mapping>
336
  -->
337 7737 leinfelder
338
339 2799 tao
   <!-- 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 3104 perry
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 3138 tao
    <welcome-file>index.html</welcome-file>
360 3104 perry
  </welcome-file-list>
361
362 4724 daigle
<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 2012 cjones
</web-app>