Project

General

Profile

« Previous | Next » 

Revision 2295

Added by sgarg over 20 years ago

Added harvester servlets to the web.xml files.

View differences:

lib/web.xml.tomcat3
76 76
    </servlet>
77 77
    
78 78
    <servlet>
79
      <servlet-name>HarvesterRegistration</servlet-name>
80
       <description>
81
         The replication control servlet for metacat
82
       </description>
83
      <servlet-class>edu.ucsb.nceas.metacat.harvesterClient.HarvesterRegistration</servlet-class>
84
      <load-on-startup>5</load-on-startup>
85
    </servlet>
86

  
87
    <servlet>
88
      <servlet-name>HarvesterRegistrationLogin</servlet-name>
89
       <description>
90
         The replication control servlet for metacat
91
       </description>
92
      <servlet-class>edu.ucsb.nceas.metacat.harvesterClient.HarvesterRegistrationLogin</servlet-class>
93
      <load-on-startup>5</load-on-startup>
94
    </servlet>
95

  
96
    <servlet>
79 97
      <servlet-name>replication</servlet-name>
80 98
       <description>
81 99
         The replication control servlet for metacat
......
84 102
      <load-on-startup>5</load-on-startup>
85 103
    </servlet>
86 104

  
87

  
88 105
    <!-- Define mappings that are used by the servlet container to
89 106
         translate a particular request URI (context-relative) to a
90 107
         particular servlet.  The examples below correspond to the
......
107 124
      <servlet-name>metacat</servlet-name>
108 125
      <url-pattern>/metacat</url-pattern>
109 126
    </servlet-mapping>
127

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

  
133
    <servlet-mapping>
134
        <servlet-name>HarvesterRegistration</servlet-name>
135
        <url-pattern>/harvesterRegistration</url-pattern>
136
    </servlet-mapping>
110 137
    
111 138
    <!-- Define the default session timeout for your application,
112 139
         in minutes.  From a servlet or JSP page, you can modify
lib/web.xml.tomcat4
40 40
      <load-on-startup>1</load-on-startup>
41 41
    </servlet>
42 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

  
43 71
    <servlet-mapping>
44 72
        <servlet-name>invoker</servlet-name>
45 73
        <url-pattern>/servlet/*</url-pattern>
......
50 78
        <url-pattern>/metacat</url-pattern>
51 79
    </servlet-mapping>
52 80

  
81
    <servlet-mapping>
82
        <servlet-name>HarvesterRegistrationLogin</servlet-name>
83
        <url-pattern>/harvesterRegistrationLogin</url-pattern>
84
    </servlet-mapping>
85

  
86
    <servlet-mapping>
87
        <servlet-name>HarvesterRegistration</servlet-name>
88
        <url-pattern>/harvesterRegistration</url-pattern>
89
    </servlet-mapping>
90

  
53 91
    <session-config>
54 92
      <session-timeout>30</session-timeout>
55 93
    </session-config>
lib/web.xml.tomcat5
40 40
      <load-on-startup>1</load-on-startup>
41 41
    </servlet>
42 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

  
43 71
    <!--
44 72
    <servlet-mapping>
45 73
        <servlet-name>invoker</servlet-name>
......
52 80
        <url-pattern>/metacat</url-pattern>
53 81
    </servlet-mapping>
54 82

  
83
    <servlet-mapping>
84
        <servlet-name>HarvesterRegistrationLogin</servlet-name>
85
        <url-pattern>/harvesterRegistrationLogin</url-pattern>
86
    </servlet-mapping>
87

  
88
    <servlet-mapping>
89
        <servlet-name>HarvesterRegistration</servlet-name>
90
        <url-pattern>/harvesterRegistration</url-pattern>
91
    </servlet-mapping>
92

  
55 93
    <session-config>
56 94
      <session-timeout>30</session-timeout>
57 95
    </session-config>

Also available in: Unified diff