Project

General

Profile

1
#
2
#  '$RCSfile$'
3
#   '$Author: tao $'
4
# '$Revision: 3930 $'
5
#     '$Date: 2008-06-03 17:25:39 -0700 (Tue, 03 Jun 2008) $'
6
#
7

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

    
11
Version: 1.8.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

    
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/user/metacatinstall.html" for detailed instructions.
54

    
55
Release Notes for 1.8.1:
56
------------------------
57
This release focuses on bug fix. In this release, the problem that Metacat 1.8.0 and previous 
58
versions use illegitimate EML 2.0.1 schemas is addressed: first, Metacat 1.8.1 comes with
59
legitimate EML 2.0.1 schemas; second, existing invalid EML 2.0.1 documents will be 
60
automatically fixed while maintaining their package ID during the Metacat 1.8.1 upgrading process. 
61
Details please see:
62
http://bugzilla.ecoinformatics.org/show_bug.cgi?id=3239
63
http://bugzilla.ecoinformatics.org/show_bug.cgi?id=3241
64

    
65
The fixed bugs include:
66

    
67
*Character set (charset) problem when filling out form (Bug2797)
68
*Charset bug: > "less than" symbol does not display correctly (Bug2517)
69
*Metacat performance issue in Sanparks skin (Bug 3174)
70
*Metacat using illegitimate versions of EML schema (Bug 3239)
71
*Update older invalidated eml201 document in Metacat (Bug 3241)
72
*Verify existing token changes to skins (Bug 3176)
73
*The edit feature in the NCEAS Data Repoistory does not work (Bug 2644)
74
*Expose permission options for registry uploads (Bug 3014)
75
*ESA registry doesn't have LTER in login dropdown menu (Bug 2647)
76
*Data Catalog Map is slow when selecting (Bug2732)
77
*Only one attribute per element returned with pathquery results(Bug 2999)
78
*The field "skinconfigs" in the MetacatUtil class is public (Bug 3057)
79
*Generalize the reading of skin.configs in DBTransform (Bug3058)
80
*The query example in metacatquery.html document need to be changed (Bug3137)
81
*Add upload method into Metacat tour (Bug 3139)
82
*Query resultset doesn't show component name in kepler skin (Bug 3178)
83
*Add fields used in Morpho search to the default indexPaths property (Bug 3259)
84
*Private data cannot be downloaded from metadata display page (xsl) (Bug 3263)
85
*An error message happen during the metacat start up (Bug 3279)
86
*Replication: Timed replication failures occur twice instead of once (Bug 3304)
87
*Inline Data does not work correctly without the <pre> tag (Bug 3088)
88
*Include FGDC metadata in KNB and NCEAS skin search results (Bug 3146)
89

    
90
Release Notes for 1.8.0:
91
------------------------
92
This release focuses on improving query performance.  Both the selection 
93
and access control queries were rewritten to execute efficiently.
94
To improve search performance, a query caching mechanism was introduced. 
95
Cached queries are currently supported only for public users.
96

    
97
New Features:
98
* Data registries now support uploading of data objects along with data 
99
  packages (Bug 1982)
100
  
101
Bug Fixes:
102
* Metacat Performace: Rewrite the xml_nodes queries (Bug 2155)
103
* Metacat Performace: Rewrite the xml_access part of the query (Bug 2557)
104
* Query cache mechanism (Bug 2905)
105
* Metacat Performance: updates from Morpho of data packages are taking 
106
   longer than five minutes (Bug 2805)
107
* Metacat Performance: Optimize Postgres and Tomcat (Bug 2157)
108
* Metacat Performace: Upgrading hardware setup (Bug 2175)
109
* Metacat Performace: Add/drop indices on key columns (Bug 2153)
110
* Display of metadata documents reorganized, including a new citation format,
111
  obvious download options, and a redesigned data table layout (Bugs 2981, 2832)
112
* I.E. display fixes on default skin (Bug 2579)
113
* Web Address links fixed (Bug 2147)
114
* NCEAS skin redesigned to use IFRAME-less layout, match new website.
115
* Spatial query:  data packages must be fully contained by the selection 
116
  bounding box in order to appear in the search results (Bugs 2972, 2732).
