Project

General

Profile

1 981 tao
#
2 666 jones
#  '$RCSfile$'
3
#   '$Author$'
4
# '$Revision$'
5
#     '$Date$'
6
#
7
8
Metacat: XML Metadata Database
9
------------------------------
10
11 2313 jones
Version: 1.4.0 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 1311 berkley
24 982 berkley
Metacat is a flexible database storage system for XML formatted
25 2313 jones
documents and associated binary files. Metacat models the structure of the
26
XML document, therefore allowing storage of XML documents with arbitrary
27
schemas. Metacat supports several databases on the back-end, including Oracle,
28
PostgreSQL and SQL Server (limited).  The server supports XML document
29 2441 jones
storage, retrieval, query, validation, and transformation (using the XSLT
30 2313 jones
stylesheet language).  In addition, there is a mechanism for replicating the
31
database to other metacat instances for backup and load balancing purposes.
32
Metacat currently uses an LDAP database for authenticating users, but was
33
written to accomodate other authentication services as well.
34 666 jones
35 2321 jones
Installation
36
------------
37
See the file "docs/user/metacatinstall.html" for detailed instructions.
38
39 2475 sgarg
Release Notes for 1.5.0:
40
------------------------
41
42
This release comes with performace improvement, user interface enhancements
43
and bug fixes. Below is the list of bug fixes and performance improvements.
44
45
Bug Fixes:
46
* Modify property values of harvester registration servlets to match the
47
  servlet-mapping URL values in web.xml. The old values used the servlet
48
  class names. This worked in Tomcat 4 but seems to break in Tomcat 5 on
49
  Windows. The new values use the servlet-mapping URL values. This should
50
  work in both Tomcat 4 and Tomcat 5. (Bug 162)
51
* Re-implement logic to prune old log entries from the HARVEST_LOG and
52
  HARVEST_DETAIL_LOG tables. The old logic caused integrity constraint
53
  violations in the database because it tried to delete parent records from
54
  HARVEST_LOG prior to deleting child records from
55
  HARVEST_DETAIL_LOG. (Bug 162)
56
* In data registry, minor bugs fixed like the error page shows the link back
57
  to the form when error page was generated because of a document read
58
  request from search results page,  the successful delete button leading
59
  to a blank screen and the old ACL overwritten by the registry.
60
  (Bugs 1307, 1310, 1322, 1344, 1551)
61
* Changed the code to support insertion of following characters: ', `,
62
  charcters in the Numeric Character Reference format (&#xyz;) and
63
  characters like µ. Characters like µ will be converted to and stored in
64
  Numeric Character Reference format(&#xyz;). They will also be returned
65
  in Numeric Character Reference and it is upto the client to convert them
66
  and display them accordingly in the application. Partial fix provided by
67
  Johnoel Ancheta. (Bug 1538,1711)
68
* Spatial search failed on Oracle because of invalid entries made by
69
  some documents in the nodedata column of xml_nodes for paths involving
70
  'eastBoundingCoordinate', 'westBoundingCoordinate',
71
  'northBoundingCoordinate', 'southBoundingCoordinate'. A new column
72
  nodedatanumerical was added to xml_nodes table such that all the numerical
73
  nodedata is stored in this column and this column is now used for spatial
74
  search. (Bug 1703, 1718)
75
* In the default skin, clicking on the keywords on the home page did not
76
  result is a search being done. Fix provided by Owen Jones. (Bug 1768)
77
* Metacat generated a success message even when a document which didnt
78
  exsist was requested for deletion. This has been fixed. (Bug 1850)
79
* "packagetype" in xml-relation table was entered as eml200 namespace when
80
  an eml201 document was inserted. This is fixed now so that "packagetype"
81
  in xml-relation table points to eml201 namespace. (Bug 1979)
82
* System_id in xml_catalog pointed to http://knb.ecoinformatics.org/knb/
83
  earlier. Fixed such that it points to the locally installed metacat url.
84
  (Bug 1986)
85
* Changes to the Query subsystem fix bugs that prevented attributes from
86
  being expressed solely in the xpath query statement and the returnfield
87
  values. For instance, a query URL may now include search strings like
88
  '@packageId=sbclter%25' and return strings like 'returnfield=@packageId'.
89
  Previously, the attribute had to be appended to an element:
90
  '/eml/@packageId=sbclter%25'. These fixes change DBQuery.java,
91
  QuerySpecification.java, and QueryTerm.java (Bug 2052)
92
* Search query failed in case of Oracle if number of documents in the result
93
  were more than 1000. This has been fixed. (Bug 2000)
94
* Removed any occurence of enum which is now a keyword in Java 1.5
95
96
97
Enhancements:
98
* Major improvements done in user interface for the data registeries and
99
  various other skins. Improvements done based on suggestions from Mark
100
  Stromberg, Laura Downey and others. Improvements also done in resultset.xsl,
101
  the default skin and ldap templates. (Bug 1948)
102
* Coded added such that administrator can delete documents irrespective of
103
  who the document belongs to.
104
* Performance impovement done in searching of datasets. A part of the search
105
  time was taken up because of generation of resultset after the search had be
106
  done. So this was the sequence of events in earlier metacat
107
  1) Search for the given text
108
  2) A list of docids generated
