Project

General

Profile

1 981 tao
#
2 666 jones
#  '$RCSfile$'
3
#   '$Author$'
4
# '$Revision$'
5
#     '$Date$'
6
#
7
8 2479 jones
Metacat: XML Metadata and Data Management System
9 5193 daigle
------------------------------------------------
10 666 jones
11 7347 leinfelder
Version: 2.0.3 Release
12 666 jones
13 1295 jones
Send feedback and bugs to: metacat-dev@ecoinformatics.org
14
                           http://bugzilla.ecoinformatics.org
15 696 jones
16 666 jones
Contributors: Matt Jones (jones@nceas.ucsb.edu)
17
              Chad Berkley (berkley@nceas.ucsb.edu)
18 981 tao
              Jing Tao (tao@nceas.ucsb.edu)
19 666 jones
              Jivka Bojilova (bojilova@nceas.ucsb.edu)
20
              Dan Higgins (higgins@nceas.ucsb.edu)
21 2313 jones
              Saurabh Garg (sgarg@nceas.ucsb.edu)
22
              Duane Costa (dcosta@lternet.edu)
23 2480 jones
              Veronique Connolly (connolly@nceas.ucsb.edu)
24 2905 harris
              John Harris (harris@nceas.ucsb.edu)
25
              Callie Bowdish (bowdish@ecoinformatics.org)
26
              Will Tyburczy (tyburczy@ecoinformatics.org)
27 3020 sgarg
              Matthew Perry (perry@nceas.ucsb.edu)
28 3130 perry
              Chad Burt (underbluewaters@gmail.com)
29 3612 walbridge
              Ben Leinfelder (leinfelder@nceas.ucsb.edu)
30
              Chris Barteau (barteau@nceas.ucsb.edu)
31
              Shaun Walbridge (walbridge@nceas.ucsb.edu)
32 3925 tao
              Michael Daigle (daigle@nceas.ucsb.edu)
33 2480 jones
34
Patch contributors:
35
              Andrea Chadden (chadden@nceas.ucsb.edu)
36 2479 jones
              Chris Jones (cjones@msi.ucsb.edu)
37 2480 jones
              Johnoel Ancheta (johnoel@hawaii.edu)
38
              Owen Jones (owen.jones@imperial.ac.uk)
