Project

General

Profile

1
#
2
#  '$RCSfile$'
3
#   '$Author: leinfelder $'
4
# '$Revision: 7830 $'
5
#     '$Date: 2013-06-25 16:42:40 -0700 (Tue, 25 Jun 2013) $'
6
#
7

    
8
Metacat: XML Metadata and Data Management System
9
------------------------------------------------                      
10

    
11
Version: 2.1.0 Release
12

    
13
Send feedback and bugs to: metacat-dev@ecoinformatics.org
14
                           http://bugzilla.ecoinformatics.org
15

    
16
Contributors: Matt Jones (jones@nceas.ucsb.edu)
17
              Chad Berkley (berkley@nceas.ucsb.edu)
18
              Jing Tao (tao@nceas.ucsb.edu)
19
              Jivka Bojilova (bojilova@nceas.ucsb.edu)
20
              Dan Higgins (higgins@nceas.ucsb.edu)
21
              Saurabh Garg (sgarg@nceas.ucsb.edu)
22
              Duane Costa (dcosta@lternet.edu)
23
              Veronique Connolly (connolly@nceas.ucsb.edu)
24
              John Harris (harris@nceas.ucsb.edu)
25
              Callie Bowdish (bowdish@ecoinformatics.org)
26
              Will Tyburczy (tyburczy@ecoinformatics.org)
27
              Matthew Perry (perry@nceas.ucsb.edu)
28
              Chad Burt (underbluewaters@gmail.com)
29
              Ben Leinfelder (leinfelder@nceas.ucsb.edu)
30
              Chris Barteau (barteau@nceas.ucsb.edu)
31
              Shaun Walbridge (walbridge@nceas.ucsb.edu)
32
              Michael Daigle (daigle@nceas.ucsb.edu) 
33

    
34
Patch contributors:
35
              Andrea Chadden (chadden@nceas.ucsb.edu)
36
              Chris Jones (cjones@msi.ucsb.edu)
37
              Johnoel Ancheta (johnoel@hawaii.edu)
38
              Owen Jones (owen.jones@imperial.ac.uk)