117
* FGDC support: upload, delete, update, access control, and download
118
  (Bugs 2807, 2925, 2926, 2929, 2030).
119
Compatibility Notices:
120
* Tomcat 3 and 4 are no longer tested or supported. Users are 
121
  highly encouraged to upgrade to Tomcat 5.5
122

    
123
Release Notes for 1.7.0:
124
------------------------
125
This release features only a few minor changes to the core Metacat engine. 
126
The major focus of this release is the addition of the spatial functionality.
127
The geographic coverage of metadata documents can now be cached in a GIS-
128
accessible format and published via web mapping services and an online
129
interactive map. 
130

    
131
New Features:
132
* Three new open source libraries have been integrated with Metacat:
133
  - Geoserver:  A standards-compliant web map server to publish
134
                geographic data to the web.
135
               (http://docs.codehaus.org/display/GEOS/Home)
136
  - GeoTools:   A java-based GIS toolkit to programatically
137
                manipulate spatial datasets.
138
                (http://geotools.codehaus.org/)
139
  - Mapbuilder: A javascript application to provide an interactive
140
                web map front-end to Geoserver.
141
                (http://docs.codehaus.org/display/MAP/Home)
142
* Spatial Caching/Indexing mechanism; documents with geographic
143
  coverages will be added to the spatial cache.
144
* Spatial Query action in metacat servlet. 
145
* Interactive Web map to visualize and query the spatial 
146
  distribution of metadata documents.
147
* Experimental python, ruby and php client libraries to interface with metacat.
148
* Preliminary process in place for web based configuration of metacat.
149

    
150
Compatibility Notices:
151
* Tomcat 3 and 4 are no longer tested or supported. Users are 
152
  highly encouraged to upgrade to Tomcat 5.5
153

    
154
Bug Fixes:
155
* Metacat administrators are able to modify and delete documents 
156
  created by other users.
157
* Fixed problems with indexing XML attributes, see bug 2469
158

    
159

    
160
Release Notes for 1.6.0:
161
------------------------
162

    
163
This release comes with more performance improvements, initial support for 
164
LSIDs (Life Sciences Identifiers) and FGDC standard, more controls for 
165
Metacat administrators and bug fixes. Below is the list of bug fixes and
166
performance improvements.
167

    
168
Bug Fixes: 
169
* Improved the indexing algorithm. Earlier indexing failed for some documents 
170
  randomly and used to take a lot of time to complete for others. The 
171
  code for indexing was changed to take care of both these problems.
172
* Earlier, xmlns prefix was used to determine the namespace of the document. 
173
  Now schemaLocation is used instead xmlns prefix to determine the namespace 
174
  of the document as that is a better indicator of document type. 
175
* INSTR was used in some SQL statements and it is not supported by Postgres. 
176
  So SQL statements were modified so that INSTR is not used.
177
* Replication was changed to include replication of deleted documents also.
178
* Fixed bug in squery which didnt allow use of not-contains 
179

    
180
New Features:
181
* Added FGDC schema and XSLT so that Metacat can handle FGDC standard
182
* Added support for LSID. This includes modifying the stylesheets to 
183
  display the LSIDs, modifying the build to include a new target 
184
  'install-ldap'.
185
* Added following access control levels to Metacat:
186
    1. Administrators - users who can do the following:
187
       a. Run replication
188
       b. Delete any document
189
       c. Modify any document
190
       d. run indexing for any document
191
       e. check the logs
192
    2. allowedUsers - User who are allowed to submit
193
    3. deniedUsers - Users not allowed to submit
194
* Added a new skin for Ecological Society of America. 
195
* Created an Advanced search servlet which can be used from the web. 
196
* Various connections have been modified to be secure. e.g. connection between 
197
ldaps is made secure now, replication is done over secure channels.  
198

    
199
Performance:
200
* Reduced size of xml_nodes by creating a new table for holding nodes from 
201
  deleted documents and old revisions of the documents. 
202
* Provided a new variable in metacat.properties where more frequently searched 
203
  for paths can be specified. Seperate indexes are created for these paths 
204
  - so that search is faster.
205
* Included log4j for logging and debuging to prevent wasting of time in printing log statements. 
206

    
207
Release Notes for 1.5.0:
208
------------------------
209

    
210
This release comes with performace improvement, user interface enhancements,
211
and bug fixes. Below is the list of bug fixes and performance improvements. 
212

    
213
Bug Fixes:
214
* Modify property values of harvester registration servlets to match the
215
  servlet-mapping URL values in web.xml. The old values used the servlet
216
  class names. This worked in Tomcat 4 but seems to break in Tomcat 5 on
217
  Windows. The new values use the servlet-mapping URL values. This should
218
  work in both Tomcat 4 and Tomcat 5. (Bug 162)
219
* Re-implement logic to prune old log entries from the HARVEST_LOG and
220
  HARVEST_DETAIL_LOG tables. The old logic caused integrity constraint
221
  violations in the database because it tried to delete parent records from
222
  HARVEST_LOG prior to deleting child records from
223
  HARVEST_DETAIL_LOG. (Bug 162)
224
* In data registry, minor bugs fixed like the error page shows the link back
225
  to the form when error page was generated because of a document read
226
  request from search results page,  the successful delete button leading
227
  to a blank screen and the old ACL overwritten by the registry.
228
  (Bugs 1307, 1310, 1322, 1344, 1551)
229
* Changed the code to support insertion of following characters: ', `,
230
  charcters in the Numeric Character Reference format (&#xyz;) and
231
  characters like µ. Characters like µ will be converted to and stored in
232
  Numeric Character Reference format(&#xyz;). They will also be returned
233
  in Numeric Character Reference and it is upto the client to convert them
234
  and display them accordingly in the application. Partial fix provided by
235
  Johnoel Ancheta. (Bug 1538,1711)
236
* Spatial search failed on Oracle because of invalid entries made by
237
  some documents in the nodedata column of xml_nodes for paths involving
238
  'eastBoundingCoordinate', 'westBoundingCoordinate',
239
  'northBoundingCoordinate', 'southBoundingCoordinate'. A new column
240
  nodedatanumerical was added to xml_nodes table such that all the numerical
241
  nodedata is stored in this column and this column is now used for spatial
242
  search. (Bug 1703, 1718)
243
* In the default skin, clicking on the keywords on the home page did not
244
  result is a search being done. Fix provided by Owen Jones. (Bug 1768)
245
* Metacat generated a success message even when a document which didnt
246
  exsist was requested for deletion. This has been fixed. (Bug 1850)
247
* "packagetype" in xml-relation table was entered as eml200 namespace when
248
  an eml201 document was inserted. This is fixed now so that "packagetype"
249
  in xml-relation table points to eml201 namespace. (Bug 1979)
250
* System_id in xml_catalog pointed to http://knb.ecoinformatics.org/knb/
251
  earlier. Fixed such that it points to the locally installed metacat url. 
252
  (Bug 1986)
253
* Changes to the Query subsystem fix bugs that prevented attributes from 
254
  being expressed solely in the xpath query statement and the returnfield 
255
  values. For instance, a query URL may now include search strings like 
256
  '@packageId=sbclter%25' and return strings like 'returnfield=@packageId'.
257
  Previously, the attribute had to be appended to an element: 
258
  '/eml/@packageId=sbclter%25'. These fixes change DBQuery.java, 
259
  QuerySpecification.java, and QueryTerm.java (Bug 2052)
260
* Search query failed in case of Oracle if number of documents in the result
261
  were more than 1000. This has been fixed. (Bug 2000)
262
* Removed any occurence of enum which is now a keyword in Java 1.5
263

    
264

    
265
Enhancements:
266
* Major improvements done in user interface for the data registeries and
267
  various other skins. Improvements done based on suggestions from Mark
268
  Stromberg, Laura Downey and others. Improvements also done in resultset.xsl,
269
  the default skin and ldap templates. (Bug 1948)
270
* Coded added such that administrator can delete documents irrespective of
271
  who the document belongs to.
272
* Performance impovement done in searching of datasets. A part of the search
273
  time was taken up because of generation of resultset after the search had be
274
  done. So this was the sequence of events in earlier metacat
275
  1) Search for the given text
276
  2) A list of docids generated
277
  3) For each of the docids
278
     3a) Use xml_index and xml_nodes table to generate the string descibing
279
         the document including the returnfields requested in the search
280
  4) Add all the strings from step 3a to send back the resultant