39 1311 berkley
40 982 berkley
Metacat is a flexible database storage system for XML formatted
41 2313 jones
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 2441 jones
storage, retrieval, query, validation, and transformation (using the XSLT
46 2313 jones
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 666 jones
51 2321 jones
Installation
52
------------
53 7247 leinfelder
See the file "docs/install.html" for detailed instructions
54 4670 daigle
for your OS.
55 2321 jones
56 7347 leinfelder
Release Notes for 2.0.3:
57
------------------------
58
This is another critical patch release of Metacat 2.0.
59
*Addresses a bug that prevented Metacat replication from completing (timeout error)
60
*Uses more efficient SystemMetadata synchronization using shared Hazelcast map
61
62 7300 leinfelder
Release Notes for 2.0.2:
63
------------------------
64
This is a critical patch release of Metacat 2.0.
65
*Addresses a bug that prevented updates to DataONE identified datapackages (e.g., using DOIs)
66
*Addresses a bug that prevented the use of the Metacat API 'getaccesscontrol' action
67
*Updates the Foresite ORE library to correctly serialize resource map documents
68
69 7276 leinfelder
Release Notes for 2.0.1:
70
------------------------
71
This is a minor patch release of Metacat 2.0. Please see the previous release notes for complete information.
72
*Addresses an identifier issue during ORE generation for DataONE services
73
*Increases compatibility with older EML content and the Xalan XSLT processor
74
*Removes XSLT 2.0 support (Saxon)
75
76 7131 leinfelder
Release Notes for 2.0.0:
77 6231 leinfelder
------------------------
78 6553 leinfelder
This major release includes support for DataONE.
79
*The DataONE v1.0.0 Member Node service APIs are now the preferred method for communicating with Metacat
80 7247 leinfelder
*The existing EcoGrid and Metacat Servlet APIs are deprecated but still available.
81 7137 leinfelder
*EML-embedded access control rules using permOrder="denyFirst" are no longer supported (https://redmine.dataone.org/issues/2614)
82 7247 leinfelder
*Replication now utilizes client certificates to establish SSL connections between replication source and target servers
83 7138 leinfelder
*Access control rules now apply to objects on a per-revision basis rather than per-docid
84 6553 leinfelder
*Bugs fixed include:
85 7138 leinfelder
-SANParks skin/TPC (5561, 5530, 5533, 5542, 5543, 5544, 5551, 5563, 5566, 5567, 5569, 5353)
86
-Registry (5114, 5244)
87
-Replication (4907, 5537, 5536, 5534, 5520, 5519, 3296)
88
-Spatial cache regeneration can be skipped during reconfiguration/redeployment/upgrade (3811)
89
-Pathquery support for temporal search criteria (2084)
90
-Character encoding of XML now respected (internationalization) (2495, 4083, 3815)
91 6553 leinfelder
92 7138 leinfelder
93 6553 leinfelder
Release Notes for 1.9.5:
94
------------------------
95 6231 leinfelder
This release fixes those bugs:
96
*Metacat could not download the included schemas in an external schema file during inserting.
97
*Workflow scheduler could not work since the metadata standard of kepler kar file was changed.
98
*Earthgrid could not transform the Earthgrid query with concept "/" to the Metacat path query correctly.
99
*Document access rules are now preserved when documents are archived during the 'delete' action.
100
101
Release Notes for 1.9.4:
102
------------------------
103
This release fixes bugs in the FGDC data package upload and download interface utilized
104
by the SANParks and SAEON skins.
105
106
Release Notes for 1.9.3:
107
------------------------
108
This release fixes a harvester bug that prevented the EML harvester from processing
109
harvest lists.
110
The Kepler skin has been updated to support KarXML 2.1.
111
Ecogrid query services now support multiple namespace searches.
112
113 5311 daigle
Release Notes for 1.9.2:
114 5192 daigle
------------------------
115
This release primarily holds the addition of the Threshold of Potential
116 5311 daigle
Concern workflow functionality (TPC).  The following issues were addressed:
117 5192 daigle
118 5311 daigle
* Create a properties file for use by JUnit Tests (Bug 2994)
119
* security issue with skins (Bug 3368)
120
* reorganize classes into a more functional specific structure (Bug 3510)
121
* Add admin names as dropdown in configuration login (Bug 3729)
122
* KNB metacat replication error log file is empty (Bug 3885)
123
* Create TPC Report web browse/search pages (Bug 4165)
124
* Create archive extraction functionality (Bug 4166)
125
* Create Workflow Scheduler (Bug 4167)
126
* metacat didn't update xml_path_index table while a document was updated (Bug 4367)
127
* Enforce permissions for tpc workflow viewing and scheduling (Bug 4420)
128
* Fix cross platform TPC GUI issues (Bug 4556)
129
* TPC Sanparks page content lenth issue (Bug 4557)
130
* Create validate and isAuthorized unit tests (Bug 4558)
131
* Cannot insert replication server via gui (Bug 4594)
132
* Timed Replication takes many hours and drives the load up on KNB (Bug 4616)
133
* [ESA] Update fails when document rev number is missing (Bug 4627)
134
* fails to catch some insert and update failures (Bug 4637)
135
* must support java 1.6 (Bug 4641)
136
* Convert build to pull eml from svn instead of cvs (Bug 4644)
137
* handleGetRevisionAndDocTypeAction should search both xml_documents and xml_revisions table (Bug 4645)
138
* Metacat couldn't update a document from client, which previous versions only stay in xml_revisions table (Bug 4649)
139
* metacat runs out of memory (Bug 4658)
140
* ESA skin links are hard coded to data.esa.org (Bug 4698)
141
* Update release 1.9.2 release notes (Bug 4707)
142
* Handle writing a text node > 4000 characters to the db. (Bug 4708)
143
* Metacat should run against Tomcat 6 (Bug 4716)
144 5192 daigle
145
Release Notes for 1.9.1:
146
------------------------
147
The 1.9.1 release holds the bug fixes found after releasing 1.9.0 beta.
148
These bugs were primarily replication issues.  There is no difference
149
in functionality between 1.9.0 and 1.9.1
150
151 4622 daigle
Release Notes for 1.9.0:
152
------------------------
153
This release focuses on simplifying the Metacat installation process by
154
creating a binary (war) installation.  The need to build the application
155
on the server has been removed (although the option is still available).
156
In order to facilitate this method of installation, a few major modifications
157
were made to the code:
158
159
  -- Ant token replacement was removed for all non-build variables in the
160
     application (most of this was already done in 1.8.1).
161
162
  -- The Metacat properties confguration was moved into the application
163
     itself.
164
165
  -- Database schema version detection and install/upgrade utilities were
166
     added to the application.
167
168
Also, this release includes several enhancements:
169
  -- it supports the new EML 2.1.0 version.
170
171
  -- Documents are now stored on the local filesystem as well as in the
172
     database in order to preserve document integrity.
173
174
  -- Metacat verifies new schemas when they are added.
175
176
  -- Additional access is propegated with documents during replication.
177
178
High priority bugs were addressed in this release as well.
179
180
The enhancements/bugs addressed are:
181
182
* escaped "less than" in inlinedata causes invalid eml output (Bug 2564)
183
* need to set filename for download files (Bug 2566)
184
* add ability for search engines to index metacat documents (Bug 2826)
185
* EML citation section should include both organizationNames and individualNames (Bug 3059)
186
* refactor skins to get organization list from metacat getOrganizations() function (Bug 3114)
187
* Update dataknp.sanparks.org packageId attributes to match Metacat Ids (Bug 3258)
188
* New documents explicitly set as public access don't show up correctly (Bug 3262)
189
* Modify confguration utility in metacat (Bug 3371)
190
* Integrate perl token replacement changes (Bug 3372)
191
* Create skin specific configuration utility (Bug 3373)
192
* Add authentication for configuration utility (Bug 3374)
193
* Create a sorted properties utility (Bug 3375)
194
* Add DB upgrade/install functionality to java code (Bug 3376)
195
* Create ANT install target for developers (Bug 3377)
196
* Create LSID server installation (Bug 3380)
197
* Create unit test code for 1.9 additions (Bug 3381)
198
* create simple turnkey installer for metacat Phase I (Bug 3461)
199
* Maps do not display in Firefox version 3 (Bug 3462)
200
* Replicate access rules in replication (Bug 3464)
201
* Metacat casesensitive="true" option in pathquery expressions is broken (Bug 3472)
202
* Add full schema checking when metacat register new schema (Bug 3474)
203
* Incorporate EML 2.1.0 access changes in metacat (Bug 3495)
204
* getprincipals action returns invalid XML document (Bug 3527)
205
* Update knbweb to serve new metacat install (Bug 3545)
206
* Replication should write to disk (Bug 3554)
207
* Update acknowlegements in metacat readme (Bug 3588)
208
* Validate the ldap administrator field. (Bug 3616)
209
* Allow for different authentication services in metacat configuration (Bug 3680)
210
* Tag utilities module and have metacat check out that tag (Bug 3685)
211
212 3925 tao
Release Notes for 1.8.1:
213
------------------------
214 3934 tao
This release focuses on bug fixes. In this release, the problem that Metacat 1.8.0 and previous
215 3925 tao
versions use illegitimate EML 2.0.1 schemas is addressed: first, Metacat 1.8.1 comes with
216
legitimate EML 2.0.1 schemas; second, existing invalid EML 2.0.1 documents will be
217 3930 tao
automatically fixed while maintaining their package ID during the Metacat 1.8.1 upgrading process.
218 3925 tao
Details please see:
219
http://bugzilla.ecoinformatics.org/show_bug.cgi?id=3239
220
http://bugzilla.ecoinformatics.org/show_bug.cgi?id=3241
221
222 3955 tao
Note: after upgrading the Metacat to version 1.8.1, some replication issues may be seen, e.g., the
223
EML 2.0.1 documents from Metacat 1.8.0 or ealier verions may be rejected since Metacat 1.8.1 uses
224
different EML 2.0.1 schemas (see bug 3239). If this is case, Metacat administrators should notify
225
their counterparts to upgrade previous version Metacats to 1.8.1.
226
227 3925 tao
The fixed bugs include:
228
229
*Character set (charset) problem when filling out form (Bug2797)
230
*Charset bug: > "less than" symbol does not display correctly (Bug2517)
231
*Metacat performance issue in Sanparks skin (Bug 3174)
232
*Metacat using illegitimate versions of EML schema (Bug 3239)
233
*Update older invalidated eml201 document in Metacat (Bug 3241)
234
*Verify existing token changes to skins (Bug 3176)
235
*The edit feature in the NCEAS Data Repoistory does not work (Bug 2644)
236
*Expose permission options for registry uploads (Bug 3014)
237
*ESA registry doesn't have LTER in login dropdown menu (Bug 2647)
238
*Data Catalog Map is slow when selecting (Bug2732)
239
*Only one attribute per element returned with pathquery results(Bug 2999)
240
*The field "skinconfigs" in the MetacatUtil class is public (Bug 3057)
241
*Generalize the reading of skin.configs in DBTransform (Bug3058)
242
*The query example in metacatquery.html document need to be changed (Bug3137)
243
*Add upload method into Metacat tour (Bug 3139)
244
*Query resultset doesn't show component name in kepler skin (Bug 3178)
245
*Add fields used in Morpho search to the default indexPaths property (Bug 3259)
246
*Private data cannot be downloaded from metadata display page (xsl) (Bug 3263)
247
*An error message happen during the metacat start up (Bug 3279)
248
*Replication: Timed replication failures occur twice instead of once (Bug 3304)
249
*Inline Data does not work correctly without the <pre> tag (Bug 3088)
250
*Include FGDC metadata in KNB and NCEAS skin search results (Bug 3146)
251
252 3621 tao
Release Notes for 1.8.0:
253 3376 tao
------------------------
254 3612 walbridge
This release focuses on improving query performance.  Both the selection
255
and access control queries were rewritten to execute efficiently.
256
To improve search performance, a query caching mechanism was introduced.
257
Cached queries are currently supported only for public users.
258 3376 tao
259 3612 walbridge
New Features:
260
* Data registries now support uploading of data objects along with data
261
  packages (Bug 1982)
262
263 3376 tao
Bug Fixes:
264
* Metacat Performace: Rewrite the xml_nodes queries (Bug 2155)
265
* Metacat Performace: Rewrite the xml_access part of the query (Bug 2557)
266
* Query cache mechanism (Bug 2905)
267
* Metacat Performance: updates from Morpho of data packages are taking
268
   longer than five minutes (Bug 2805)
269 3613 leinfelder
* Metacat Performance: Optimize Postgres and Tomcat (Bug 2157)
270 3376 tao
* Metacat Performace: Upgrading hardware setup (Bug 2175)
271
* Metacat Performace: Add/drop indices on key columns (Bug 2153)
272 3612 walbridge
* Display of metadata documents reorganized, including a new citation format,
273 3614 bowdish
  obvious download options, and a redesigned data table layout (Bugs 2981, 2832)
274
* I.E. display fixes on default skin (Bug 2579)
275
* Web Address links fixed (Bug 2147)
276 3612 walbridge
* NCEAS skin redesigned to use IFRAME-less layout, match new website.
277 3613 leinfelder
* Spatial query:  data packages must be fully contained by the selection
278 3614 bowdish
  bounding box in order to appear in the search results (Bugs 2972, 2732).
279 3628 barteau
* FGDC support: upload, delete, update, access control, and download
280
  (Bugs 2807, 2925, 2926, 2929, 2030).
281 3376 tao
Compatibility Notices:
282
* Tomcat 3 and 4 are no longer tested or supported. Users are
283
  highly encouraged to upgrade to Tomcat 5.5
284
285 3109 perry
Release Notes for 1.7.0:
286
------------------------
287
This release features only a few minor changes to the core Metacat engine.
288
The major focus of this release is the addition of the spatial functionality.
289
The geographic coverage of metadata documents can now be cached in a GIS-
290
accessible format and published via web mapping services and an online
291
interactive map.
292 3020 sgarg
293 3109 perry
New Features:
294
* Three new open source libraries have been integrated with Metacat:
295
  - Geoserver:  A standards-compliant web map server to publish
296
                geographic data to the web.
297 3614 bowdish
               (http://docs.codehaus.org/display/GEOS/Home)
298 3109 perry
  - GeoTools:   A java-based GIS toolkit to programatically
299
                manipulate spatial datasets.
300
                (http://geotools.codehaus.org/)
301
  - Mapbuilder: A javascript application to provide an interactive
302
                web map front-end to Geoserver.
303
                (http://docs.codehaus.org/display/MAP/Home)
304
* Spatial Caching/Indexing mechanism; documents with geographic
305
  coverages will be added to the spatial cache.
306
* Spatial Query action in metacat servlet.
307
* Interactive Web map to visualize and query the spatial
308
  distribution of metadata documents.
309 3135 perry
* Experimental python, ruby and php client libraries to interface with metacat.
310 3109 perry
* Preliminary process in place for web based configuration of metacat.
311
312
Compatibility Notices:
313
* Tomcat 3 and 4 are no longer tested or supported. Users are
314
  highly encouraged to upgrade to Tomcat 5.5
315
316
Bug Fixes:
317
* Metacat administrators are able to modify and delete documents
318
  created by other users.
319 3153 jones
* Fixed problems with indexing XML attributes, see bug 2469
320 3109 perry
321
322 3020 sgarg
Release Notes for 1.6.0:
323
------------------------
324
325
This release comes with more performance improvements, initial support for
326
LSIDs (Life Sciences Identifiers) and FGDC standard, more controls for
327
Metacat administrators and bug fixes. Below is the list of bug fixes and
328
performance improvements.
329
330
Bug Fixes:
331
* Improved the indexing algorithm. Earlier indexing failed for some documents
332
  randomly and used to take a lot of time to complete for others. The
333
  code for indexing was changed to take care of both these problems.
334
* Earlier, xmlns prefix was used to determine the namespace of the document.
335
  Now schemaLocation is used instead xmlns prefix to determine the namespace
336
  of the document as that is a better indicator of document type.
337
* INSTR was used in some SQL statements and it is not supported by Postgres.
338
  So SQL statements were modified so that INSTR is not used.
339 3025 sgarg
* Replication was changed to include replication of deleted documents also.
340
* Fixed bug in squery which didnt allow use of not-contains
341 3020 sgarg
342
New Features:
343
* Added FGDC schema and XSLT so that Metacat can handle FGDC standard
344
* Added support for LSID. This includes modifying the stylesheets to
345
  display the LSIDs, modifying the build to include a new target
346
  'install-ldap'.
347
* Added following access control levels to Metacat:
348
    1. Administrators - users who can do the following:
349
       a. Run replication
350
       b. Delete any document
351
       c. Modify any document
352
       d. run indexing for any document
353
       e. check the logs
354
    2. allowedUsers - User who are allowed to submit
355
    3. deniedUsers - Users not allowed to submit
356
* Added a new skin for Ecological Society of America.
357 3025 sgarg
* Created an Advanced search servlet which can be used from the web.
358
* Various connections have been modified to be secure. e.g. connection between
359
ldaps is made secure now, replication is done over secure channels.
360 3020 sgarg
361
Performance:
362
* Reduced size of xml_nodes by creating a new table for holding nodes from
363
  deleted documents and old revisions of the documents.
364
* Provided a new variable in metacat.properties where more frequently searched
365
  for paths can be specified. Seperate indexes are created for these paths
366
  - so that search is faster.
367 3025 sgarg
* Included log4j for logging and debuging to prevent wasting of time in printing log statements.
368 3020 sgarg
369 2475 sgarg
Release Notes for 1.5.0:
370
------------------------
371
372 2479 jones
This release comes with performace improvement, user interface enhancements,
373 2475 sgarg
and bug fixes. Below is the list of bug fixes and performance improvements.
374
375
Bug Fixes:
376
* Modify property values of harvester registration servlets to match the
377
  servlet-mapping URL values in web.xml. The old values used the servlet
378
  class names. This worked in Tomcat 4 but seems to break in Tomcat 5 on
379
  Windows. The new values use the servlet-mapping URL values. This should
380
  work in both Tomcat 4 and Tomcat 5. (Bug 162)
381
* Re-implement logic to prune old log entries from the HARVEST_LOG and
382
  HARVEST_DETAIL_LOG tables. The old logic caused integrity constraint
383
  violations in the database because it tried to delete parent records from
384
  HARVEST_LOG prior to deleting child records from
385
  HARVEST_DETAIL_LOG. (Bug 162)
386
* In data registry, minor bugs fixed like the error page shows the link back
387
  to the form when error page was generated because of a document read
388
  request from search results page,  the successful delete button leading
389
  to a blank screen and the old ACL overwritten by the registry.
390
  (Bugs 1307, 1310, 1322, 1344, 1551)
391
* Changed the code to support insertion of following characters: ', `,
392
  charcters in the Numeric Character Reference format (&#xyz;) and
393
  characters like µ. Characters like µ will be converted to and stored in
394
  Numeric Character Reference format(&#xyz;). They will also be returned
395
  in Numeric Character Reference and it is upto the client to convert them
396
  and display them accordingly in the application. Partial fix provided by
397
  Johnoel Ancheta. (Bug 1538,1711)
398
* Spatial search failed on Oracle because of invalid entries made by
399
  some documents in the nodedata column of xml_nodes for paths involving
400
  'eastBoundingCoordinate', 'westBoundingCoordinate',
401
  'northBoundingCoordinate', 'southBoundingCoordinate'. A new column
402
  nodedatanumerical was added to xml_nodes table such that all the numerical
403
  nodedata is stored in this column and this column is now used for spatial
404
  search. (Bug 1703, 1718)
405
* In the default skin, clicking on the keywords on the home page did not
406
  result is a search being done. Fix provided by Owen Jones. (Bug 1768)
407
* Metacat generated a success message even when a document which didnt
408
  exsist was requested for deletion. This has been fixed. (Bug 1850)
409
* "packagetype" in xml-relation table was entered as eml200 namespace when
410
  an eml201 document was inserted. This is fixed now so that "packagetype"
411
  in xml-relation table points to eml201 namespace. (Bug 1979)
412
* System_id in xml_catalog pointed to http://knb.ecoinformatics.org/knb/
413
  earlier. Fixed such that it points to the locally installed metacat url.
414
  (Bug 1986)
415
* Changes to the Query subsystem fix bugs that prevented attributes from
416
  being expressed solely in the xpath query statement and the returnfield
417
  values. For instance, a query URL may now include search strings like
418
  '@packageId=sbclter%25' and return strings like 'returnfield=@packageId'.
419
  Previously, the attribute had to be appended to an element:
420
  '/eml/@packageId=sbclter%25'. These fixes change DBQuery.java,
421
  QuerySpecification.java, and QueryTerm.java (Bug 2052)
422
* Search query failed in case of Oracle if number of documents in the result
423
  were more than 1000. This has been fixed. (Bug 2000)
424
* Removed any occurence of enum which is now a keyword in Java 1.5
425
426
427
Enhancements:
428
* Major improvements done in user interface for the data registeries and
429
  various other skins. Improvements done based on suggestions from Mark
430
  Stromberg, Laura Downey and others. Improvements also done in resultset.xsl,
431
  the default skin and ldap templates. (Bug 1948)
432
* Coded added such that administrator can delete documents irrespective of
433
  who the document belongs to.
434
* Performance impovement done in searching of datasets. A part of the search
435
  time was taken up because of generation of resultset after the search had be
436
  done. So this was the sequence of events in earlier metacat
437
  1) Search for the given text
438
  2) A list of docids generated
439
  3) For each of the docids
440
     3a) Use xml_index and xml_nodes table to generate the string descibing
441
         the document including the returnfields requested in the search
442 2479 jones
  4) Add all the strings from step 3a to send back the resultant
443
     document. Here a decent amount of time was being taken by step 3a.
444
  The algorithm is now modified by addition of two tables xml_queryresult and
445
  xml_returnfields and a user defined parameter xml_returnfield_count. The
446
  new algorithm works as follows:
447 2475 sgarg
  1) Search for the given text
448 2479 jones
  2) A list of docids is generated