39

    
40
Metacat is a flexible database storage system for XML formatted
41
documents and associated binary files. Metacat models the structure of the
42
XML document, therefore allowing storage of XML documents with arbitrary
43
schemas. Metacat supports several databases on the back-end, including Oracle,
44
PostgreSQL and SQL Server (limited).  The server supports XML document
45
storage, retrieval, query, validation, and transformation (using the XSLT
46
stylesheet language).  In addition, there is a mechanism for replicating the
47
database to other metacat instances for backup and load balancing purposes.
48
Metacat currently uses an LDAP database for authenticating users, but was
49
written to accomodate other authentication services as well.
50

    
51
Installation
52
------------
53
See the file "docs/install.html" for detailed instructions
54
for your OS.
55

    
56
Release Notes for 2.1.0:
57
------------------------
58
This is a major release of Metacat that includes a SOLR-based search feature
59
* Optional SOLR search index
60
* Client certificate delegation (using a service provider like CILogon)
61

    
62
Release Notes for 2.0.7:
63
------------------------
64
This is a patch release for Metacat replication
65
* Replication SQL performance enhancement
66
* Comply with DataONE schema for SystemMetadata.submitter
67

    
68
Release Notes for 2.0.6:
69
------------------------
70
This patch release focuses on Metacat support for DataONE-enabled Morpho clients
71
* MN.generateIdentifier() support for UUID and DOI
72
* DOI registration support using EZID service
73
* Pathquery support for specifying multiple document owners
74

    
75

    
76
Release Notes for 2.0.5:
77
------------------------
78
This patch release focuses on Metacat support for Oracle
79
*SystemMetadata table names have been shortened to comply with Oracle limits.
80
*SANParks/SAEON spatial zip file download fixed
81
*Pathquery performance fix
82
*Hazelcast 2.x upgrade
83
*Correct handling for deleted and archived objects for both Metacat and DataONE APIs
84

    
85
Release Notes for 2.0.4:
86
------------------------
87
This patch release focuses on Metacat-Metacat replication.
88
*Allows Metacat to stream replication update information between servers to avoid connection timeout issues
89
*Allows Metacat replication when source host does not provide SystemMetadata (DataONE)
90
*Fixes an access control issue that could allow search results to include protected documents
91

    
92
Release Notes for 2.0.3:
93
------------------------
94
This is another critical patch release of Metacat 2.0.
95
*Addresses a bug that prevented Metacat replication from completing (timeout error)
96
*Uses more efficient SystemMetadata synchronization using shared Hazelcast map
97

    
98
Release Notes for 2.0.2:
99
------------------------
100
This is a critical patch release of Metacat 2.0.
101
*Addresses a bug that prevented updates to DataONE identified datapackages (e.g., using DOIs)
102
*Addresses a bug that prevented the use of the Metacat API 'getaccesscontrol' action
103
*Updates the Foresite ORE library to correctly serialize resource map documents
104

    
105
Release Notes for 2.0.1:
106
------------------------
107
This is a minor patch release of Metacat 2.0. Please see the previous release notes for complete information.
108
*Addresses an identifier issue during ORE generation for DataONE services
109
*Increases compatibility with older EML content and the Xalan XSLT processor
110
*Removes XSLT 2.0 support (Saxon)
111

    
112
Release Notes for 2.0.0:
113
------------------------
114
This major release includes support for DataONE.
115
*The DataONE v1.0.0 Member Node service APIs are now the preferred method for communicating with Metacat
116
*The existing EcoGrid and Metacat Servlet APIs are deprecated but still available.
117
*EML-embedded access control rules using permOrder="denyFirst" are no longer supported (https://redmine.dataone.org/issues/2614) 
118
*Replication now utilizes client certificates to establish SSL connections between replication source and target servers
119
*Access control rules now apply to objects on a per-revision basis rather than per-docid
120
*Bugs fixed include:
121
-SANParks skin/TPC (5561, 5530, 5533, 5542, 5543, 5544, 5551, 5563, 5566, 5567, 5569, 5353)
122
-Registry (5114, 5244)
123
-Replication (4907, 5537, 5536, 5534, 5520, 5519, 3296)
124
-Spatial cache regeneration can be skipped during reconfiguration/redeployment/upgrade (3811)
125
-Pathquery support for temporal search criteria (2084)
126
-Character encoding of XML now respected (internationalization) (2495, 4083, 3815)
127

    
128

    
129
Release Notes for 1.9.5:
130
------------------------
131
This release fixes those bugs:
132
*Metacat could not download the included schemas in an external schema file during inserting.
133
*Workflow scheduler could not work since the metadata standard of kepler kar file was changed. 
134
*Earthgrid could not transform the Earthgrid query with concept "/" to the Metacat path query correctly.
135
*Document access rules are now preserved when documents are archived during the 'delete' action.
136

    
137
Release Notes for 1.9.4:
138
------------------------
139
This release fixes bugs in the FGDC data package upload and download interface utilized
140
by the SANParks and SAEON skins.
141

    
142
Release Notes for 1.9.3:
143
------------------------
144
This release fixes a harvester bug that prevented the EML harvester from processing
145
harvest lists.
146
The Kepler skin has been updated to support KarXML 2.1.
147
Ecogrid query services now support multiple namespace searches.
148

    
149
Release Notes for 1.9.2:
150
------------------------
151
This release primarily holds the addition of the Threshold of Potential
152
Concern workflow functionality (TPC).  The following issues were addressed:
153

    
154
* Create a properties file for use by JUnit Tests (Bug 2994)
155
* security issue with skins (Bug 3368)
156
* reorganize classes into a more functional specific structure (Bug 3510)
157
* Add admin names as dropdown in configuration login (Bug 3729)
158
* KNB metacat replication error log file is empty (Bug 3885)
159
* Create TPC Report web browse/search pages (Bug 4165)
160
* Create archive extraction functionality (Bug 4166)
161
* Create Workflow Scheduler (Bug 4167)
162
* metacat didn't update xml_path_index table while a document was updated (Bug 4367)
163
* Enforce permissions for tpc workflow viewing and scheduling (Bug 4420)
164
* Fix cross platform TPC GUI issues (Bug 4556)
165
* TPC Sanparks page content lenth issue (Bug 4557)
166
* Create validate and isAuthorized unit tests (Bug 4558)
167
* Cannot insert replication server via gui (Bug 4594)
168
* Timed Replication takes many hours and drives the load up on KNB (Bug 4616)
169
* [ESA] Update fails when document rev number is missing (Bug 4627)
170
* fails to catch some insert and update failures (Bug 4637)
171
* must support java 1.6 (Bug 4641)
172
* Convert build to pull eml from svn instead of cvs (Bug 4644)
173
* handleGetRevisionAndDocTypeAction should search both xml_documents and xml_revisions table (Bug 4645)
174
* Metacat couldn't update a document from client, which previous versions only stay in xml_revisions table (Bug 4649)
175
* metacat runs out of memory (Bug 4658)
176
* ESA skin links are hard coded to data.esa.org (Bug 4698)
177
* Update release 1.9.2 release notes (Bug 4707)
178
* Handle writing a text node > 4000 characters to the db. (Bug 4708)
179
* Metacat should run against Tomcat 6 (Bug 4716)
180

    
181
Release Notes for 1.9.1:
182
------------------------
183
The 1.9.1 release holds the bug fixes found after releasing 1.9.0 beta.  
184
These bugs were primarily replication issues.  There is no difference 
185
in functionality between 1.9.0 and 1.9.1 
186

    
187
Release Notes for 1.9.0:
188
------------------------
189
This release focuses on simplifying the Metacat installation process by 
190
creating a binary (war) installation.  The need to build the application
191
on the server has been removed (although the option is still available).
192
In order to facilitate this method of installation, a few major modifications
193
were made to the code:
194

    
195
  -- Ant token replacement was removed for all non-build variables in the 
196
     application (most of this was already done in 1.8.1).
197

    
198
  -- The Metacat properties confguration was moved into the application
199
     itself.
200

    
201
  -- Database schema version detection and install/upgrade utilities were 
202
     added to the application.
203

    
204
Also, this release includes several enhancements:
205
  -- it supports the new EML 2.1.0 version.  
206

    
207
  -- Documents are now stored on the local filesystem as well as in the 
208
     database in order to preserve document integrity.
209
     
210
  -- Metacat verifies new schemas when they are added.
211

    
212
  -- Additional access is propegated with documents during replication.
213

    
214
High priority bugs were addressed in this release as well.
215

    
216
The enhancements/bugs addressed are:
217

    
218
* escaped "less than" in inlinedata causes invalid eml output (Bug 2564)
219
* need to set filename for download files (Bug 2566)
220
* add ability for search engines to index metacat documents (Bug 2826)
221
* EML citation section should include both organizationNames and individualNames (Bug 3059)
222
* refactor skins to get organization list from metacat getOrganizations() function (Bug 3114)
223
* Update dataknp.sanparks.org packageId attributes to match Metacat Ids (Bug 3258)
224
* New documents explicitly set as public access don't show up correctly (Bug 3262)
225
* Modify confguration utility in metacat (Bug 3371)
226
* Integrate perl token replacement changes (Bug 3372)
227
* Create skin specific configuration utility (Bug 3373)
228
* Add authentication for configuration utility (Bug 3374)
229
* Create a sorted properties utility (Bug 3375)
230
* Add DB upgrade/install functionality to java code (Bug 3376)
231
* Create ANT install target for developers (Bug 3377)
232
* Create LSID server installation (Bug 3380)
233
* Create unit test code for 1.9 additions (Bug 3381)
234
* create simple turnkey installer for metacat Phase I (Bug 3461)
235
* Maps do not display in Firefox version 3 (Bug 3462)
236
* Replicate access rules in replication (Bug 3464)
237
* Metacat casesensitive="true" option in pathquery expressions is broken (Bug 3472)
238
* Add full schema checking when metacat register new schema (Bug 3474)
239
* Incorporate EML 2.1.0 access changes in metacat (Bug 3495)
240
* getprincipals action returns invalid XML document (Bug 3527)
241
* Update knbweb to serve new metacat install (Bug 3545)
242
* Replication should write to disk (Bug 3554)
243
* Update acknowlegements in metacat readme (Bug 3588)
244
* Validate the ldap administrator field. (Bug 3616)
245
* Allow for different authentication services in metacat configuration (Bug 3680)
246
* Tag utilities module and have metacat check out that tag (Bug 3685)
247

    
248
Release Notes for 1.8.1:
249
------------------------
250
This release focuses on bug fixes. In this release, the problem that Metacat 1.8.0 and previous 
251
versions use illegitimate EML 2.0.1 schemas is addressed: first, Metacat 1.8.1 comes with
252
legitimate EML 2.0.1 schemas; second, existing invalid EML 2.0.1 documents will be 
253
automatically fixed while maintaining their package ID during the Metacat 1.8.1 upgrading process. 
254
Details please see:
255
http://bugzilla.ecoinformatics.org/show_bug.cgi?id=3239
256
http://bugzilla.ecoinformatics.org/show_bug.cgi?id=3241
257

    
258
Note: after upgrading the Metacat to version 1.8.1, some replication issues may be seen, e.g., the 
259
EML 2.0.1 documents from Metacat 1.8.0 or ealier verions may be rejected since Metacat 1.8.1 uses
260
different EML 2.0.1 schemas (see bug 3239). If this is case, Metacat administrators should notify
261
their counterparts to upgrade previous version Metacats to 1.8.1. 
262

    
263
The fixed bugs include:
264

    
265
*Character set (charset) problem when filling out form (Bug2797)
266
*Charset bug: > "less than" symbol does not display correctly (Bug2517)
267
*Metacat performance issue in Sanparks skin (Bug 3174)
268
*Metacat using illegitimate versions of EML schema (Bug 3239)
269
*Update older invalidated eml201 document in Metacat (Bug 3241)
270
*Verify existing token changes to skins (Bug 3176)
271
*The edit feature in the NCEAS Data Repoistory does not work (Bug 2644)
272
*Expose permission options for registry uploads (Bug 3014)
273
*ESA registry doesn't have LTER in login dropdown menu (Bug 2647)
274
*Data Catalog Map is slow when selecting (Bug2732)
275
*Only one attribute per element returned with pathquery results(Bug 2999)
276
*The field "skinconfigs" in the MetacatUtil class is public (Bug 3057)
277
*Generalize the reading of skin.configs in DBTransform (Bug3058)
278
*The query example in metacatquery.html document need to be changed (Bug3137)
279
*Add upload method into Metacat tour (Bug 3139)
280
*Query resultset doesn't show component name in kepler skin (Bug 3178)
281
*Add fields used in Morpho search to the default indexPaths property (Bug 3259)
282
*Private data cannot be downloaded from metadata display page (xsl) (Bug 3263)
283
*An error message happen during the metacat start up (Bug 3279)
284
*Replication: Timed replication failures occur twice instead of once (Bug 3304)
285
*Inline Data does not work correctly without the <pre> tag (Bug 3088)
286
*Include FGDC metadata in KNB and NCEAS skin search results (Bug 3146)
287

    
288
Release Notes for 1.8.0:
289
------------------------
290
This release focuses on improving query performance.  Both the selection 
291
and access control queries were rewritten to execute efficiently.
292
To improve search performance, a query caching mechanism was introduced. 
293
Cached queries are currently supported only for public users.
294

    
295
New Features:
296
* Data registries now support uploading of data objects along with data 
297
  packages (Bug 1982)
298
  
299
Bug Fixes:
300
* Metacat Performace: Rewrite the xml_nodes queries (Bug 2155)
301
* Metacat Performace: Rewrite the xml_access part of the query (Bug 2557)
302
* Query cache mechanism (Bug 2905)
303
* Metacat Performance: updates from Morpho of data packages are taking 
304
   longer than five minutes (Bug 2805)
305
* Metacat Performance: Optimize Postgres and Tomcat (Bug 2157)
306
* Metacat Performace: Upgrading hardware setup (Bug 2175)
307
* Metacat Performace: Add/drop indices on key columns (Bug 2153)
308
* Display of metadata documents reorganized, including a new citation format,
309
  obvious download options, and a redesigned data table layout (Bugs 2981, 2832)
310
* I.E. display fixes on default skin (Bug 2579)
311
* Web Address links fixed (Bug 2147)
312
* NCEAS skin redesigned to use IFRAME-less layout, match new website.
313
* Spatial query:  data packages must be fully contained by the selection 
314
  bounding box in order to appear in the search results (Bugs 2972, 2732).
315
* FGDC support: upload, delete, update, access control, and download
316
  (Bugs 2807, 2925, 2926, 2929, 2030).
317
Compatibility Notices:
318
* Tomcat 3 and 4 are no longer tested or supported. Users are 
319
  highly encouraged to upgrade to Tomcat 5.5
320

    
321
Release Notes for 1.7.0:
322
------------------------
323
This release features only a few minor changes to the core Metacat engine. 
324
The major focus of this release is the addition of the spatial functionality.
325
The geographic coverage of metadata documents can now be cached in a GIS-
326
accessible format and published via web mapping services and an online
327
interactive map. 
328

    
329
New Features:
330
* Three new open source libraries have been integrated with Metacat:
331
  - Geoserver:  A standards-compliant web map server to publish
332
                geographic data to the web.
333
               (http://docs.codehaus.org/display/GEOS/Home)
334
  - GeoTools:   A java-based GIS toolkit to programatically
335
                manipulate spatial datasets.
336
                (http://geotools.codehaus.org/)
337
  - Mapbuilder: A javascript application to provide an interactive
338
                web map front-end to Geoserver.
339
                (http://docs.codehaus.org/display/MAP/Home)
340
* Spatial Caching/Indexing mechanism; documents with geographic
341
  coverages will be added to the spatial cache.
342
* Spatial Query action in metacat servlet. 
343
* Interactive Web map to visualize and query the spatial 
344
  distribution of metadata documents.
345
* Experimental python, ruby and php client libraries to interface with metacat.
346
* Preliminary process in place for web based configuration of metacat.
347

    
348
Compatibility Notices:
349
* Tomcat 3 and 4 are no longer tested or supported. Users are 
350
  highly encouraged to upgrade to Tomcat 5.5
351

    
352
Bug Fixes:
353
* Metacat administrators are able to modify and delete documents 
354
  created by other users.
355
* Fixed problems with indexing XML attributes, see bug 2469
356

    
357

    
358
Release Notes for 1.6.0:
359
------------------------
360

    
361
This release comes with more performance improvements, initial support for 
362
LSIDs (Life Sciences Identifiers) and FGDC standard, more controls for 
363
Metacat administrators and bug fixes. Below is the list of bug fixes and
364
performance improvements.
365

    
366
Bug Fixes: 
367
* Improved the indexing algorithm. Earlier indexing failed for some documents 
368
  randomly and used to take a lot of time to complete for others. The 
369
  code for indexing was changed to take care of both these problems.
370
* Earlier, xmlns prefix was used to determine the namespace of the document. 
371
  Now schemaLocation is used instead xmlns prefix to determine the namespace 
372
  of the document as that is a better indicator of document type. 
373
* INSTR was used in some SQL statements and it is not supported by Postgres. 
374
  So SQL statements were modified so that INSTR is not used.
375
* Replication was changed to include replication of deleted documents also.
376
* Fixed bug in squery which didnt allow use of not-contains 
377

    
378
New Features:
379
* Added FGDC schema and XSLT so that Metacat can handle FGDC standard
380
* Added support for LSID. This includes modifying the stylesheets to 
381
  display the LSIDs, modifying the build to include a new target 
382
  'install-ldap'.
383
* Added following access control levels to Metacat:
384
    1. Administrators - users who can do the following:
385
       a. Run replication
386
       b. Delete any document
387
       c. Modify any document
388
       d. run indexing for any document
389
       e. check the logs
390
    2. allowedUsers - User who are allowed to submit
391
    3. deniedUsers - Users not allowed to submit
392
* Added a new skin for Ecological Society of America. 
393
* Created an Advanced search servlet which can be used from the web. 
394
* Various connections have been modified to be secure. e.g. connection between 
395
ldaps is made secure now, replication is done over secure channels.  
396

    
397
Performance:
398
* Reduced size of xml_nodes by creating a new table for holding nodes from 
399
  deleted documents and old revisions of the documents. 
400
* Provided a new variable in metacat.properties where more frequently searched 
401
  for paths can be specified. Seperate indexes are created for these paths 
402
  - so that search is faster.
403
* Included log4j for logging and debuging to prevent wasting of time in printing log statements. 
404

    
405
Release Notes for 1.5.0:
406
------------------------
407

    
408
This release comes with performace improvement, user interface enhancements,
409
and bug fixes. Below is the list of bug fixes and performance improvements. 
410

    
411
Bug Fixes:
412
* Modify property values of harvester registration servlets to match the
413
  servlet-mapping URL values in web.xml. The old values used the servlet
414
  class names. This worked in Tomcat 4 but seems to break in Tomcat 5 on
415
  Windows. The new values use the servlet-mapping URL values. This should
416
  work in both Tomcat 4 and Tomcat 5. (Bug 162)
417
* Re-implement logic to prune old log entries from the HARVEST_LOG and
418
  HARVEST_DETAIL_LOG tables. The old logic caused integrity constraint
419
  violations in the database because it tried to delete parent records from
420
  HARVEST_LOG prior to deleting child records from
421
  HARVEST_DETAIL_LOG. (Bug 162)
422
* In data registry, minor bugs fixed like the error page shows the link back
423
  to the form when error page was generated because of a document read
424
  request from search results page,  the successful delete button leading
425
  to a blank screen and the old ACL overwritten by the registry.
426
  (Bugs 1307, 1310, 1322, 1344, 1551)
427
* Changed the code to support insertion of following characters: ', `,
428
  charcters in the Numeric Character Reference format (&#xyz;) and
429
  characters like µ. Characters like µ will be converted to and stored in
430
  Numeric Character Reference format(&#xyz;). They will also be returned
431
  in Numeric Character Reference and it is upto the client to convert them
432
  and display them accordingly in the application. Partial fix provided by
433
  Johnoel Ancheta. (Bug 1538,1711)
434
* Spatial search failed on Oracle because of invalid entries made by
435
  some documents in the nodedata column of xml_nodes for paths involving
436
  'eastBoundingCoordinate', 'westBoundingCoordinate',
437
  'northBoundingCoordinate', 'southBoundingCoordinate'. A new column
438
  nodedatanumerical was added to xml_nodes table such that all the numerical
439
  nodedata is stored in this column and this column is now used for spatial
440
  search. (Bug 1703, 1718)
441
* In the default skin, clicking on the keywords on the home page did not
442
  result is a search being done. Fix provided by Owen Jones. (Bug 1768)
443
* Metacat generated a success message even when a document which didnt
444
  exsist was requested for deletion. This has been fixed. (Bug 1850)
445
* "packagetype" in xml-relation table was entered as eml200 namespace when
446
  an eml201 document was inserted. This is fixed now so that "packagetype"
447
  in xml-relation table points to eml201 namespace. (Bug 1979)
448
* System_id in xml_catalog pointed to http://knb.ecoinformatics.org/knb/
449
  earlier. Fixed such that it points to the locally installed metacat url. 
450
  (Bug 1986)
451
* Changes to the Query subsystem fix bugs that prevented attributes from 
452
  being expressed solely in the xpath query statement and the returnfield 
453
  values. For instance, a query URL may now include search strings like 
454
  '@packageId=sbclter%25' and return strings like 'returnfield=@packageId'.
455
  Previously, the attribute had to be appended to an element: 
456
  '/eml/@packageId=sbclter%25'. These fixes change DBQuery.java, 
457
  QuerySpecification.java, and QueryTerm.java (Bug 2052)
458
* Search query failed in case of Oracle if number of documents in the result
459
  were more than 1000. This has been fixed. (Bug 2000)
460
* Removed any occurence of enum which is now a keyword in Java 1.5
461

    
462

    
463
Enhancements:
464
* Major improvements done in user interface for the data registeries and
465
  various other skins. Improvements done based on suggestions from Mark
466
  Stromberg, Laura Downey and others. Improvements also done in resultset.xsl,
467
  the default skin and ldap templates. (Bug 1948)
468
* Coded added such that administrator can delete documents irrespective of
469
  who the document belongs to.
470
* Performance impovement done in searching of datasets. A part of the search
471
  time was taken up because of generation of resultset after the search had be
472
  done. So this was the sequence of events in earlier metacat
473
  1) Search for the given text
474
  2) A list of docids generated
475
  3) For each of the docids
476
     3a) Use xml_index and xml_nodes table to generate the string descibing
477
         the document including the returnfields requested in the search
478
  4) Add all the strings from step 3a to send back the resultant
479
     document. Here a decent amount of time was being taken by step 3a. 
480
  The algorithm is now modified by addition of two tables xml_queryresult and
481
  xml_returnfields and a user defined parameter xml_returnfield_count. The
482
  new algorithm works as follows:
483
  1) Search for the given text
