allow running the Harvester client without a source code checkout. (D. Blankman comments)
add slash for harvesterRegistration redirect.
Properly initialize the servlet context when starting alternate servlets, which makes sure that the configuration files have been loaded and config properties are available.
do not read from the inputstream before passing it off to the SAXParser
Fix for Bug #4637 - Metacat Harvester fails to catch some insert and update failures. As per comments in the bug entry, the Metacat Harvester logic has been modified to examine the Metacat client return string to confirm that it contains the substring "<success>" following an insert or update operation. It no longer considers just the absence of an exception as indicative of a successful operation.
Change location of PropertyService to properties directory
Create database and shared directories for database management code and shared code respectively.
Implement fix for Bug #4245: Harvester command line scripts don't execute.
Remove the configuration directory from the PropertyService constructor
Qualify harvester properties
Replace Options class with PropertyService
Create PropertyService using log directory instead of servlet context.
Merge 1.9 changes into Head
Two changes to Metacat Harvester implementation:
(1) Removed call to deprecated Thread.stop() method. Added boolean class variable, Harvester.keepRunning. When the thread is destroyed, set Harvester.keepRunning to false.
(2) Access the harvestList.xsd schema file by finding it locally in the web application rather than via a URL to cvs.ecoinformatics.org.
Remove CR characters from end of line. Formatting changes only, no functional changes.
Minor change to diagnostic output.
Change the maximum code level reported to the site contact from "info" to "notice". This is to reduce the amount of diagnostic output generated in the email reports to the site contact. Diagnositcs of type "error", "warning", and "notice" will be sent to the site contact, while messages of type "info" and "debug" will not (but they will still be sent to the Harvester Administrator).
Fixed bug in command-line mode which caused array index out of bounds exception.
Changed default maxHarvests value to 0. Added logic to ignore maxHarvests value when it is set to 0 or a negative number. This allows Harvester to run indefinitely without shutting down after reaching a maximum number of harvests. The previous default value of 30 would cause Harvester to terminate after 30 harvests.
Implement 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 in lib/web.xml.tomcat(3,4,5). The user documentation will be modified to instruct Harvester administrators to uncomment the HarvesterServlet entry.
Re-implement logic to prune old log entries from the HARVEST_LOG and HARVEST_DETAIL_LOG tables. The old logic caused integrity constraint violations in the database because it tried to delete parent records from HARVEST_LOG prior to deleting child records from HARVEST_DETAIL_LOG....
Increase number of rows in harvest list from 300 to 1200.
Change default document type in Harvest List Editor to eml-2.0.1.
Remove DOS end-of-line carriage returns.Other minor formatting improvements to the code.
Modify value of redirect to match the servlet-mapping URL values in web.xml. The old value used the servlet class name. This worked in Tomcat 4 but seems to break in Tomcat 5 on Windows. The new value uses the servlet-mapping URL value. This should work in both Tomcat 4 and Tomcat 5.
Minor enhancement to support multiple email addresses for harvester administrator and site contact. Each address is separated by a comma or semicolon.
Compose the Metacat URL from the httpserver and the servletpath properties, replacing hard-coded references to servlet.
Send redirect to HarvesterRegistration, instead of using the full class name which works on Tomcat-only installations but not with Apache.
Change the date format to one that is standard on both Oracle and Postgres.
Add warning if default harvest list file is not found on disk.
Change relative path to harvestList.xsd schema to allow harvest list editor to run standalone.
Improvements to Harvester registration web form.
Add diagnostic output
Improve handling of default values.Call fileNew() if no default Harvest List file is specified.Improve documentation for default properties.
Add File Validate menu itemAdd column to display the row numberAdd name of file to the title barLoad properties from .harvestListEditor in home directory instead of from metacat.properties
Harvest List Editor, a GUI tool for editing Harvest List XML files
Store session attributes as username and password for consistency with Metacat
Improvements to Harvester registration form
Improve Harvester registration login
Integrate Harvester properties with build.properties and metacat.properties.Eliminate the need for a separate harvester.properties file.Improve email message to the site to include more summary information.
Refactored a number of methods to allow for more effective JUnit testing
Changes to comments
Replace Harvester dbDriver property with database property
Allow user to set frequency to 0 for testing purposes
Modify schema location
Rename url property to defaultDB
Omit HARVEST_OPERATION_TABLE and store harvest operations in properties file instead
Implement sending email reports to harvest administrator and site administrator
Added GPL license text to harvester source files.
Implement harvester scheduing capabilities and sending email reports to the Harvester Administrator
Validate user input data in registration servlet
Improve authorization logic for single file uload servlet
Add delete capability to single file upload servlet
Implement Harvester Registration Servlet
Additional scheduling logic
Changes to Harvester properties
Changes to log entries
Additional Harvester development
Additional development of Harvester implementation
Harvester source files
Improvements to Harvester single file upload servlets
Remove unneeded file Upload999.java
MetaCat Servlet changed to get correct docid
EML interface Login Servlet
Metacat EMl Upload Interface