109
  3) For each of the docids
110
     3a) Use xml_index and xml_nodes table to generate the string descibing
111
         the document including the returnfields requested in the search
112
  4) Add all the strings from step 3a to send back the resultant document.                                                                 Here a decent amount of time was being taken by step 3a. The algorithm is
113
  now modified by addition of two tables xml_queryresult and xml_returnfields
114
  and a user defined parameter xml_returnfield_count. The new algorithm works
115
  as follows
116
  1) Search for the given text
117
  2) A list of docids generated
118
  3) For the given set of return fields generate a unique string and check
119
     if that string exists in xml_returnfields
120
     3a) If string does not exist in xml_returnfield, then enter a new
121
         record usage_count as 1 and returnfield_string as the unique string
122
         generated above.
123
     3b) Else if the string exists, increment usage_count
124
  4) Given the docids from step 2 and the id of the returnfield record from
125
     step 3, query for any docids that already exist in xml_queryresult.
126
     For the docids that do exist, get the queryresult_string.
127
  5) For rest of the docids from step2 which were not found in step 4, do
128
     the following for each of the documents:
129
     5a) Use xml_index and xml_nodes table to generate the string descibing
130
         the document including the returnfields requested in the search
131
     5b) If usage_count of the record from step is more than
132
         xml_returnfield_count set in metacat.properties, then store the
133
         string in xml_queryresult as a record which has the returnfield_id
134
         representing the set of returnfields, docid representing the
135
         document and the string as queryresult_string.
136
  6) Add all the strings from step 4 and step 5a to send back the resultant
137
     document
138
  So the results from step 3a in previous algorithm are effectively cached
139
  and hence same computation is not done again and again for each search.
140
  When a document is deleted, all the entries for that document in
141
  xml_queryresult table are also deleted. When a document is updated, all
142
  the entries for that document in xml_queryresult table are deleted. This
143
  works fine because those entries will be generated and cached again the
144
  next time the document is part of a search is requested.
145
* Performance impovement done for % search.
146
* Following new functions added to metacat client API: a method to set access
147
  on an xml document and a method to get newest version for a given document.
148
* Implement a new HarvesterServlet for running Harvester as a servlet. This
149
  eliminates the need to run Harvester in a terminal window. By default, the
150
  HarvesterServlet is commented out in lib/web.xml.tomcat(3,4,5). The user
151
  documentation will be modified to instruct Harvester administrators to
152
  uncomment the HarvesterServlet entry.
153
* Minor enhancement to support multiple email addresses for harvester
154
  administrator and site contact. Each address is separated by a comma or
155
  semicolon.
156
* Increase number of rows in Harvest List Editor from 300 to 1200.
157
* Changed default maxHarvests value to 0. Added logic to ignore maxHarvests
158
  value when it is set to 0 or a negative number. This allows Harvester to
159
  run indefinitely without shutting down after reaching a maximum number of
160
  harvests. The previous default value of 30 would cause Harvester to
161
  terminate after 30 harvests.
162
163
Details of all changes can be found in the bug database here:
164
http://bugzilla.ecoinformatics.org/buglist.cgi?product=Metacat&target_milestone=1.5
165
166
167
168 2313 jones
Release Notes for 1.4.0:
169
------------------------
170
171
This is a major release, and is the first to introduce many new features to
172
Metacat.  Some of the major new features in this version of Metacat include:
173
174
* Added a new 'Harvester' that allows documents to be periodically pulled
175
  from distributed sources into metacat, useful for interfacing with other
176
  system types. See the Metacat Tour for details.
177
* Added new 'skins' capability to allow the GUI for the metacat web interface
178
  to be more easily customized to fit into site needs.  The skin is based on
179
  a flexible mix of XSLT, CSS, and Javascript.
180 2321 jones
* Added a web-based metadata entry form for submitting limited EML documents
181 2313 jones
  as part of a data registry.  The GUI for the registry is customizable and
182
  is integrated with the 'skins' system for the main metacat interface.  The
183
  registry subsystem is written in Perl, and can simultaneously be used to
184
  present multiple 'registry' interfaces.
185
* A new 'client API' has been developed and implemented in Java and in Perl
186
  so that metacat functions can be accessed from any program in those
187
  languages.  The client API supports the major metacat servlet actions,
188
  including login(), logout(), query(), insert(), update(), delete(), and
189
  upload(). See the Metacat Tour for details.
190
* Added a new 'getlog' action that produces a usage history for all major
191
  events.  So now an XML report can be generated for document reads, inserts,
192
  deletes, etc.  See the new section in the Metacat Tour.
193
* Added a new 'buildindex' action that can rebuild the index entries for any
194
  document in the database.
195
* The configuration file for metacat (metacat.properties) has been moved out
196
  of the jar file and into the WEB-INF directory, allowing far easier changes