281
     document. Here a decent amount of time was being taken by step 3a. 
282
  The algorithm is now modified by addition of two tables xml_queryresult and
283
  xml_returnfields and a user defined parameter xml_returnfield_count. The
284
  new algorithm works as follows:
285
  1) Search for the given text
286
  2) A list of docids is generated
287
  3) For the given set of return fields generate a unique string and check
288
     if that string exists in xml_returnfields
289
     3a) If string does not exist in xml_returnfield, then enter a new
290
         record usage_count as 1 and returnfield_string as the unique string
291
         generated above.
292
     3b) Else if the string exists, increment usage_count
293
  4) Given the docids from step 2 and the id of the returnfield record from
294
     step 3, query for any docids that already exist in xml_queryresult.
295
     For the docids that do exist, get the queryresult_string.
296
  5) For rest of the docids from step2 which were not found in step 4, do
297
     the following for each of the documents:
298
     5a) Use xml_index and xml_nodes table to generate the string descibing
299
         the document including the returnfields requested in the search
300
     5b) If usage_count of the record from step is more than
301
         xml_returnfield_count set in metacat.properties, then store the
302
         string in xml_queryresult as a record which has the returnfield_id
303
         representing the set of returnfields, docid representing the
304
         document and the string as queryresult_string.
305
  6) Add all the strings from step 4 and step 5a to send back the resultant
