Project

General

Profile

1
#
2
#  '$RCSfile$'
3
#   '$Author: leinfelder $'
4
# '$Revision: 8307 $'
5
#     '$Date: 2013-10-10 13:01:19 -0700 (Thu, 10 Oct 2013) $'
6
#
7

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

    
11
Version: 2.2.1 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
              Lauren Walker (walker@nceas.ucsb.edu) 
34

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

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

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

    
57
Release Notes for 2.2.1:
58
------------------------
59
This is a critical patch release of Metacat that includes addresses
60
a bug in file stream handling. It is recommended for all Metacat deployments.
61

    
62
Release Notes for 2.2.0:
63
------------------------
64
This is a major release of Metacat that includes a new customizable UI and 
65
improved LDAP account management features
66

    
67
Release Notes for 2.1.1:
68
------------------------
69
This is a minor patch release of Metacat that addresses
70
a bug in DOI publishing.
71

    
72
Release Notes for 2.1.0:
73
------------------------
74
This is a major release of Metacat that includes a SOLR-based search feature
75
* Optional SOLR search index
76
* Client certificate delegation (using a service provider like CILogon)
77

    
78
Release Notes for 2.0.8:
79
------------------------
80
This is a patch release for Metacat
81
* Enforce DataONE prohibition on whitespace in identifiers
82
* Use unique filenames for Registry data uploads
83

    
84
Release Notes for 2.0.7:
85
------------------------
86
This is a patch release for Metacat replication
87
* Replication SQL performance enhancement
88
* Comply with DataONE schema for SystemMetadata.submitter
89

    
90
Release Notes for 2.0.6:
91
------------------------
92
This patch release focuses on Metacat support for DataONE-enabled Morpho clients
93
* MN.generateIdentifier() support for UUID and DOI
94
* DOI registration support using EZID service
95
* Pathquery support for specifying multiple document owners
96

    
97

    
98
Release Notes for 2.0.5:
99
------------------------
100
This patch release focuses on Metacat support for Oracle
101
*SystemMetadata table names have been shortened to comply with Oracle limits.
102
*SANParks/SAEON spatial zip file download fixed
103
*Pathquery performance fix
104
*Hazelcast 2.x upgrade
105
*Correct handling for deleted and archived objects for both Metacat and DataONE APIs
106

    
107
Release Notes for 2.0.4:
108
------------------------
109
This patch release focuses on Metacat-Metacat replication.
110
*Allows Metacat to stream replication update information between servers to avoid connection timeout issues
111
*Allows Metacat replication when source host does not provide SystemMetadata (DataONE)
112
*Fixes an access control issue that could allow search results to include protected documents
113

    
114
Release Notes for 2.0.3:
115
------------------------
116
This is another critical patch release of Metacat 2.0.
117
*Addresses a bug that prevented Metacat replication from completing (timeout error)
118
*Uses more efficient SystemMetadata synchronization using shared Hazelcast map
119

    
120
Release Notes for 2.0.2:
121
------------------------
122
This is a critical patch release of Metacat 2.0.
123
*Addresses a bug that prevented updates to DataONE identified datapackages (e.g., using DOIs)
124
*Addresses a bug that prevented the use of the Metacat API 'getaccesscontrol' action
125
*Updates the Foresite ORE library to correctly serialize resource map documents
126

    
127
Release Notes for 2.0.1:
128
------------------------
129
This is a minor patch release of Metacat 2.0. Please see the previous release notes for complete information.
130
*Addresses an identifier issue during ORE generation for DataONE services
131
*Increases compatibility with older EML content and the Xalan XSLT processor
132
*Removes XSLT 2.0 support (Saxon)
133

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

    
150

    
151
Release Notes for 1.9.5:
152
------------------------
153
This release fixes those bugs:
154
*Metacat could not download the included schemas in an external schema file during inserting.
155
*Workflow scheduler could not work since the metadata standard of kepler kar file was changed. 
156
*Earthgrid could not transform the Earthgrid query with concept "/" to the Metacat path query correctly.
157
*Document access rules are now preserved when documents are archived during the 'delete' action.
158

    
159
Release Notes for 1.9.4:
160
------------------------
161
This release fixes bugs in the FGDC data package upload and download interface utilized
162
by the SANParks and SAEON skins.
163

    
164
Release Notes for 1.9.3:
165
------------------------
166
This release fixes a harvester bug that prevented the EML harvester from processing
167
harvest lists.
168
The Kepler skin has been updated to support KarXML 2.1.
169
Ecogrid query services now support multiple namespace searches.
170

    
171
Release Notes for 1.9.2:
172
------------------------
173
This release primarily holds the addition of the Threshold of Potential
174
Concern workflow functionality (TPC).  The following issues were addressed:
175

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

    
203
Release Notes for 1.9.1:
204
------------------------
205
The 1.9.1 release holds the bug fixes found after releasing 1.9.0 beta.  
206
These bugs were primarily replication issues.  There is no difference 
207
in functionality between 1.9.0 and 1.9.1 
208

    
209
Release Notes for 1.9.0:
210
------------------------
211
This release focuses on simplifying the Metacat installation process by 
212
creating a binary (war) installation.  The need to build the application
213
on the server has been removed (although the option is still available).
214
In order to facilitate this method of installation, a few major modifications
215
were made to the code:
216

    
217
  -- Ant token replacement was removed for all non-build variables in the 
