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
  </filter-mapping>
31 3104 perry
32 2012 cjones
    <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 3104 perry
      <load-on-startup>2</load-on-startup>
44 2012 cjones
    </servlet>
45
46 4080 daigle
    <servlet>
47 5027 daigle
      <servlet-name>MetacatAdmin</servlet-name>
48
      <servlet-class>edu.ucsb.nceas.metacat.admin.MetacatAdminServlet</servlet-class>
49 4080 daigle
      <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 2012 cjones
     <servlet>
61
      <servlet-name>replication</servlet-name>
62 5027 daigle
      <servlet-class>edu.ucsb.nceas.metacat.replication.ReplicationServlet</servlet-class>
63 2012 cjones
      <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 3104 perry
      <load-on-startup>3</load-on-startup>
72 2012 cjones
    </servlet>
73
74 2295 sgarg
    <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 3104 perry
      <load-on-startup>3</load-on-startup>
86 2295 sgarg
    </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 3104 perry
      <load-on-startup>3</load-on-startup>
100 2295 sgarg
    </servlet>
101
102 2742 costa
    <servlet>
103
        <servlet-name>AdvancedSearchServlet</servlet-name>
104
        <servlet-class>edu.ucsb.nceas.metacat.advancedsearch.AdvancedSearchServlet</servlet-class>
105 3104 perry
        <load-on-startup>3</load-on-startup>
106 2742 costa
    </servlet>
107
108 4078 tao
    <!--
109 2383 costa
    <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 3104 perry
      <load-on-startup>3</load-on-startup>
121 2383 costa
    </servlet>
122 4080 daigle
    -->
123
124 4943 costa
    <!--
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 3993 berkley
<servlet>
135 3104 perry
      <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 2383 costa
142 2799 tao
  <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 6253 leinfelder
162 8810 leinfelder
	<!-- CN REST Servlet v1 -->
163 6253 leinfelder
    <servlet>
164 8810 leinfelder
      <servlet-name>CNRestServletV1</servlet-name>
165
      <servlet-class>edu.ucsb.nceas.metacat.restservice.v1.CNRestServlet</servlet-class>
166 6253 leinfelder
      <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 6264 leinfelder
    </servlet>
176
177 8810 leinfelder
    <!-- CN REST Servlet v2 -->
178 6264 leinfelder
    <servlet>
179 8810 leinfelder
      <servlet-name>CNRestServletV2</servlet-name>
180
      <servlet-class>edu.ucsb.nceas.metacat.restservice.v2.CNRestServlet</servlet-class>
181 6264 leinfelder
      <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 8810 leinfelder
      <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 6264 leinfelder
      <load-on-startup>20</load-on-startup>
205
    </servlet>
206 8810 leinfelder
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 3194 berkley
222 2012 cjones
    <servlet-mapping>
223
        <servlet-name>metacat</servlet-name>
224
        <url-pattern>/metacat</url-pattern>
225
    </servlet-mapping>
226 3243 jones
227
    <servlet-mapping>
228
        <servlet-name>metacat</servlet-name>
