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
    
93
    <servlet>
94
      <servlet-name>AxisServlet</servlet-name>
95
      <display-name>Apache-Axis Servlet</display-name>
96
      <servlet-class>
97
        org.apache.axis.transport.http.AxisServlet
98
      </servlet-class>
99
    </servlet>
100

    
101
    <servlet>
102
       <servlet-name>AdminServlet</servlet-name>
103
       <display-name>Axis Admin Servlet</display-name>
104
       <servlet-class>
105
          org.apache.axis.transport.http.AdminServlet
106
       </servlet-class>
107
       <load-on-startup>100</load-on-startup>
108
    </servlet>
109
    
110
    <servlet>
111
       <servlet-name>SOAPMonitorService</servlet-name>
112
       <display-name>SOAPMonitorService</display-name>
113
       <servlet-class>
114
          org.apache.axis.monitor.SOAPMonitorService
115
       </servlet-class>
116
       <init-param>
117
         <param-name>SOAPMonitorPort</param-name>
118
         <param-value>5001</param-value>
119
       </init-param>
120
       <load-on-startup>100</load-on-startup>
121
    </servlet>
122
    
123
    <servlet-mapping>
124
        <servlet-name>invoker</servlet-name>
125
        <url-pattern>/servlet/*</url-pattern>
126
    </servlet-mapping>
127

    
128
    <servlet-mapping>
129
        <servlet-name>metacat</servlet-name>
130
        <url-pattern>/metacat</url-pattern>
131
    </servlet-mapping>
132

    
133
    <servlet-mapping>
134
        <servlet-name>replication</servlet-name>
135
        <url-pattern>/replication</url-pattern>
136
    </servlet-mapping>
137

    
138
    <servlet-mapping>
139
        <servlet-name>HarvesterRegistrationLogin</servlet-name>
140
        <url-pattern>/harvesterRegistrationLogin</url-pattern>
141
    </servlet-mapping>
142

    
143
    <servlet-mapping>
144
        <servlet-name>HarvesterRegistration</servlet-name>
145
        <url-pattern>/harvesterRegistration</url-pattern>
146
    </servlet-mapping>
147

    
148
    <servlet-mapping>
149
        <servlet-name>AdvancedSearchServlet</servlet-name>
150
        <url-pattern>/advancedSearchServlet</url-pattern>
151
    </servlet-mapping>
152
    
153
    <servlet-mapping>
154
      <servlet-name>AxisServlet</servlet-name>
155
      <url-pattern>/servlet/AxisServlet</url-pattern>
156
    </servlet-mapping>
157

    
158
   <servlet-mapping>
159
    <servlet-name>AxisServlet</servlet-name>
160
    <url-pattern>*.jws</url-pattern>
161
   </servlet-mapping>
162

    
163
   <servlet-mapping>
164
    <servlet-name>AxisServlet</servlet-name>
165
    <url-pattern>/services/*</url-pattern>
166
   </servlet-mapping>
167

    
168
   <servlet-mapping>
169
    <servlet-name>SOAPMonitorService</servlet-name>
170
    <url-pattern>/SOAPMonitor</url-pattern>
171
   </servlet-mapping>
172

    
173
   <!-- uncomment this if you want the admin servlet -->
174
   <servlet-mapping>
175
    <servlet-name>AdminServlet</servlet-name>
176
    <url-pattern>/servlet/AdminServlet</url-pattern>
177
   </servlet-mapping>
178

    
179
    <session-config>
180
      <session-timeout>30</session-timeout>
181
    </session-config>
182
    
183
    <!-- currently the W3C havent settled on a media type for WSDL;
184
    http://www.w3.org/TR/2003/WD-wsdl12-20030303/#ietf-draft
185
    for now we go with the basic 'it's XML' response -->
186
    <mime-mapping>
187
       <extension>wsdl</extension>
188
       <mime-type>text/xml</mime-type>
189
    </mime-mapping>
190
  
191

    
192
    <mime-mapping>
193
      <extension>xsd</extension>
194
      <mime-type>text/xml</mime-type>
195
    </mime-mapping>
196
</web-app>
(48-48/52)