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:

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>

Also available in: Unified diff