449 2475 sgarg
  3) For the given set of return fields generate a unique string and check
450
     if that string exists in xml_returnfields
451
     3a) If string does not exist in xml_returnfield, then enter a new
452
         record usage_count as 1 and returnfield_string as the unique string
453
         generated above.
454
     3b) Else if the string exists, increment usage_count
455
  4) Given the docids from step 2 and the id of the returnfield record from
456
     step 3, query for any docids that already exist in xml_queryresult.
457
     For the docids that do exist, get the queryresult_string.
458
  5) For rest of the docids from step2 which were not found in step 4, do
459
     the following for each of the documents:
460
     5a) Use xml_index and xml_nodes table to generate the string descibing
461
         the document including the returnfields requested in the search
462
     5b) If usage_count of the record from step is more than
463
         xml_returnfield_count set in metacat.properties, then store the
464
         string in xml_queryresult as a record which has the returnfield_id
465
         representing the set of returnfields, docid representing the
466
         document and the string as queryresult_string.
467
  6) Add all the strings from step 4 and step 5a to send back the resultant
468
     document
469
  So the results from step 3a in previous algorithm are effectively cached
470
  and hence same computation is not done again and again for each search.
471
  When a document is deleted, all the entries for that document in
472
  xml_queryresult table are also deleted. When a document is updated, all