218
     application (most of this was already done in 1.8.1).
219

    
220
  -- The Metacat properties confguration was moved into the application
221
     itself.
222

    
223
  -- Database schema version detection and install/upgrade utilities were 
224
     added to the application.
225

    
226
Also, this release includes several enhancements:
227
  -- it supports the new EML 2.1.0 version.  
228

    
229
  -- Documents are now stored on the local filesystem as well as in the 
230
     database in order to preserve document integrity.
231
     
232
  -- Metacat verifies new schemas when they are added.
233

    
234
  -- Additional access is propegated with documents during replication.
235

    
236
High priority bugs were addressed in this release as well.
237

    
238
The enhancements/bugs addressed are:
239

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

    
270
Release Notes for 1.8.1:
271
------------------------
272
This release focuses on bug fixes. In this release, the problem that Metacat 1.8.0 and previous 
273
versions use illegitimate EML 2.0.1 schemas is addressed: first, Metacat 1.8.1 comes with
274
legitimate EML 2.0.1 schemas; second, existing invalid EML 2.0.1 documents will be 
275
automatically fixed while maintaining their package ID during the Metacat 1.8.1 upgrading process. 
276
Details please see:
277
http://bugzilla.ecoinformatics.org/show_bug.cgi?id=3239
278
http://bugzilla.ecoinformatics.org/show_bug.cgi?id=3241
279

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

    
285
The fixed bugs include:
286

    
287
*Character set (charset) problem when filling out form (Bug2797)
288
*Charset bug: > "less than" symbol does not display correctly (Bug2517)
289
*Metacat performance issue in Sanparks skin (Bug 3174)
290
*Metacat using illegitimate versions of EML schema (Bug 3239)
291
*Update older invalidated eml201 document in Metacat (Bug 3241)
292
*Verify existing token changes to skins (Bug 3176)
293
*The edit feature in the NCEAS Data Repoistory does not work (Bug 2644)
294
*Expose permission options for registry uploads (Bug 3014)
295
*ESA registry doesn't have LTER in login dropdown menu (Bug 2647)
296
*Data Catalog Map is slow when selecting (Bug2732)
297
*Only one attribute per element returned with pathquery results(Bug 2999)
298
*The field "skinconfigs" in the MetacatUtil class is public (Bug 3057)
299
*Generalize the reading of skin.configs in DBTransform (Bug3058)
300
*The query example in metacatquery.html document need to be changed (Bug3137)
301
*Add upload method into Metacat tour (Bug 3139)
302
*Query resultset doesn't show component name in kepler skin (Bug 3178)
303
*Add fields used in Morpho search to the default indexPaths property (Bug 3259)
304
*Private data cannot be downloaded from metadata display page (xsl) (Bug 3263)
305
*An error message happen during the metacat start up (Bug 3279)
306
*Replication: Timed replication failures occur twice instead of once (Bug 3304)
307
*Inline Data does not work correctly without the <pre> tag (Bug 3088)
308
*Include FGDC metadata in KNB and NCEAS skin search results (Bug 3146)
309

    
310
Release Notes for 1.8.0:
311
------------------------
312
This release focuses on improving query performance.  Both the selection 
313
and access control queries were rewritten to execute efficiently.
314
To improve search performance, a query caching mechanism was introduced. 
315
Cached queries are currently supported only for public users.
316

    
317
New Features:
318
* Data registries now support uploading of data objects along with data 
319
  packages (Bug 1982)
