Project

General

Profile

1
<!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
    <display-name>Metacat</display-name>
7
    
8
    <context-param>
9
      <param-name>jones</param-name>
10
      <param-value>jones@nceas.ucsb.edu</param-value>
11
      <description>
12
      </description>
13
    </context-param>
14
    
15
    <servlet>
16
      <servlet-name>metacat</servlet-name>
17
      <servlet-class>edu.ucsb.nceas.metacat.MetaCatServlet</servlet-class>
18
      <init-param>
19
        <param-name>debug</param-name>
20
        <param-value>1</param-value>
21
      </init-param>
22
      <init-param>
23
        <param-name>listings</param-name>
24
        <param-value>true</param-value>
25
      </init-param>
26
      <load-on-startup>1</load-on-startup>
27
    </servlet>
28
    
29
     <servlet>
30
      <servlet-name>replication</servlet-name>
31
      <servlet-class>edu.ucsb.nceas.metacat.MetacatReplication</servlet-class>
32
      <init-param>
33
        <param-name>debug</param-name>
34
        <param-value>1</param-value>
35
      </init-param>
36
      <init-param>
37
        <param-name>listings</param-name>
38
        <param-value>true</param-value>
39
      </init-param>
40
      <load-on-startup>1</load-on-startup>
41
    </servlet>
42

    
43
    <servlet>
44
      <servlet-name>HarvesterRegistrationLogin</servlet-name>
45
      <servlet-class>edu.ucsb.nceas.metacat.harvesterClient.HarvesterRegistrationLogin</servlet-class>
46
      <init-param>
47
        <param-name>debug</param-name>
48
        <param-value>1</param-value>
49
      </init-param>
50
      <init-param>
51
        <param-name>listings</param-name>
52
        <param-value>true</param-value>
53
      </init-param>
54
      <load-on-startup>1</load-on-startup>
55
    </servlet>
56

    
57
    <servlet>
58
      <servlet-name>HarvesterRegistration</servlet-name>
59
      <servlet-class>edu.ucsb.nceas.metacat.harvesterClient.HarvesterRegistration</servlet-class>
60
      <init-param>
61
        <param-name>debug</param-name>
62
        <param-value>1</param-value>
63
      </init-param>
64
      <init-param>
65
        <param-name>listings</param-name>
66
        <param-value>true</param-value>
67
      </init-param>
68
      <load-on-startup>1</load-on-startup>
69
    </servlet>
70

    
71
    <servlet>
72
        <servlet-name>AdvancedSearchServlet</servlet-name>
73
        <servlet-class>edu.ucsb.nceas.metacat.advancedsearch.AdvancedSearchServlet</servlet-class>
74
        <load-on-startup>2</load-on-startup>
75
    </servlet>
76

    
77
    <!--
78
    <servlet>
79
      <servlet-name>HarvesterServlet</servlet-name>
80
      <servlet-class>edu.ucsb.nceas.metacat.harvesterClient.HarvesterServlet</servlet-class>
81
      <init-param>
82
        <param-name>debug</param-name>
83
        <param-value>1</param-value>
84
      </init-param>
85
      <init-param>
86
        <param-name>listings</param-name>
87
        <param-value>true</param-value>
88
      </init-param>
89
      <load-on-startup>1</load-on-startup>
90
    </servlet>
91
    -->
92
    <servlet>
93
    <servlet-name>AxisServlet</servlet-name>
94
    <display-name>Apache-Axis Servlet</display-name>
95
    <servlet-class>
96
        org.apache.axis.transport.http.AxisServlet
97
    </servlet-class>
98
  </servlet>
99

    
100
  <servlet>
101
    <servlet-name>AdminServlet</servlet-name>
102
    <display-name>Axis Admin Servlet</display-name>
103
    <servlet-class>
104
        org.apache.axis.transport.http.AdminServlet
105
    </servlet-class>
106
    <load-on-startup>100</load-on-startup>
107
  </servlet>
108

    
109
  <servlet>
110
    <servlet-name>SOAPMonitorService</servlet-name>
111
    <display-name>SOAPMonitorService</display-name>
112
    <servlet-class>
113
        org.apache.axis.monitor.SOAPMonitorService
114
    </servlet-class>
115
    <init-param>
116
      <param-name>SOAPMonitorPort</param-name>
117
      <param-value>5001</param-value>
118
    </init-param>
119
    <load-on-startup>100</load-on-startup>
120
  </servlet>
121

    
122
    <!-- <servlet-mapping>
123
        <servlet-name>metacat</servlet-name>
124
        <url-pattern>/servlet/metacat/*</url-pattern>
125
    </servlet-mapping> -->
126

    
127
    <servlet-mapping>
128
        <servlet-name>metacat</servlet-name>
129
        <url-pattern>/metacat</url-pattern>
130
    </servlet-mapping>
131
    
132
    <servlet-mapping>
133
        <servlet-name>replication</servlet-name>
134
        <url-pattern>replication</url-pattern>
135
    </servlet-mapping> 
136
   
137
    <servlet-mapping>
138
        <servlet-name>replication</servlet-name>
139
        <url-pattern>/servlet/replication</url-pattern>
140
    </servlet-mapping>
141

    
142
    <servlet-mapping>
143
        <servlet-name>HarvesterRegistrationLogin</servlet-name>
144
        <url-pattern>/harvesterRegistrationLogin</url-pattern>
145
    </servlet-mapping>
146

    
147
    <servlet-mapping>
148
        <servlet-name>HarvesterRegistration</servlet-name>
149
        <url-pattern>/harvesterRegistration</url-pattern>
150
    </servlet-mapping>
151

    
152
    <servlet-mapping>
153
        <servlet-name>AdvancedSearchServlet</servlet-name>
154
        <url-pattern>/advancedSearchServlet</url-pattern>
155
    </servlet-mapping>
156
     
157
    <servlet-mapping>
158
    <servlet-name>AxisServlet</servlet-name>
159
    <url-pattern>/servlet/AxisServlet</url-pattern>
160
  </servlet-mapping>
161

    
162
  <servlet-mapping>
163
    <servlet-name>AxisServlet</servlet-name>
164
    <url-pattern>*.jws</url-pattern>
165
  </servlet-mapping>
166

    
167
  <servlet-mapping>
168
    <servlet-name>AxisServlet</servlet-name>
169
    <url-pattern>/services/*</url-pattern>
170
  </servlet-mapping>
171

    
172
  <servlet-mapping>
173
    <servlet-name>SOAPMonitorService</servlet-name>
174
    <url-pattern>/SOAPMonitor</url-pattern>
175
  </servlet-mapping>
176

    
177
 <!-- uncomment this if you want the admin servlet -->
178
  <servlet-mapping>
179
    <servlet-name>AdminServlet</servlet-name>
180
    <url-pattern>/servlet/AdminServlet</url-pattern>
181
  </servlet-mapping>
182
    
183
    <session-config>
184
      <session-timeout>30</session-timeout>
185
    </session-config>
186
    
187
   <!-- currently the W3C havent settled on a media type for WSDL;
188
    http://www.w3.org/TR/2003/WD-wsdl12-20030303/#ietf-draft
189
    for now we go with the basic 'it's XML' response -->
190
  <mime-mapping>
191
    <extension>wsdl</extension>
192
     <mime-type>text/xml</mime-type>
193
  </mime-mapping>
194
  
195

    
196
  <mime-mapping>
197
    <extension>xsd</extension>
198
    <mime-type>text/xml</mime-type>
199
  </mime-mapping>
200
</web-app>
(24-24/27)