473
  the entries for that document in xml_queryresult table are deleted. This
474
  works fine because those entries will be generated and cached again the
475
  next time the document is part of a search is requested.
476
* Performance impovement done for % search.
477
* Following new functions added to metacat client API: a method to set access
478
  on an xml document and a method to get newest version for a given document.
479
* Implement a new HarvesterServlet for running Harvester as a servlet. This
480
  eliminates the need to run Harvester in a terminal window. By default, the
481
  HarvesterServlet is commented out in lib/web.xml.tomcat(3,4,5). The user
482
  documentation will be modified to instruct Harvester administrators to
483
  uncomment the HarvesterServlet entry.
484
* Minor enhancement to support multiple email addresses for harvester
485
  administrator and site contact. Each address is separated by a comma or
486
  semicolon.
487
* Increase number of rows in Harvest List Editor from 300 to 1200.
488
* Changed default maxHarvests value to 0. Added logic to ignore maxHarvests
489
  value when it is set to 0 or a negative number. This allows Harvester to
490
  run indefinitely without shutting down after reaching a maximum number of
491
  harvests. The previous default value of 30 would cause Harvester to
492
  terminate after 30 harvests.
493
494
Details of all changes can be found in the bug database here:
495
http://bugzilla.ecoinformatics.org/buglist.cgi?product=Metacat&target_milestone=1.5
496
497
498 2313 jones
Release Notes for 1.4.0:
499
------------------------
500
501
This is a major release, and is the first to introduce many new features to
502
Metacat.  Some of the major new features in this version of Metacat include:
503
504
* Added a new 'Harvester' that allows documents to be periodically pulled
505
  from distributed sources into metacat, useful for interfacing with other