320
  
321
Bug Fixes:
322
* Metacat Performace: Rewrite the xml_nodes queries (Bug 2155)
323
* Metacat Performace: Rewrite the xml_access part of the query (Bug 2557)
324
* Query cache mechanism (Bug 2905)
325
* Metacat Performance: updates from Morpho of data packages are taking 
326
   longer than five minutes (Bug 2805)
327
* Metacat Performance: Optimize Postgres and Tomcat (Bug 2157)
328
* Metacat Performace: Upgrading hardware setup (Bug 2175)
329
* Metacat Performace: Add/drop indices on key columns (Bug 2153)
330
* Display of metadata documents reorganized, including a new citation format,
331
  obvious download options, and a redesigned data table layout (Bugs 2981, 2832)
332
* I.E. display fixes on default skin (Bug 2579)
333
* Web Address links fixed (Bug 2147)
334
* NCEAS skin redesigned to use IFRAME-less layout, match new website.
335
* Spatial query:  data packages must be fully contained by the selection 
336
  bounding box in order to appear in the search results (Bugs 2972, 2732).
337
* FGDC support: upload, delete, update, access control, and download
338
  (Bugs 2807, 2925, 2926, 2929, 2030).
339
Compatibility Notices:
340
* Tomcat 3 and 4 are no longer tested or supported. Users are 
341
  highly encouraged to upgrade to Tomcat 5.5
342

    
343
Release Notes for 1.7.0:
344
------------------------
345
This release features only a few minor changes to the core Metacat engine. 
346
The major focus of this release is the addition of the spatial functionality.
347
The geographic coverage of metadata documents can now be cached in a GIS-
348
accessible format and published via web mapping services and an online
349
interactive map. 
350

    
351
New Features:
352
* Three new open source libraries have been integrated with Metacat:
353
  - Geoserver:  A standards-compliant web map server to publish
354
                geographic data to the web.
