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 6264 leinfelder
	<!-- CN REST Servlet -->
163 6253 leinfelder
    <servlet>
164
      <servlet-name>CNRestServlet</servlet-name>
165
      <servlet-class>edu.ucsb.nceas.metacat.restservice.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 6264 leinfelder
    </servlet>
176
177
    <!-- MN REST Servlet -->
178
    <servlet>
179
      <servlet-name>MNRestServlet</servlet-name>
180
      <servlet-class>edu.ucsb.nceas.metacat.restservice.MNRestServlet</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>20</load-on-startup>
190
    </servlet>
191 3194 berkley
192 2012 cjones
    <servlet-mapping>
193
        <servlet-name>metacat</servlet-name>
194
        <url-pattern>/metacat</url-pattern>
195
    </servlet-mapping>
196 3243 jones
197
    <servlet-mapping>
198
        <servlet-name>metacat</servlet-name>
199
        <url-pattern>/metacat/*</url-pattern>
200
    </servlet-mapping>
201 2511 tao
202
    <servlet-mapping>
203 3185 tao
        <servlet-name>metacat</servlet-name>
204
        <url-pattern>/servlet/metacat</url-pattern>
205
    </servlet-mapping>
206 4080 daigle
207
208
    <servlet-mapping>
209 5027 daigle
        <servlet-name>MetacatAdmin</servlet-name>
210 4080 daigle
        <url-pattern>/admin</url-pattern>
211
    </servlet-mapping>
212 5027 daigle
213 4080 daigle
    <servlet-mapping>
214 2511 tao
        <servlet-name>replication</servlet-name>
215 7541 leinfelder
        <url-pattern>/replication</url-pattern>
216 2575 tao
    </servlet-mapping>
217
218
    <servlet-mapping>
219
        <servlet-name>replication</servlet-name>
220
        <url-pattern>/servlet/replication</url-pattern>
221 2511 tao
    </servlet-mapping>
222 2012 cjones
223 2295 sgarg
    <servlet-mapping>
224
        <servlet-name>HarvesterRegistrationLogin</servlet-name>
225
        <url-pattern>/harvesterRegistrationLogin</url-pattern>
226
    </servlet-mapping>
227
228
    <servlet-mapping>
229
        <servlet-name>HarvesterRegistration</servlet-name>
230
        <url-pattern>/harvesterRegistration</url-pattern>
231
    </servlet-mapping>
232
233 2742 costa
    <servlet-mapping>
234
        <servlet-name>AdvancedSearchServlet</servlet-name>
235
        <url-pattern>/advancedSearchServlet</url-pattern>
236
    </servlet-mapping>
237 2799 tao
238
    <servlet-mapping>
239
    <servlet-name>AxisServlet</servlet-name>
240
    <url-pattern>/servlet/AxisServlet</url-pattern>
241
  </servlet-mapping>
242 2742 costa
243 2799 tao
  <servlet-mapping>
244
    <servlet-name>AxisServlet</servlet-name>
245
    <url-pattern>*.jws</url-pattern>
246
  </servlet-mapping>
247
248
  <servlet-mapping>
249
    <servlet-name>AxisServlet</servlet-name>
250
    <url-pattern>/services/*</url-pattern>
251
  </servlet-mapping>
252
253
  <servlet-mapping>
254
    <servlet-name>SOAPMonitorService</servlet-name>
255
    <url-pattern>/SOAPMonitor</url-pattern>
256
  </servlet-mapping>
257
258 5211 jones
259 6253 leinfelder
	<!-- CN REST services -->
260 6266 leinfelder
	<servlet-mapping>
261
		<servlet-name>CNRestServlet</servlet-name>
262
		<url-pattern>/d1/cn/*</url-pattern>
263
	</servlet-mapping>
264 6441 leinfelder
	<servlet-mapping>
265
		<servlet-name>CNRestServlet</servlet-name>
266
		<url-pattern>/d1/cn/v1/*</url-pattern>
267
	</servlet-mapping>
268 6253 leinfelder
269 6264 leinfelder
	<!-- MN REST services -->
270 6266 leinfelder
	<servlet-mapping>
271
		<servlet-name>MNRestServlet</servlet-name>
272
		<url-pattern>/d1/mn/*</url-pattern>
273
	</servlet-mapping>
274 6441 leinfelder
	<servlet-mapping>
275
		<servlet-name>MNRestServlet</servlet-name>
276
		<url-pattern>/d1/mn/v1/*</url-pattern>
277
	</servlet-mapping>
278 6264 leinfelder
279 2799 tao
 <!-- uncomment this if you want the admin servlet -->
280
  <servlet-mapping>
281
    <servlet-name>AdminServlet</servlet-name>
282
    <url-pattern>/servlet/AdminServlet</url-pattern>
283
  </servlet-mapping>
284 3104 perry
285 4943 costa
  <!--
286
   <servlet-mapping>
287
    <servlet-name>DataProvider</servlet-name>
288
    <url-pattern>/dataProvider</url-pattern>
289
  </servlet-mapping>
290
  -->
291 7737 leinfelder
292
	<!-- begin MyProxy portal delegation section -->
293
	<servlet>
294
        <servlet-name>startRequest</servlet-name>
295
        <servlet-class>edu.ucsb.nceas.metacat.portal.StartRequest</servlet-class>
296 7743 leinfelder
        <load-on-startup>0</load-on-startup>
297 7737 leinfelder
    </servlet>
298
    <servlet-mapping>
299
        <servlet-name>startRequest</servlet-name>
300
        <url-pattern>/startRequest</url-pattern>
301
    </servlet-mapping>
302
303
    <servlet>
304
        <servlet-name>ready</servlet-name>
305
        <servlet-class>edu.ucsb.nceas.metacat.portal.SuccessServlet</servlet-class>
306 7743 leinfelder
        <load-on-startup>0</load-on-startup>
307 7737 leinfelder
    </servlet>
308
    <servlet-mapping>
309
        <servlet-name>ready</servlet-name>
310
        <url-pattern>/ready</url-pattern>
311
    </servlet-mapping>
312
313
    <servlet>
314
        <servlet-name>error</servlet-name>
315
        <servlet-class>edu.ucsb.nceas.metacat.portal.FailureServlet</servlet-class>
316 7743 leinfelder
        <load-on-startup>0</load-on-startup>
317 7737 leinfelder
    </servlet>
318
    <servlet-mapping>
319
        <servlet-name>error</servlet-name>
320
        <url-pattern>/error</url-pattern>
321
    </servlet-mapping>
322 3104 perry
323 2012 cjones
    <session-config>
324 3104 perry
      <session-timeout>30000</session-timeout>
325 2012 cjones
    </session-config>
326 7737 leinfelder
327
    <listener>
328
        <listener-class>edu.uiuc.ncsa.myproxy.oa4mp.client.loader.ClientBootstrapper</listener-class>
329
    </listener>
330 3104 perry
331 7737 leinfelder
	<!-- TODO: make relative path if possible -->
332
	<context-param>
333
        <param-name>oa4mp:client.config.file</param-name>
334 7743 leinfelder
        <param-value>/WEB-INF/oa4mp_client.xml</param-value>
335 7737 leinfelder
    </context-param>
336 2799 tao
337 7737 leinfelder
    <!-- end MyProxy section -->
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>