506
  system types. See the Metacat Tour for details.
507
* Added new 'skins' capability to allow the GUI for the metacat web interface
508
  to be more easily customized to fit into site needs.  The skin is based on
509
  a flexible mix of XSLT, CSS, and Javascript.
510 2321 jones
* Added a web-based metadata entry form for submitting limited EML documents
511 2313 jones
  as part of a data registry.  The GUI for the registry is customizable and
512
  is integrated with the 'skins' system for the main metacat interface.  The
513
  registry subsystem is written in Perl, and can simultaneously be used to
514
  present multiple 'registry' interfaces.
515
* A new 'client API' has been developed and implemented in Java and in Perl
516
  so that metacat functions can be accessed from any program in those
517
  languages.  The client API supports the major metacat servlet actions,
518
  including login(), logout(), query(), insert(), update(), delete(), and
519
  upload(). See the Metacat Tour for details.
520
* Added a new 'getlog' action that produces a usage history for all major
521
  events.  So now an XML report can be generated for document reads, inserts,
522
  deletes, etc.  See the new section in the Metacat Tour.
523
* Added a new 'buildindex' action that can rebuild the index entries for any
524
  document in the database.
525
* The configuration file for metacat (metacat.properties) has been moved out
526
  of the jar file and into the WEB-INF directory, allowing far easier changes