484
  2) A list of docids is generated
485
  3) For the given set of return fields generate a unique string and check
486
     if that string exists in xml_returnfields
487
     3a) If string does not exist in xml_returnfield, then enter a new
488
         record usage_count as 1 and returnfield_string as the unique string
489
         generated above.
490
     3b) Else if the string exists, increment usage_count
491
  4) Given the docids from step 2 and the id of the returnfield record from
492
     step 3, query for any docids that already exist in xml_queryresult.
493
     For the docids that do exist, get the queryresult_string.
494
  5) For rest of the docids from step2 which were not found in step 4, do
495
     the following for each of the documents:
496
     5a) Use xml_index and xml_nodes table to generate the string descibing
497
         the document including the returnfields requested in the search
498
     5b) If usage_count of the record from step is more than
499
         xml_returnfield_count set in metacat.properties, then store the
500
         string in xml_queryresult as a record which has the returnfield_id
501
         representing the set of returnfields, docid representing the
502
         document and the string as queryresult_string.
503
  6) Add all the strings from step 4 and step 5a to send back the resultant
504
     document
505
  So the results from step 3a in previous algorithm are effectively cached
506
  and hence same computation is not done again and again for each search.
507
  When a document is deleted, all the entries for that document in
508
  xml_queryresult table are also deleted. When a document is updated, all
