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
    <!--
72
    <servlet>
73
      <servlet-name>HarvesterServlet</servlet-name>
74
      <servlet-class>edu.ucsb.nceas.metacat.harvesterClient.HarvesterServlet</servlet-class>
75
      <init-param>
76
        <param-name>debug</param-name>
77
        <param-value>1</param-value>
78
      </init-param>
79
      <init-param>
80
        <param-name>listings</param-name>
81
        <param-value>true</param-value>
82
      </init-param>
83
      <load-on-startup>1</load-on-startup>
84
    </servlet>
85
    -->
86

    
87
    <servlet-mapping>
88
        <servlet-name>invoker</servlet-name>
89
        <url-pattern>/servlet/*</url-pattern>
90
    </servlet-mapping>
91

    
92
    <servlet-mapping>
93
        <servlet-name>metacat</servlet-name>
94
        <url-pattern>/metacat</url-pattern>
95
    </servlet-mapping>
96

    
97
    <servlet-mapping>
98
        <servlet-name>replication</servlet-name>
99
        <url-pattern>/replication</url-pattern>
100
    </servlet-mapping>
101

    
102
    <servlet-mapping>
103
        <servlet-name>HarvesterRegistrationLogin</servlet-name>
104
        <url-pattern>/harvesterRegistrationLogin</url-pattern>
105
    </servlet-mapping>
106

    
107
    <servlet-mapping>
108
        <servlet-name>HarvesterRegistration</servlet-name>
109
        <url-pattern>/harvesterRegistration</url-pattern>
110
    </servlet-mapping>
111

    
112
    <session-config>
113
      <session-timeout>30</session-timeout>
114
    </session-config>
115
</web-app>
(18-18/20)