527
  to the configuration parameters.
528 2321 jones
* Results in default web interface are sorted by title in the XSLT
529
  (configurable)
530
* Many bugs were fixed.
531 2313 jones
532
Details of all changes can be found in the bug database here:
533
http://bugzilla.ecoinformatics.org/buglist.cgi?product=Metacat&target_milestone=1.4
534
535 1775 tao
Release Notes for 1.3.1:
536 2313 jones
------------------------
537 1308 tao
538 1775 tao
This is a simple interim bug fix. No major functionality changes. Bugs fixed
539
include:
540 1776 tao
 1) Metacat 1.3.0 doesn't work in Java 1.3 because a subtle API differnce in
541
    Java 1.3 and Java 1.4. Currently, Metacat 1.3.1 will work in both Java 1.3
542
    and Java 1.4.
543 1775 tao
 2) Distribution package size was reduced.
544
545
546
Release Notes for 1.3.0
547 2313 jones
------------------------
548 1775 tao
549
In 1.3.0 release, the structure of the xml_access table was changed and a new
550 1628 tao
table, xml_accesssubtree was added. If you try to update a previously
551
installed Metacat, you should run a script file to updated the table structure
552
before installation.
553
For Oracle user: At the SQLPLUS prompt type the following -
554
@src/reviseformetacat13.sql
555
For Postgresql user: At install directory prompt type the following -
556
psql exp < src/reviseformetacat13_postgres.sql
557
(where 'exp' is the database name).
558 1334 tao
559 1628 tao
After installation, user should run "ant schemasql" command to register EML2
560
schema in xml_catalog table.
561
562
If you are a new Metacat user, this step is unneeded.
563
564 1769 tao
Note: 1) We recommend to use Tomcat 4 and JAVA 1.4 to run Metacat. Otherwise,
565
         it will cause potential replication issues.