355
               (http://docs.codehaus.org/display/GEOS/Home)
356
  - GeoTools:   A java-based GIS toolkit to programatically
357
                manipulate spatial datasets.
358
                (http://geotools.codehaus.org/)
359
  - Mapbuilder: A javascript application to provide an interactive
360
                web map front-end to Geoserver.
361
                (http://docs.codehaus.org/display/MAP/Home)
362
* Spatial Caching/Indexing mechanism; documents with geographic
363
  coverages will be added to the spatial cache.
364
* Spatial Query action in metacat servlet. 
365
* Interactive Web map to visualize and query the spatial 
366
  distribution of metadata documents.
367
* Experimental python, ruby and php client libraries to interface with metacat.
368
* Preliminary process in place for web based configuration of metacat.
369

    
370
Compatibility Notices:
371
* Tomcat 3 and 4 are no longer tested or supported. Users are 
372
  highly encouraged to upgrade to Tomcat 5.5
373

    
374
Bug Fixes:
375
* Metacat administrators are able to modify and delete documents 
376
  created by other users.
377
* Fixed problems with indexing XML attributes, see bug 2469
378

    
379

    
380
Release Notes for 1.6.0:
381
------------------------
382

    
383
This release comes with more performance improvements, initial support for 
384
LSIDs (Life Sciences Identifiers) and FGDC standard, more controls for 
385
Metacat administrators and bug fixes. Below is the list of bug fixes and
386
performance improvements.
387

    
388
Bug Fixes: 
389
* Improved the indexing algorithm. Earlier indexing failed for some documents 
390
  randomly and used to take a lot of time to complete for others. The 
391
  code for indexing was changed to take care of both these problems.
392
* Earlier, xmlns prefix was used to determine the namespace of the document. 
393
  Now schemaLocation is used instead xmlns prefix to determine the namespace 
394
  of the document as that is a better indicator of document type. 
395
* INSTR was used in some SQL statements and it is not supported by Postgres. 
396
  So SQL statements were modified so that INSTR is not used.
397
* Replication was changed to include replication of deleted documents also.
398
* Fixed bug in squery which didnt allow use of not-contains 
399

    
400
New Features:
401
* Added FGDC schema and XSLT so that Metacat can handle FGDC standard
402
* Added support for LSID. This includes modifying the stylesheets to 
403
  display the LSIDs, modifying the build to include a new target 
404
  'install-ldap'.
405
* Added following access control levels to Metacat:
406
    1. Administrators - users who can do the following:
407
       a. Run replication
408
       b. Delete any document
409
       c. Modify any document
410
       d. run indexing for any document
411
       e. check the logs
412
    2. allowedUsers - User who are allowed to submit
413
    3. deniedUsers - Users not allowed to submit
414
* Added a new skin for Ecological Society of America. 
415
* Created an Advanced search servlet which can be used from the web. 
416
* Various connections have been modified to be secure. e.g. connection between 
417
ldaps is made secure now, replication is done over secure channels.  
418

    
419
Performance:
420
* Reduced size of xml_nodes by creating a new table for holding nodes from 
421
  deleted documents and old revisions of the documents. 
422
* Provided a new variable in metacat.properties where more frequently searched 
423
  for paths can be specified. Seperate indexes are created for these paths 
424
  - so that search is faster.
425
* Included log4j for logging and debuging to prevent wasting of time in printing log statements. 
426

    
427
Release Notes for 1.5.0:
428
------------------------
429

    
430
This release comes with performace improvement, user interface enhancements,
431
and bug fixes. Below is the list of bug fixes and performance improvements. 
432

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

    
484

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

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

    
555

    
556
Release Notes for 1.4.0:
557
------------------------
558

    
559
This is a major release, and is the first to introduce many new features to
560
Metacat.  Some of the major new features in this version of Metacat include:
561

    
562
* Added a new 'Harvester' that allows documents to be periodically pulled
563
  from distributed sources into metacat, useful for interfacing with other
564
  system types. See the Metacat Tour for details.
565
* Added new 'skins' capability to allow the GUI for the metacat web interface
566
  to be more easily customized to fit into site needs.  The skin is based on
567
  a flexible mix of XSLT, CSS, and Javascript.
568
* Added a web-based metadata entry form for submitting limited EML documents
569
  as part of a data registry.  The GUI for the registry is customizable and 
570
  is integrated with the 'skins' system for the main metacat interface.  The
571
  registry subsystem is written in Perl, and can simultaneously be used to 
572
  present multiple 'registry' interfaces.
573
* A new 'client API' has been developed and implemented in Java and in Perl 
574
  so that metacat functions can be accessed from any program in those
575
  languages.  The client API supports the major metacat servlet actions,
576
  including login(), logout(), query(), insert(), update(), delete(), and 
577
  upload(). See the Metacat Tour for details.
578
* Added a new 'getlog' action that produces a usage history for all major
579
  events.  So now an XML report can be generated for document reads, inserts,
580
  deletes, etc.  See the new section in the Metacat Tour.
581
* Added a new 'buildindex' action that can rebuild the index entries for any
582
  document in the database.
583
* The configuration file for metacat (metacat.properties) has been moved out
584
  of the jar file and into the WEB-INF directory, allowing far easier changes
585
  to the configuration parameters.
586
* Results in default web interface are sorted by title in the XSLT 
587
  (configurable)
588
* Many bugs were fixed.
589

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

    
593
Release Notes for 1.3.1:
594
------------------------
595

    
596
This is a simple interim bug fix. No major functionality changes. Bugs fixed 
597
include:
598
 1) Metacat 1.3.0 doesn't work in Java 1.3 because a subtle API differnce in 
599
    Java 1.3 and Java 1.4. Currently, Metacat 1.3.1 will work in both Java 1.3 
600
    and Java 1.4.
601
 2) Distribution package size was reduced.
602

    
603

    
604
Release Notes for 1.3.0
605
------------------------
606

    
607
In 1.3.0 release, the structure of the xml_access table was changed and a new
608
table, xml_accesssubtree was added. If you try to update a previously 
609
installed Metacat, you should run a script file to updated the table structure 
610
before installation.
611
For Oracle user: At the SQLPLUS prompt type the following -
612
@src/reviseformetacat13.sql
613
For Postgresql user: At install directory prompt type the following -
614
psql exp < src/reviseformetacat13_postgres.sql
615
(where 'exp' is the database name).
616

    
617
After installation, user should run "ant schemasql" command to register EML2
618
schema in xml_catalog table.
619

    
620
If you are a new Metacat user, this step is unneeded.
621

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

    
628
New Features in 1.3.0
629
  1) Partialy support EML2 document. User can store, query, read and write
