Project

General

Profile

metacat / lib / web.xml.tomcat4 @ 2932

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-mapping>
94
        <servlet-name>invoker</servlet-name>
95
        <url-pattern>/servlet/*</url-pattern>
96
    </servlet-mapping>
97

    
98
    <servlet-mapping>
99
        <servlet-name>metacat</servlet-name>
100
        <url-pattern>/metacat</url-pattern>
101
    </servlet-mapping>
102

    
103
    <servlet-mapping>
104
        <servlet-name>replication</servlet-name>
105
        <url-pattern>/replication</url-pattern>
106
    </servlet-mapping>
107

    
108
    <servlet-mapping>
109
        <servlet-name>HarvesterRegistrationLogin</servlet-name>
110
        <url-pattern>/harvesterRegistrationLogin</url-pattern>
111
    </servlet-mapping>
112

    
113
    <servlet-mapping>
114
        <servlet-name>HarvesterRegistration</servlet-name>
115
        <url-pattern>/harvesterRegistration</url-pattern>
116
    </servlet-mapping>
117

    
118
    <servlet-mapping>
119
        <servlet-name>AdvancedSearchServlet</servlet-name>
120
        <url-pattern>/advancedSearchServlet</url-pattern>
121
    </servlet-mapping>
122

    
123
    <session-config>
124
      <session-timeout>30</session-timeout>
125
    </session-config>
126
</web-app>