509
  the entries for that document in xml_queryresult table are deleted. This
510
  works fine because those entries will be generated and cached again the
511
  next time the document is part of a search is requested.
512
* Performance impovement done for % search.
513
* Following new functions added to metacat client API: a method to set access
514
  on an xml document and a method to get newest version for a given document.
515
* Implement a new HarvesterServlet for running Harvester as a servlet. This
516
  eliminates the need to run Harvester in a terminal window. By default, the
517
  HarvesterServlet is commented out in lib/web.xml.tomcat(3,4,5). The user
518
  documentation will be modified to instruct Harvester administrators to
519
  uncomment the HarvesterServlet entry.
520
* Minor enhancement to support multiple email addresses for harvester
521
  administrator and site contact. Each address is separated by a comma or
522
  semicolon.
523
* Increase number of rows in Harvest List Editor from 300 to 1200.
524
* Changed default maxHarvests value to 0. Added logic to ignore maxHarvests
525
  value when it is set to 0 or a negative number. This allows Harvester to
526
  run indefinitely without shutting down after reaching a maximum number of
527
  harvests. The previous default value of 30 would cause Harvester to
528
  terminate after 30 harvests.
529

    
530
Details of all changes can be found in the bug database here:
531
http://bugzilla.ecoinformatics.org/buglist.cgi?product=Metacat&target_milestone=1.5
532

    
533

    
534
Release Notes for 1.4.0:
535
------------------------
536

    
537
This is a major release, and is the first to introduce many new features to
538
Metacat.  Some of the major new features in this version of Metacat include:
539

    
540
* Added a new 'Harvester' that allows documents to be periodically pulled
541
  from distributed sources into metacat, useful for interfacing with other