306
     document
307
  So the results from step 3a in previous algorithm are effectively cached
308
  and hence same computation is not done again and again for each search.
309
  When a document is deleted, all the entries for that document in
310
  xml_queryresult table are also deleted. When a document is updated, all
311
  the entries for that document in xml_queryresult table are deleted. This
312
  works fine because those entries will be generated and cached again the
313
  next time the document is part of a search is requested.
314
* Performance impovement done for % search.
315
* Following new functions added to metacat client API: a method to set access
316
  on an xml document and a method to get newest version for a given document.
317
* Implement a new HarvesterServlet for running Harvester as a servlet. This
318
  eliminates the need to run Harvester in a terminal window. By default, the
319
  HarvesterServlet is commented out in lib/web.xml.tomcat(3,4,5). The user
320
  documentation will be modified to instruct Harvester administrators to
321
  uncomment the HarvesterServlet entry.
322
* Minor enhancement to support multiple email addresses for harvester
323
  administrator and site contact. Each address is separated by a comma or
324
  semicolon.
325
* Increase number of rows in Harvest List Editor from 300 to 1200.
326
* Changed default maxHarvests value to 0. Added logic to ignore maxHarvests
327
  value when it is set to 0 or a negative number. This allows Harvester to
328
  run indefinitely without shutting down after reaching a maximum number of
329
  harvests. The previous default value of 30 would cause Harvester to
330
  terminate after 30 harvests.
331

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

    
335

    
336
Release Notes for 1.4.0:
337
------------------------
338

    
339
This is a major release, and is the first to introduce many new features to
340
Metacat.  Some of the major new features in this version of Metacat include:
341

    
342
* Added a new 'Harvester' that allows documents to be periodically pulled
343
  from distributed sources into metacat, useful for interfacing with other
344
  system types. See the Metacat Tour for details.
345
* Added new 'skins' capability to allow the GUI for the metacat web interface
346
  to be more easily customized to fit into site needs.  The skin is based on
347
  a flexible mix of XSLT, CSS, and Javascript.
348
* Added a web-based metadata entry form for submitting limited EML documents
349
  as part of a data registry.  The GUI for the registry is customizable and 
350
  is integrated with the 'skins' system for the main metacat interface.  The
351
  registry subsystem is written in Perl, and can simultaneously be used to 
352
  present multiple 'registry' interfaces.
353
* A new 'client API' has been developed and implemented in Java and in Perl 
354
  so that metacat functions can be accessed from any program in those
355
  languages.  The client API supports the major metacat servlet actions,
356
  including login(), logout(), query(), insert(), update(), delete(), and 
357
  upload(). See the Metacat Tour for details.
358
* Added a new 'getlog' action that produces a usage history for all major
359
  events.  So now an XML report can be generated for document reads, inserts,
