Project

General

Profile

1 2012 cjones
<!DOCTYPE web-app
2
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
3
        "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
4
5
<web-app>
6 3104 perry
7
 <display-name>Metacat</display-name>
8
9 2012 cjones
    <context-param>
10
      <param-name>jones</param-name>
11
      <param-value>jones@nceas.ucsb.edu</param-value>
12
      <description>
13
      </description>
14
    </context-param>
15 2799 tao
16 5027 daigle
    <context-param>
17
      <param-name>configFileName</param-name>
18
      <param-value>metacat.properties</param-value>
19
      <description>The main configuration file for application</description>
20
    </context-param>
21 3104 perry
22 5750 berkley
  <!-- D1 filters -->
23
  <filter>
24
    <filter-name>D1URLFilter</filter-name>
25
    <filter-class>edu.ucsb.nceas.metacat.restservice.D1URLFilter</filter-class>
26
  </filter>
27
28
  <filter-mapping>
29
    <filter-name>D1URLFilter</filter-name>
30
    <url-pattern>/d1/*</url-pattern>
31
    <dispatcher>REQUEST</dispatcher>
32
  </filter-mapping>
33 3104 perry
34 2012 cjones
    <servlet>
35
      <servlet-name>metacat</servlet-name>
36
      <servlet-class>edu.ucsb.nceas.metacat.MetaCatServlet</servlet-class>
37
      <init-param>
38
        <param-name>debug</param-name>
39
        <param-value>1</param-value>
40
      </init-param>
41
      <init-param>
42
        <param-name>listings</param-name>
43
        <param-value>true</param-value>
44
      </init-param>
45 3104 perry
      <load-on-startup>2</load-on-startup>
46 2012 cjones
    </servlet>
47
48 4080 daigle
    <servlet>
49 5027 daigle
      <servlet-name>MetacatAdmin</servlet-name>
50
      <servlet-class>edu.ucsb.nceas.metacat.admin.MetacatAdminServlet</servlet-class>
51 4080 daigle
      <init-param>
52
        <param-name>debug</param-name>
53
        <param-value>1</param-value>
54
      </init-param>
55
      <init-param>
56
        <param-name>listings</param-name>
57
        <param-value>true</param-value>
58
      </init-param>
59
      <load-on-startup>3</load-on-startup>
60
    </servlet>
61
62 2012 cjones
     <servlet>
63
      <servlet-name>replication</servlet-name>
64 5027 daigle
      <servlet-class>edu.ucsb.nceas.metacat.replication.ReplicationServlet</servlet-class>
65 2012 cjones
      <init-param>
66
        <param-name>debug</param-name>
67
        <param-value>1</param-value>
68
      </init-param>
69
      <init-param>
70
        <param-name>listings</param-name>
71
        <param-value>true</param-value>
72
      </init-param>
73 3104 perry
      <load-on-startup>3</load-on-startup>
74 2012 cjones
    </servlet>
75
76 2295 sgarg
    <servlet>
77
      <servlet-name>HarvesterRegistrationLogin</servlet-name>
78
      <servlet-class>edu.ucsb.nceas.metacat.harvesterClient.HarvesterRegistrationLogin</servlet-class>
79
      <init-param>
80
        <param-name>debug</param-name>
81
        <param-value>1</param-value>
82
      </init-param>
83
      <init-param>
84
        <param-name>listings</param-name>
85
        <param-value>true</param-value>
86
      </init-param>
87 3104 perry
      <load-on-startup>3</load-on-startup>
88 2295 sgarg
    </servlet>
89
90
    <servlet>
91
      <servlet-name>HarvesterRegistration</servlet-name>
92
      <servlet-class>edu.ucsb.nceas.metacat.harvesterClient.HarvesterRegistration</servlet-class>
93
      <init-param>
94
        <param-name>debug</param-name>
95
        <param-value>1</param-value>
96
      </init-param>
97
      <init-param>
98
        <param-name>listings</param-name>
99
        <param-value>true</param-value>
100
      </init-param>
101 3104 perry
      <load-on-startup>3</load-on-startup>
102 2295 sgarg
    </servlet>
103
104 2742 costa
    <servlet>
105
        <servlet-name>AdvancedSearchServlet</servlet-name>
106
        <servlet-class>edu.ucsb.nceas.metacat.advancedsearch.AdvancedSearchServlet</servlet-class>
107 3104 perry
        <load-on-startup>3</load-on-startup>
108 2742 costa
    </servlet>
109
110 4078 tao
    <!--
111 2383 costa
    <servlet>
112
      <servlet-name>HarvesterServlet</servlet-name>
113
      <servlet-class>edu.ucsb.nceas.metacat.harvesterClient.HarvesterServlet</servlet-class>
114
      <init-param>
115
        <param-name>debug</param-name>
116
        <param-value>1</param-value>
117
      </init-param>
118
      <init-param>
119
        <param-name>listings</param-name>
120
        <param-value>true</param-value>
121
      </init-param>
122 3104 perry
      <load-on-startup>3</load-on-startup>
123 2383 costa
    </servlet>
124 4080 daigle
    -->
125
126 4943 costa
    <!--
127
    <servlet>
128
      <servlet-name>DataProvider</servlet-name>
129
      <description>Processes OAI verbs for Metacat OAI-PMH Data Provider (MODP)
130
      </description>
131
      <servlet-class>edu.ucsb.nceas.metacat.oaipmh.provider.server.OAIHandler</servlet-class>
132
      <load-on-startup>4</load-on-startup>
133
    </servlet>
134
    -->
135
136 3993 berkley
<servlet>
137 3104 perry
      <servlet-name>AxisServlet</servlet-name>
138
      <display-name>Apache-Axis Servlet</display-name>
139
      <servlet-class>
140
          org.apache.axis.transport.http.AxisServlet
141
      </servlet-class>
142
      <load-on-startup>3</load-on-startup>
143
    </servlet>
144 2383 costa
145 2799 tao
  <servlet>
146
    <servlet-name>AdminServlet</servlet-name>
147
    <display-name>Axis Admin Servlet</display-name>
148
    <servlet-class>
149
        org.apache.axis.transport.http.AdminServlet
150
    </servlet-class>
151
    <load-on-startup>100</load-on-startup>
152
  </servlet>
153
154
  <servlet>
155
    <servlet-name>SOAPMonitorService</servlet-name>
156
    <display-name>SOAPMonitorService</display-name>
157
    <servlet-class>
158
        org.apache.axis.monitor.SOAPMonitorService
159
    </servlet-class>
160
    <init-param>
161
      <param-name>SOAPMonitorPort</param-name>
162
      <param-value>5001</param-value>
163
    </init-param>
164
    <load-on-startup>100</load-on-startup>
165
  </servlet>
166
167 5211 jones
<!-- REST Servlet -->
168
    <servlet>
169
      <servlet-name>RestServlet</servlet-name>
170
      <servlet-class>edu.ucsb.nceas.metacat.restservice.RestServlet</servlet-class>
171
      <init-param>
172
        <param-name>debug</param-name>
173
        <param-value>1</param-value>
174
      </init-param>
175
      <init-param>
176
        <param-name>listings</param-name>
177
        <param-value>true</param-value>
178
      </init-param>
179
      <load-on-startup>10</load-on-startup>
180
    </servlet>
181 3194 berkley
182 2012 cjones
    <servlet-mapping>
183
        <servlet-name>metacat</servlet-name>
184
        <url-pattern>/metacat</url-pattern>
185
    </servlet-mapping>
186 3243 jones
187
    <servlet-mapping>
188
        <servlet-name>metacat</servlet-name>
189
        <url-pattern>/metacat/*</url-pattern>
190
    </servlet-mapping>
191 2511 tao
192
    <servlet-mapping>
193 3185 tao
        <servlet-name>metacat</servlet-name>
194
        <url-pattern>/servlet/metacat</url-pattern>
195
    </servlet-mapping>
196 4080 daigle
197
198
    <servlet-mapping>
199 5027 daigle
        <servlet-name>MetacatAdmin</servlet-name>
200 4080 daigle
        <url-pattern>/admin</url-pattern>
201
    </servlet-mapping>
202 5027 daigle
203 4080 daigle
    <servlet-mapping>
204 2511 tao
        <servlet-name>replication</servlet-name>
205 2575 tao
        <url-pattern>replication</url-pattern>
206
    </servlet-mapping>
207
208
    <servlet-mapping>
209
        <servlet-name>replication</servlet-name>
210
        <url-pattern>/servlet/replication</url-pattern>
211 2511 tao
    </servlet-mapping>
212 2012 cjones
213 2295 sgarg
    <servlet-mapping>
214
        <servlet-name>HarvesterRegistrationLogin</servlet-name>
215
        <url-pattern>/harvesterRegistrationLogin</url-pattern>
216
    </servlet-mapping>
217
218
    <servlet-mapping>
219
        <servlet-name>HarvesterRegistration</servlet-name>
220
        <url-pattern>/harvesterRegistration</url-pattern>
221
    </servlet-mapping>
222
223 2742 costa
    <servlet-mapping>
224
        <servlet-name>AdvancedSearchServlet</servlet-name>
225
        <url-pattern>/advancedSearchServlet</url-pattern>
226
    </servlet-mapping>
227 2799 tao
228
    <servlet-mapping>
229
    <servlet-name>AxisServlet</servlet-name>
230
    <url-pattern>/servlet/AxisServlet</url-pattern>
231
  </servlet-mapping>
232 2742 costa
233 2799 tao
  <servlet-mapping>
234
    <servlet-name>AxisServlet</servlet-name>
235
    <url-pattern>*.jws</url-pattern>
236
  </servlet-mapping>
237
238
  <servlet-mapping>
239
    <servlet-name>AxisServlet</servlet-name>
240
    <url-pattern>/services/*</url-pattern>
241
  </servlet-mapping>
242
243
  <servlet-mapping>
244
    <servlet-name>SOAPMonitorService</servlet-name>
245
    <url-pattern>/SOAPMonitor</url-pattern>
246
  </servlet-mapping>
247
248 5211 jones
    <servlet-mapping>
249
        <servlet-name>RestServlet</servlet-name>
250 5691 berkley
        <url-pattern>/d1/object/*</url-pattern>
251 5211 jones
    </servlet-mapping>
252 5355 berkley
253
    <servlet-mapping>
254
        <servlet-name>RestServlet</servlet-name>
255 5799 berkley
        <url-pattern>/d1/replicate/*</url-pattern>
256
    </servlet-mapping>
257
258
    <servlet-mapping>
259
        <servlet-name>RestServlet</servlet-name>
260 5691 berkley
        <url-pattern>/d1/meta/*</url-pattern>
261 5355 berkley
    </servlet-mapping>
262 5211 jones
263
    <servlet-mapping>
264
        <servlet-name>RestServlet</servlet-name>
265 5691 berkley
        <url-pattern>/d1/session/*</url-pattern>
266 5211 jones
    </servlet-mapping>
267
268
    <servlet-mapping>
269
        <servlet-name>RestServlet</servlet-name>
270 5691 berkley
        <url-pattern>/d1/identifier/*</url-pattern>
271 5211 jones
    </servlet-mapping>
272 5391 berkley
273
    <servlet-mapping>
274
        <servlet-name>RestServlet</servlet-name>
275 5691 berkley
        <url-pattern>/d1/log/*</url-pattern>
276 5391 berkley
    </servlet-mapping>
277 5644 berkley
278
    <servlet-mapping>
279
        <servlet-name>RestServlet</servlet-name>
280 5691 berkley
        <url-pattern>/d1/checksum/*</url-pattern>
281 5644 berkley
    </servlet-mapping>
282 5763 berkley
283
    <servlet-mapping>
284
        <servlet-name>RestServlet</servlet-name>
285
        <url-pattern>/d1/monitor/*</url-pattern>
286
    </servlet-mapping>
287 5211 jones
288 5692 berkley
    <servlet-mapping>
289
        <servlet-name>RestServlet</servlet-name>
290
        <url-pattern>/d1/*</url-pattern>
291
    </servlet-mapping>
292 5211 jones
293 2799 tao
 <!-- uncomment this if you want the admin servlet -->
294
  <servlet-mapping>
295
    <servlet-name>AdminServlet</servlet-name>
296
    <url-pattern>/servlet/AdminServlet</url-pattern>
297
  </servlet-mapping>
298 3104 perry
299 4943 costa
  <!--
300
   <servlet-mapping>
301
    <servlet-name>DataProvider</servlet-name>
302
    <url-pattern>/dataProvider</url-pattern>
303
  </servlet-mapping>
304
  -->
305 3104 perry
306 2012 cjones
    <session-config>
307 3104 perry
      <session-timeout>30000</session-timeout>
308 2012 cjones
    </session-config>
309 3104 perry
310 2799 tao
311
   <!-- currently the W3C havent settled on a media type for WSDL;
312
    http://www.w3.org/TR/2003/WD-wsdl12-20030303/#ietf-draft
313
    for now we go with the basic 'it's XML' response -->
314
  <mime-mapping>
315
    <extension>wsdl</extension>
316
     <mime-type>text/xml</mime-type>
317
  </mime-mapping>
318
319
  <mime-mapping>
320
    <extension>xsd</extension>
321
    <mime-type>text/xml</mime-type>
322
  </mime-mapping>
323 3104 perry
324
  <mime-mapping>
325
   <extension>xsl</extension>
326
   <mime-type>text/xml</mime-type>
327
  </mime-mapping>
328
329
  <welcome-file-list>
330
    <welcome-file>index.jsp</welcome-file>
331 3138 tao
    <welcome-file>index.html</welcome-file>
332 3104 perry
  </welcome-file-list>
333
334 4724 daigle
<security-constraint>
335
	<web-resource-collection>
336
		<web-resource-name>PROPERTIES</web-resource-name>
337
		<url-pattern>*.properties</url-pattern>
338
	</web-resource-collection>
339
	<auth-constraint/>
340
</security-constraint>
341
342 2012 cjones
</web-app>