Project

General

Profile

1
#
2
#  '$RCSfile$'
3
#   '$Author: leinfelder $'
4
# '$Revision: 7644 $'
5
#     '$Date: 2013-05-01 07:37:10 -0700 (Wed, 01 May 2013) $'
6
#
7

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

    
11
Version: 2.0.7 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.0.7:
57
------------------------
58
This is a patch release for Metacat replication
59
* Replication SQL performance enhancement
60
* Comply with DataONE schema for SystemMetadata.submitter
61

    
62
Release Notes for 2.0.6:
63
------------------------
64
This patch release focuses on Metacat support for DataONE-enabled Morpho clients
65
* MN.generateIdentifier() support for UUID and DOI
66
* DOI registration support using EZID service
67
* Pathquery support for specifying multiple document owners
68

    
69

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

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

    
86
Release Notes for 2.0.3:
87
------------------------
88
This is another critical patch release of Metacat 2.0.
89
*Addresses a bug that prevented Metacat replication from completing (timeout error)
90
*Uses more efficient SystemMetadata synchronization using shared Hazelcast map
91

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

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

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

    
122

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

    
131
Release Notes for 1.9.4:
132
------------------------
133
This release fixes bugs in the FGDC data package upload and download interface utilized
134
by the SANParks and SAEON skins.
135

    
136
Release Notes for 1.9.3:
137
------------------------
138
This release fixes a harvester bug that prevented the EML harvester from processing
139
harvest lists.
140
The Kepler skin has been updated to support KarXML 2.1.
141
Ecogrid query services now support multiple namespace searches.
142

    
143
Release Notes for 1.9.2:
144
------------------------
145
This release primarily holds the addition of the Threshold of Potential
146
Concern workflow functionality (TPC).  The following issues were addressed:
147

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

    
175
Release Notes for 1.9.1:
176
------------------------
177
The 1.9.1 release holds the bug fixes found after releasing 1.9.0 beta.  
178
These bugs were primarily replication issues.  There is no difference 
179
in functionality between 1.9.0 and 1.9.1 
180

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

    
189
  -- Ant token replacement was removed for all non-build variables in the 
190
     application (most of this was already done in 1.8.1).
191

    
192
  -- The Metacat properties confguration was moved into the application
193
     itself.
194

    
195
  -- Database schema version detection and install/upgrade utilities were 
196
     added to the application.
197

    
198
Also, this release includes several enhancements:
199
  -- it supports the new EML 2.1.0 version.  
200

    
201
  -- Documents are now stored on the local filesystem as well as in the 
202
     database in order to preserve document integrity.
203
     
204
  -- Metacat verifies new schemas when they are added.
205

    
206
  -- Additional access is propegated with documents during replication.
207

    
208
High priority bugs were addressed in this release as well.
209

    
210
The enhancements/bugs addressed are:
211

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

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

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

    
257
The fixed bugs include:
258

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

    
282
Release Notes for 1.8.0:
283
------------------------
284
This release focuses on improving query performance.  Both the selection 
285
and access control queries were rewritten to execute efficiently.
286
To improve search performance, a query caching mechanism was introduced. 
287
Cached queries are currently supported only for public users.
288

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

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

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

    
342
Compatibility Notices:
343
* Tomcat 3 and 4 are no longer tested or supported. Users are 
344
  highly encouraged to upgrade to Tomcat 5.5
345

    
346
Bug Fixes:
347
* Metacat administrators are able to modify and delete documents 
348
  created by other users.
349
* Fixed problems with indexing XML attributes, see bug 2469
350

    
351

    
352
Release Notes for 1.6.0:
353
------------------------
354

    
355
This release comes with more performance improvements, initial support for 
356
LSIDs (Life Sciences Identifiers) and FGDC standard, more controls for 
357
Metacat administrators and bug fixes. Below is the list of bug fixes and
358
performance improvements.
359

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

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

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

    
399
Release Notes for 1.5.0:
400
------------------------
401

    
402
This release comes with performace improvement, user interface enhancements,
403
and bug fixes. Below is the list of bug fixes and performance improvements. 
404

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

    
456

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

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

    
527

    
528
Release Notes for 1.4.0:
529
------------------------
530

    
531
This is a major release, and is the first to introduce many new features to
532
Metacat.  Some of the major new features in this version of Metacat include:
533

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

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

    
565
Release Notes for 1.3.1:
566
------------------------
567

    
568
This is a simple interim bug fix. No major functionality changes. Bugs fixed 
569
include:
570
 1) Metacat 1.3.0 doesn't work in Java 1.3 because a subtle API differnce in 
571
    Java 1.3 and Java 1.4. Currently, Metacat 1.3.1 will work in both Java 1.3 
572
    and Java 1.4.
573
 2) Distribution package size was reduced.
574

    
575

    
576
Release Notes for 1.3.0
577
------------------------
578

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

    
589
After installation, user should run "ant schemasql" command to register EML2
590
schema in xml_catalog table.
591

    
592
If you are a new Metacat user, this step is unneeded.
593

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

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

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

    
625
Details of the Metacat architecture can be found on the website for
626
the Knowledge Network for Biocomplexity (KNB):
627

    
628
  http://knb.ecoinformatics.org/software/metacat/
629

    
630
Contributions to this work are welcome.  Please see the above web site
631
for details on how to contribute.
632

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

    
640
Legalese
641
--------
642
This software is copyrighted by The Regents of the University of California
643
and the National Center for Ecological Analysis and Synthesis
644
and licensed under the GNU GPL; see the 'LICENSE' file for
645
details.
646

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

    
653
This software is partially supported by a grant from the Andrew W. 
654
Mellon Foundation.
655

    
656
This product includes software developed by the Apache Software
657
Foundation (http://www.apache.org/). See the LICENSE file in lib/apache
658
for details.
659

    
660
The source code, object code, and documentation in the com.oreilly.servlet
661
package is copyright and owned by Jason Hunter. See the cos-license.html file
662
for details of the license.  Licensor retains title to and ownership of the
663
Software and all enhancements, modifications, and updates to the Software.
664

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