542
  system types. See the Metacat Tour for details.
543
* Added new 'skins' capability to allow the GUI for the metacat web interface
544
  to be more easily customized to fit into site needs.  The skin is based on
545
  a flexible mix of XSLT, CSS, and Javascript.
546
* Added a web-based metadata entry form for submitting limited EML documents
547
  as part of a data registry.  The GUI for the registry is customizable and 
548
  is integrated with the 'skins' system for the main metacat interface.  The
549
  registry subsystem is written in Perl, and can simultaneously be used to 
550
  present multiple 'registry' interfaces.
551
* A new 'client API' has been developed and implemented in Java and in Perl 
552
  so that metacat functions can be accessed from any program in those
553
  languages.  The client API supports the major metacat servlet actions,
554
  including login(), logout(), query(), insert(), update(), delete(), and 
555
  upload(). See the Metacat Tour for details.
556
* Added a new 'getlog' action that produces a usage history for all major
557
  events.  So now an XML report can be generated for document reads, inserts,
558
  deletes, etc.  See the new section in the Metacat Tour.
559
* Added a new 'buildindex' action that can rebuild the index entries for any
560
  document in the database.
561
* The configuration file for metacat (metacat.properties) has been moved out
562
  of the jar file and into the WEB-INF directory, allowing far easier changes