360
  deletes, etc.  See the new section in the Metacat Tour.
361
* Added a new 'buildindex' action that can rebuild the index entries for any
362
  document in the database.
363
* The configuration file for metacat (metacat.properties) has been moved out
364
  of the jar file and into the WEB-INF directory, allowing far easier changes
365
  to the configuration parameters.
366
* Results in default web interface are sorted by title in the XSLT 
367
  (configurable)
368
* Many bugs were fixed.
369

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

    
373
Release Notes for 1.3.1:
374
------------------------
375

    
376
This is a simple interim bug fix. No major functionality changes. Bugs fixed 
377
include:
378
 1) Metacat 1.3.0 doesn't work in Java 1.3 because a subtle API differnce in 
379
    Java 1.3 and Java 1.4. Currently, Metacat 1.3.1 will work in both Java 1.3 
380
    and Java 1.4.
381
 2) Distribution package size was reduced.
382

    
383

    
384
Release Notes for 1.3.0
385
------------------------
386

    
387
In 1.3.0 release, the structure of the xml_access table was changed and a new
388
table, xml_accesssubtree was added. If you try to update a previously 
389
installed Metacat, you should run a script file to updated the table structure 
390
before installation.
391
For Oracle user: At the SQLPLUS prompt type the following -
392
@src/reviseformetacat13.sql
393
For Postgresql user: At install directory prompt type the following -
394
psql exp < src/reviseformetacat13_postgres.sql
395
(where 'exp' is the database name).
396

    
397
After installation, user should run "ant schemasql" command to register EML2
398
schema in xml_catalog table.
399

    
400
If you are a new Metacat user, this step is unneeded.
401

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

    
408
New Features in 1.3.0
409
  1) Partialy support EML2 document. User can store, query, read and write
410
     EML2 documents. However, Metacat only support access control in resource
411
     level. The subtree level access control will be ignored.
412
  2) Support other xml document base on namespace/schema.
413
  3) Support query for attribute value
414
  4) Assign MIME type to data file base on metadata when user try to read it.
415
  5) Owner can assign access rules to a document which does not have access 
416
     document to apply it.
417
  6) Support exporting single file, not only whole package
418
  7) Resupport Microsoft SQL Server.
419

    
420
Fixes in 1.3.0:
421
  1) Couldn't finish delta T replication for large set of documents.
422
  2) Couldn't create access control during delta T replication.
423
  3) Eorr will be written to a seperated log file if some documents
424
     were failed in replication.
425
  4) Decrease the time to create access rules during insert or update 
426
     a package.
427
     
428
Documentation
429
-------------
430
See the docs directory for detailed documentation and installation
431
instructions.
432

    
433
Details of the Metacat architecture can be found on the website for
434
the Knowledge Network for Biocomplexity (KNB):
435

    
436
  http://knb.ecoinformatics.org/software/metacat/
437

    
438
Contributions to this work are welcome.  Please see the above web site
439
for details on how to contribute.
440

    
441
Major Known Bugs or Feature Requests (see http://bugzilla.ecoinformatics.org)
442
-----------------------------------------------------------------------------
443
If you discover a bug please report it, either by email (above) or by using
444
our bug tracking system (http://bugzilla.ecoinformatics.org). There is a
445
list of currently unimplemented features in Bugzilla that we are working on
446
for the next release.
447

    
448
Legalese
449
--------
450
This software is copyrighted by The Regents of the University of California
451
and the National Center for Ecological Analysis and Synthesis
452
and licensed under the GNU GPL; see the 'LICENSE' file for
453
details.
454

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

    
461
This software is partially supported by a grant from the Andrew W. 
462
Mellon Foundation.
463

    
464
This product includes software developed by the Apache Software
465
Foundation (http://www.apache.org/). See the LICENSE file in lib/apache
466
for details.
467

    
468
The source code, object code, and documentation in the com.oreilly.servlet
469
package is copyright and owned by Jason Hunter. See the cos-license.html file
470
for details of the license.  Licensor retains title to and ownership of the
471
Software and all enhancements, modifications, and updates to the Software.
472

    
473
This software includes the JDBC driver for PostgreSQL.  See the 
474
postgresql-license.txt file for details.
(2-2/5)