229
        <url-pattern>/metacat/*</url-pattern>
230
    </servlet-mapping>
231 2511 tao
232
    <servlet-mapping>
233 3185 tao
        <servlet-name>metacat</servlet-name>
234
        <url-pattern>/servlet/metacat</url-pattern>
235
    </servlet-mapping>
236 4080 daigle
237
238
    <servlet-mapping>
239 5027 daigle
        <servlet-name>MetacatAdmin</servlet-name>
240 4080 daigle
        <url-pattern>/admin</url-pattern>
241
    </servlet-mapping>
242 5027 daigle
243 4080 daigle
    <servlet-mapping>
244 2511 tao
        <servlet-name>replication</servlet-name>
245 7541 leinfelder
        <url-pattern>/replication</url-pattern>
246 2575 tao
    </servlet-mapping>
247
248
    <servlet-mapping>
249
        <servlet-name>replication</servlet-name>
250
        <url-pattern>/servlet/replication</url-pattern>
251 2511 tao
    </servlet-mapping>
252 2012 cjones
253 2295 sgarg
    <servlet-mapping>
254
        <servlet-name>HarvesterRegistrationLogin</servlet-name>
255
        <url-pattern>/harvesterRegistrationLogin</url-pattern>
256
    </servlet-mapping>
257
258
    <servlet-mapping>
259
        <servlet-name>HarvesterRegistration</servlet-name>
260
        <url-pattern>/harvesterRegistration</url-pattern>
261
    </servlet-mapping>
262
263 2742 costa
    <servlet-mapping>
264
        <servlet-name>AdvancedSearchServlet</servlet-name>
265
        <url-pattern>/advancedSearchServlet</url-pattern>
266
    </servlet-mapping>
267 2799 tao
268
    <servlet-mapping>
269
    <servlet-name>AxisServlet</servlet-name>
270
    <url-pattern>/servlet/AxisServlet</url-pattern>
271
  </servlet-mapping>
272 2742 costa
273 2799 tao
  <servlet-mapping>
274
    <servlet-name>AxisServlet</servlet-name>
275
    <url-pattern>*.jws</url-pattern>
276
  </servlet-mapping>
277
278
  <servlet-mapping>
279
    <servlet-name>AxisServlet</servlet-name>
280
    <url-pattern>/services/*</url-pattern>
281
  </servlet-mapping>
282
283
  <servlet-mapping>
284
    <servlet-name>SOAPMonitorService</servlet-name>
285
    <url-pattern>/SOAPMonitor</url-pattern>
286
  </servlet-mapping>
287
288 5211 jones
289 8810 leinfelder
	<!-- CN REST services v1-->
290 6266 leinfelder
	<servlet-mapping>
291 8810 leinfelder
		<servlet-name>CNRestServletV1</servlet-name>
292 6441 leinfelder
		<url-pattern>/d1/cn/v1/*</url-pattern>
293
	</servlet-mapping>
294 6253 leinfelder
295 8810 leinfelder
	<!-- MN REST services v1 -->
296 6266 leinfelder
	<servlet-mapping>
297 8810 leinfelder
		<servlet-name>MNRestServletV1</servlet-name>
298
		<url-pattern>/d1/mn/v1/*</url-pattern>
299 6266 leinfelder
	</servlet-mapping>
300 8810 leinfelder
301
	<!-- CN REST services v2-->
302 6441 leinfelder
	<servlet-mapping>
303 8810 leinfelder
		<servlet-name>CNRestServletV2</servlet-name>
304
		<url-pattern>/d1/cn/v2/*</url-pattern>
305
	</servlet-mapping>
306
307
	<!-- MN REST services v2-->
308
	<servlet-mapping>
309
		<servlet-name>MNRestServletV2</servlet-name>
310
		<url-pattern>/d1/mn/v2/*</url-pattern>
311 6441 leinfelder
	</servlet-mapping>
312 6264 leinfelder
313 2799 tao
 <!-- uncomment this if you want the admin servlet -->
314
  <servlet-mapping>
315
    <servlet-name>AdminServlet</servlet-name>
316
    <url-pattern>/servlet/AdminServlet</url-pattern>
317
  </servlet-mapping>
318 3104 perry
319 4943 costa
  <!--
320
   <servlet-mapping>
321
    <servlet-name>DataProvider</servlet-name>
322
    <url-pattern>/dataProvider</url-pattern>
323
  </servlet-mapping>
324
  -->
325 7737 leinfelder
326 8832 leinfelder
	<!-- begin MyProxy portal delegation section. Uncomment to enable MyProxy -->
327
	<!--
328 7737 leinfelder
	<servlet>
329
        <servlet-name>startRequest</servlet-name>
330
        <servlet-class>edu.ucsb.nceas.metacat.portal.StartRequest</servlet-class>
331 7743 leinfelder
        <load-on-startup>0</load-on-startup>
332 7737 leinfelder
    </servlet>
333
    <servlet-mapping>
334
        <servlet-name>startRequest</servlet-name>
335
        <url-pattern>/startRequest</url-pattern>
336
    </servlet-mapping>
337
338
    <servlet>
339
        <servlet-name>ready</servlet-name>
340
        <servlet-class>edu.ucsb.nceas.metacat.portal.SuccessServlet</servlet-class>
341 7743 leinfelder
        <load-on-startup>0</load-on-startup>
342 7737 leinfelder
    </servlet>
343
    <servlet-mapping>
344
        <servlet-name>ready</servlet-name>
345
        <url-pattern>/ready</url-pattern>
346
    </servlet-mapping>
347
348
    <servlet>
349
        <servlet-name>error</servlet-name>
350
        <servlet-class>edu.ucsb.nceas.metacat.portal.FailureServlet</servlet-class>
351 7743 leinfelder
        <load-on-startup>0</load-on-startup>
352 7737 leinfelder
    </servlet>
353
    <servlet-mapping>
354
        <servlet-name>error</servlet-name>
355
        <url-pattern>/error</url-pattern>
356
    </servlet-mapping>
357 3104 perry
358 2012 cjones
    <session-config>
359 3104 perry
      <session-timeout>30000</session-timeout>
360 2012 cjones
    </session-config>
361 7737 leinfelder
362
    <listener>
363
        <listener-class>edu.uiuc.ncsa.myproxy.oa4mp.client.loader.ClientBootstrapper</listener-class>
364
    </listener>
365 3104 perry
366 7737 leinfelder
	<context-param>
367
        <param-name>oa4mp:client.config.file</param-name>
368 7743 leinfelder
        <param-value>/WEB-INF/oa4mp_client.xml</param-value>
369 7737 leinfelder
    </context-param>
370 8832 leinfelder
    -->
371 7737 leinfelder
    <!-- end MyProxy section -->
372
373 2799 tao
   <!-- currently the W3C havent settled on a media type for WSDL;
374
    http://www.w3.org/TR/2003/WD-wsdl12-20030303/#ietf-draft
375
    for now we go with the basic 'it's XML' response -->
376
  <mime-mapping>
377
    <extension>wsdl</extension>
378
     <mime-type>text/xml</mime-type>
379
  </mime-mapping>
380
381
  <mime-mapping>
382
    <extension>xsd</extension>
383
    <mime-type>text/xml</mime-type>
384
  </mime-mapping>
385 3104 perry
386
  <mime-mapping>
387
   <extension>xsl</extension>
388
   <mime-type>text/xml</mime-type>
389
  </mime-mapping>
390
391
  <welcome-file-list>
392
    <welcome-file>index.jsp</welcome-file>
393 3138 tao
    <welcome-file>index.html</welcome-file>
394 3104 perry
  </welcome-file-list>
395
396 4724 daigle
<security-constraint>
397
	<web-resource-collection>
398
		<web-resource-name>PROPERTIES</web-resource-name>
399
		<url-pattern>*.properties</url-pattern>
400
	</web-resource-collection>
401
	<auth-constraint/>
402
</security-constraint>
403
404 2012 cjones
</web-app>