197
  to the configuration parameters.
198 2321 jones
* Results in default web interface are sorted by title in the XSLT
199
  (configurable)
200
* Many bugs were fixed.
201 2313 jones
202
Details of all changes can be found in the bug database here:
203
http://bugzilla.ecoinformatics.org/buglist.cgi?product=Metacat&target_milestone=1.4
204
205 1775 tao
Release Notes for 1.3.1:
206 2313 jones
------------------------
207 1308 tao
208 1775 tao
This is a simple interim bug fix. No major functionality changes. Bugs fixed
209
include:
210 1776 tao
 1) Metacat 1.3.0 doesn't work in Java 1.3 because a subtle API differnce in
211
    Java 1.3 and Java 1.4. Currently, Metacat 1.3.1 will work in both Java 1.3
212
    and Java 1.4.
213 1775 tao
 2) Distribution package size was reduced.
214
215
216
Release Notes for 1.3.0
217 2313 jones
------------------------
218 1775 tao
219
In 1.3.0 release, the structure of the xml_access table was changed and a new
220 1628 tao
table, xml_accesssubtree was added. If you try to update a previously
221
installed Metacat, you should run a script file to updated the table structure
222
before installation.
223
For Oracle user: At the SQLPLUS prompt type the following -
224
@src/reviseformetacat13.sql
225
For Postgresql user: At install directory prompt type the following -
226
psql exp < src/reviseformetacat13_postgres.sql
227
(where 'exp' is the database name).
228 1334 tao
229 1628 tao
After installation, user should run "ant schemasql" command to register EML2
230
schema in xml_catalog table.
231
232
If you are a new Metacat user, this step is unneeded.
233
234 1769 tao
Note: 1) We recommend to use Tomcat 4 and JAVA 1.4 to run Metacat. Otherwise,
235
         it will cause potential replication issues.
236
      2) Delete the xercesImpl.jar and xmlParserAPIs.jar files
237
         which are in $CATALINA_HOME/common/endorsed. They are old version and
238
         don't support XML schema validation.
239
240 1628 tao
New Features in 1.3.0
241
  1) Partialy support EML2 document. User can store, query, read and write
242
     EML2 documents. However, Metacat only support access control in resource
243
     level. The subtree level access control will be ignored.
244
  2) Support other xml document base on namespace/schema.
245
  3) Support query for attribute value
246
  4) Assign MIME type to data file base on metadata when user try to read it.
247
  5) Owner can assign access rules to a document which does not have access
248
     document to apply it.
249
  6) Support exporting single file, not only whole package
250 1769 tao
  7) Resupport Microsoft SQL Server.
251 1628 tao
252
Fixes in 1.3.0:
253
  1) Couldn't finish delta T replication for large set of documents.
254
  2) Couldn't create access control during delta T replication.
255
  3) Eorr will be written to a seperated log file if some documents
256
     were failed in replication.
257
  4) Decrease the time to create access rules during insert or update
258
     a package.
259
260 861 jones
Documentation
261
-------------
262 1311 berkley
See the docs directory for detailed documentation and installation
263 666 jones
instructions.
264
265 1311 berkley
Details of the Metacat architecture can be found on the website for
266 666 jones
the Knowledge Network for Biocomplexity (KNB):
267
268 805 jones
  http://knb.ecoinformatics.org/software/metacat/
269 666 jones
270
Contributions to this work are welcome.  Please see the above web site
271
for details on how to contribute.
272
273 848 jones
Major Known Bugs or Feature Requests (see http://bugzilla.ecoinformatics.org)
274
-----------------------------------------------------------------------------
275 2313 jones
If you discover a bug please report it, either by email (above) or by using
276
our bug tracking system (http://bugzilla.ecoinformatics.org). There is a
277
list of currently unimplemented features in Bugzilla that we are working on
278
for the next release.
279 805 jones
280
Legalese
281
--------
282 666 jones
This software is copyrighted by The Regents of the University of California
283
and the National Center for Ecological Analysis and Synthesis
284
and licensed under the GNU GPL; see the 'LICENSE' file for
285
details.
286
287 1311 berkley
This material is based upon work supported by the
288 2313 jones
National Science Foundation under Grant No. DEB99-80154, DBI99-04777, and
289
0225676.  Any opinions, findings and conclusions or recomendations expressed
290
in this material are those of the author(s) and do not necessarily reflect
291 666 jones
the views of the National Science Foundation (NSF).
292 1307 jones
293 1311 berkley
This product includes software developed by the Apache Software
294 1307 jones
Foundation (http://www.apache.org/). See the LICENSE file in lib/apache
295
for details.
296
297 1311 berkley
The source code, object code, and documentation in the com.oreilly.servlet
298 1307 jones
package is copyright and owned by Jason Hunter. See the cos-license.html file
299 1311 berkley
for details of the license.  Licensor retains title to and ownership of the
300 1307 jones
Software and all enhancements, modifications, and updates to the Software.