563
  to the configuration parameters.
564
* Results in default web interface are sorted by title in the XSLT 
565
  (configurable)
566
* Many bugs were fixed.
567

    
568
Details of all changes can be found in the bug database here:
569
http://bugzilla.ecoinformatics.org/buglist.cgi?product=Metacat&target_milestone=1.4
570

    
571
Release Notes for 1.3.1:
572
------------------------
573

    
574
This is a simple interim bug fix. No major functionality changes. Bugs fixed 
575
include:
576
 1) Metacat 1.3.0 doesn't work in Java 1.3 because a subtle API differnce in 
577
    Java 1.3 and Java 1.4. Currently, Metacat 1.3.1 will work in both Java 1.3 
578
    and Java 1.4.
579
 2) Distribution package size was reduced.
580

    
581

    
582
Release Notes for 1.3.0
583
------------------------
584

    
585
In 1.3.0 release, the structure of the xml_access table was changed and a new
586
table, xml_accesssubtree was added. If you try to update a previously 
587
installed Metacat, you should run a script file to updated the table structure 
588
before installation.
589
For Oracle user: At the SQLPLUS prompt type the following -
590
@src/reviseformetacat13.sql
591
For Postgresql user: At install directory prompt type the following -
592
psql exp < src/reviseformetacat13_postgres.sql
593
(where 'exp' is the database name).
594

    
595
After installation, user should run "ant schemasql" command to register EML2
596
schema in xml_catalog table.
597

    
598
If you are a new Metacat user, this step is unneeded.
599

    
600
Note: 1) We recommend to use Tomcat 4 and JAVA 1.4 to run Metacat. Otherwise, 
601
         it will cause potential replication issues.