566
      2) Delete the xercesImpl.jar and xmlParserAPIs.jar files
567
         which are in $CATALINA_HOME/common/endorsed. They are old version and
568
         don't support XML schema validation.
569
570 1628 tao
New Features in 1.3.0
571
  1) Partialy support EML2 document. User can store, query, read and write
572
     EML2 documents. However, Metacat only support access control in resource
573
     level. The subtree level access control will be ignored.
574
  2) Support other xml document base on namespace/schema.
575
  3) Support query for attribute value
576
  4) Assign MIME type to data file base on metadata when user try to read it.
577
  5) Owner can assign access rules to a document which does not have access
578
     document to apply it.
579
  6) Support exporting single file, not only whole package
580 1769 tao
  7) Resupport Microsoft SQL Server.
581 1628 tao
582
Fixes in 1.3.0:
583
  1) Couldn't finish delta T replication for large set of documents.
584
  2) Couldn't create access control during delta T replication.
585
  3) Eorr will be written to a seperated log file if some documents
586
     were failed in replication.
587
  4) Decrease the time to create access rules during insert or update
588
     a package.
589
590 861 jones
Documentation
591
-------------
592 1311 berkley
See the docs directory for detailed documentation and installation
593 666 jones
instructions.
594
595 1311 berkley
Details of the Metacat architecture can be found on the website for
596 666 jones
the Knowledge Network for Biocomplexity (KNB):
597
598 805 jones
  http://knb.ecoinformatics.org/software/metacat/
