Project

General

Profile

« Previous | Next » 

Revision 2383

Add a new HarvesterServlet for running Harvester as a servlet. This eliminates the need to run Harvester in a terminal window. By default, the HarvesterServlet is commented out. The user documentation will be modified to instruct Harvester administrators to uncomment the servlet entry.

View differences:

lib/web.xml.tomcat3
93 93
      <load-on-startup>5</load-on-startup>
94 94
    </servlet>
95 95

  
96
    <!--
96 97
    <servlet>
98
      <servlet-name>HarvesterServlet</servlet-name>
99
      <servlet-class>edu.ucsb.nceas.metacat.harvesterClient.HarvesterServlet</servlet-class>
100
      <init-param>
101
        <param-name>debug</param-name>
102
        <param-value>1</param-value>
103
      </init-param>
104
      <init-param>
105
        <param-name>listings</param-name>
106
        <param-value>true</param-value>
107
      </init-param>
108
      <load-on-startup>1</load-on-startup>
109
    </servlet>
110
    -->
111

  
112
    <servlet>
97 113
      <servlet-name>replication</servlet-name>
98 114
       <description>
99 115
         The replication control servlet for metacat
lib/web.xml.tomcat4
68 68
      <load-on-startup>1</load-on-startup>
69 69
    </servlet>
70 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

  
71 87
    <servlet-mapping>
72 88
        <servlet-name>invoker</servlet-name>
73 89
        <url-pattern>/servlet/*</url-pattern>
lib/web.xml.tomcat5
69 69
    </servlet>
70 70

  
71 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
    <!--
72 88
    <servlet-mapping>
73 89
        <servlet-name>invoker</servlet-name>
74 90
        <url-pattern>/servlet/*</url-pattern>

Also available in: Unified diff