602
      2) Delete the xercesImpl.jar and xmlParserAPIs.jar files 
603
         which are in $CATALINA_HOME/common/endorsed. They are old version and
604
         don't support XML schema validation.
605

    
606
New Features in 1.3.0
607
  1) Partialy support EML2 document. User can store, query, read and write
608
     EML2 documents. However, Metacat only support access control in resource
609
     level. The subtree level access control will be ignored.
610
  2) Support other xml document base on namespace/schema.
611
  3) Support query for attribute value
612
  4) Assign MIME type to data file base on metadata when user try to read it.
613
  5) Owner can assign access rules to a document which does not have access 
614
     document to apply it.
615
  6) Support exporting single file, not only whole package
616
  7) Resupport Microsoft SQL Server.
617

    
618
Fixes in 1.3.0:
619
  1) Couldn't finish delta T replication for large set of documents.
620
  2) Couldn't create access control during delta T replication.
621
  3) Eorr will be written to a seperated log file if some documents
622
     were failed in replication.
623
  4) Decrease the time to create access rules during insert or update 
624
     a package.
625
     
626
Documentation
627
-------------
628
See the docs directory for detailed documentation and installation
629
instructions.
630

    
631
Details of the Metacat architecture can be found on the website for
632
the Knowledge Network for Biocomplexity (KNB):
633

    
634
  http://knb.ecoinformatics.org/software/metacat/
