Fix for bug# 2371
Modified code so that database is queried just once when a document is read. Currently the read is being done in the constructor and then again inthe function.
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.
fixed bugs in teh client that were preventing the lsid service from working right
modified the client so it will work consistently with the web service
updated the client so it throws a DocumentNotFoundException if you attempt to read a docuemnt that doesn't exist
Missed a period.
Patch to make the getLastDocid function actually work on the text node.
Patch for making getlastdocid work when the identifier is a large numbergreater than can be encompassed by an int. Now it uses a long torepresent the number, which doesn't solve the problem but probably doesmake it work for the vast majority of cases.
Added new function getLastDocid to the metacat client so that it isaccessible to clients that need it.
View revisions
Also available in: Atom