630
     EML2 documents. However, Metacat only support access control in resource
631
     level. The subtree level access control will be ignored.
632
  2) Support other xml document base on namespace/schema.
633
  3) Support query for attribute value
634
  4) Assign MIME type to data file base on metadata when user try to read it.
635
  5) Owner can assign access rules to a document which does not have access 
636
     document to apply it.
637
  6) Support exporting single file, not only whole package
638
  7) Resupport Microsoft SQL Server.
639

    
640
Fixes in 1.3.0:
641
  1) Couldn't finish delta T replication for large set of documents.
642
  2) Couldn't create access control during delta T replication.
643
  3) Eorr will be written to a seperated log file if some documents
644
     were failed in replication.
645
  4) Decrease the time to create access rules during insert or update 
646
     a package.
647
     
648
Documentation
649
-------------
650
See the docs directory for detailed documentation and installation
651
instructions.
652

    
653
Details of the Metacat architecture can be found on the website for
654
the Knowledge Network for Biocomplexity (KNB):
655

    
656
  http://knb.ecoinformatics.org/software/metacat/
657

    
658
Contributions to this work are welcome.  Please see the above web site
659
for details on how to contribute.
660

    
661
Major Known Bugs or Feature Requests (see http://bugzilla.ecoinformatics.org)
662
-----------------------------------------------------------------------------
663
If you discover a bug please report it, either by email (above) or by using
664
our bug tracking system (http://bugzilla.ecoinformatics.org). There is a
665
list of currently unimplemented features in Bugzilla that we are working on
666
for the next release.
667

    
668
Legalese
669
--------
670
This software is copyrighted by The Regents of the University of California
671
and the National Center for Ecological Analysis and Synthesis
672
and licensed under the GNU GPL; see the 'LICENSE' file for
673
details.
674

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

    
681
This software is partially supported by a grant from the Andrew W. 
682
Mellon Foundation.
683

    
684
This product includes software developed by the Apache Software
685
Foundation (http://www.apache.org/). See the LICENSE file in lib/apache
686
for details.
687

    
688
The source code, object code, and documentation in the com.oreilly.servlet
689
package is copyright and owned by Jason Hunter. See the cos-license.html file
690
for details of the license.  Licensor retains title to and ownership of the
691
Software and all enhancements, modifications, and updates to the Software.
692

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