635

    
636
Contributions to this work are welcome.  Please see the above web site
637
for details on how to contribute.
638

    
639
Major Known Bugs or Feature Requests (see http://bugzilla.ecoinformatics.org)
640
-----------------------------------------------------------------------------
641
If you discover a bug please report it, either by email (above) or by using
642
our bug tracking system (http://bugzilla.ecoinformatics.org). There is a
643
list of currently unimplemented features in Bugzilla that we are working on
644
for the next release.
645

    
646
Legalese
647
--------
648
This software is copyrighted by The Regents of the University of California
649
and the National Center for Ecological Analysis and Synthesis
650
and licensed under the GNU GPL; see the 'LICENSE' file for
651
details.
652

    
653
This material is based upon work supported by the
654
National Science Foundation under Grant No. DEB99-80154, DBI99-04777, and
655
0225676 for SEEK.  Any opinions, findings and conclusions or recomendations 
656
expressed in this material are those of the author(s) and do not necessarily 
657
reflect the views of the National Science Foundation (NSF).
658

    
659
This software is partially supported by a grant from the Andrew W. 
660
Mellon Foundation.
661

    
662
This product includes software developed by the Apache Software
663
Foundation (http://www.apache.org/). See the LICENSE file in lib/apache
664
for details.
665

    
666
The source code, object code, and documentation in the com.oreilly.servlet
667
package is copyright and owned by Jason Hunter. See the cos-license.html file
668
for details of the license.  Licensor retains title to and ownership of the
669
Software and all enhancements, modifications, and updates to the Software.
670

    
671
This software includes the JDBC driver for PostgreSQL.  See the 
672
postgresql-license.txt file for details.
(2-2/7)