599 666 jones
600
Contributions to this work are welcome.  Please see the above web site
601
for details on how to contribute.
602
603 848 jones
Major Known Bugs or Feature Requests (see http://bugzilla.ecoinformatics.org)
604
-----------------------------------------------------------------------------
605 2313 jones
If you discover a bug please report it, either by email (above) or by using
606
our bug tracking system (http://bugzilla.ecoinformatics.org). There is a
607
list of currently unimplemented features in Bugzilla that we are working on
608
for the next release.
609 805 jones
610
Legalese
611
--------
612 666 jones
This software is copyrighted by The Regents of the University of California
613
and the National Center for Ecological Analysis and Synthesis
614
and licensed under the GNU GPL; see the 'LICENSE' file for
615
details.
616
617 1311 berkley
This material is based upon work supported by the
618 2313 jones
National Science Foundation under Grant No. DEB99-80154, DBI99-04777, and
619 2975 jones
0225676 for SEEK.  Any opinions, findings and conclusions or recomendations
620
expressed in this material are those of the author(s) and do not necessarily
621
reflect the views of the National Science Foundation (NSF).
622 1307 jones
623 2505 sgarg
This software is partially supported by a grant from the Andrew W.
624
Mellon Foundation.
625
626 1311 berkley
This product includes software developed by the Apache Software
627 1307 jones
Foundation (http://www.apache.org/). See the LICENSE file in lib/apache
628
for details.
629
630 1311 berkley
The source code, object code, and documentation in the com.oreilly.servlet
631 1307 jones
package is copyright and owned by Jason Hunter. See the cos-license.html file
632 1311 berkley
for details of the license.  Licensor retains title to and ownership of the
633 1307 jones
Software and all enhancements, modifications, and updates to the Software.
634 2441 jones
635 2599 jones
This software includes the JDBC driver for PostgreSQL.  See the
636
postgresql-license.txt file for details.