1 |
981
|
tao
|
#
|
2 |
666
|
jones
|
# '$RCSfile$'
|
3 |
|
|
# '$Author$'
|
4 |
|
|
# '$Revision$'
|
5 |
|
|
# '$Date$'
|
6 |
|
|
#
|
7 |
|
|
|
8 |
|
|
Metacat: XML Metadata Database
|
9 |
|
|
------------------------------
|
10 |
|
|
|
11 |
1307
|
jones
|
Version: 1.2.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 |
1311
|
berkley
|
|
22 |
982
|
berkley
|
Metacat is a flexible database storage system for XML formatted
|
23 |
666
|
jones
|
documents. Metacat models the structure of the XML document, therefore
|
24 |
1003
|
berkley
|
allowing storage of XML documents with arbitrary schemas. Metacat supports
|
25 |
1307
|
jones
|
several databases on the back-end, including Oracle, PostgreSQL and SQL
|
26 |
|
|
Server. The server supports XML document storage, retrievel, query,
|
27 |
|
|
validation, and transformation (using the XSLT stylesheet language).
|
28 |
|
|
In addition, there is a mechanism for replicating the database
|
29 |
|
|
to other metacat instances for backup and load balancing purposes.
|
30 |
|
|
Metacat currently uses an LDAP database for authenticating users, but
|
31 |
|
|
was written to accomodate other authentication services as well.
|
32 |
666
|
jones
|
|
33 |
877
|
jones
|
Release Notes
|
34 |
1308
|
tao
|
|
35 |
1334
|
tao
|
Fixes in 1.2.1:
|
36 |
|
|
1) If dataset document has a triple that access document provide
|
37 |
|
|
access control for itself, the xml_access table wouldn't have double
|
38 |
|
|
entries for access document.
|
39 |
|
|
2) Fixed the bug for spatial search when there are letters in latitude or
|
40 |
|
|
longitude nodes.
|
41 |
|
|
|
42 |
|
|
For 1.2.0:
|
43 |
|
|
|
44 |
|
|
In 1.2.0 release, the structure of the xml_replication table was changed.
|
45 |
1311
|
berkley
|
If you try to update a previously installed Metacat, you should run a script
|
46 |
|
|
file to updated the table structure before installation.
|
47 |
1310
|
tao
|
For Oracle user: At the SQLPLUS prompt type the following -
|
48 |
1308
|
tao
|
@src/xmlreplicationtable.sql
|
49 |
1310
|
tao
|
For Postgresql user: At install directory prompt type the following -
|
50 |
|
|
psql exp < src/xmlreplicationtable_postgres.sql
|
51 |
1311
|
berkley
|
(where 'exp' is the database name).
|
52 |
1308
|
tao
|
|
53 |
1311
|
berkley
|
If you are a new Metacat user, this step is unneeded.
|
54 |
1308
|
tao
|
|
55 |
1311
|
berkley
|
The build.xml file now has a property named datafilepath. It should be set
|
56 |
1317
|
tao
|
to the location of where you want your data files stored. The data directory
|
57 |
|
|
needs to be writeable by whatever user is running tomcat. If you are an
|
58 |
|
|
existing user, the data directory is now /<tomcatdir>/webapps/metacat/data
|
59 |
1311
|
berkley
|
where <tomcatdir> is the your tomcat installation directory where
|
60 |
|
|
your webapps directory is located and 'metacat' is the name of your servlet
|
61 |
1317
|
tao
|
instance. If you leave your data directory where it currently is, your
|
62 |
|
|
data files are web accessible. If you do not want your data files to be
|
63 |
|
|
web accessible, move the data directory somewhere outside of your
|
64 |
|
|
webapps directory and change the datafilepath property in the
|
65 |
|
|
build.xml file and reinstall metacat. Note that if you have existing data
|
66 |
|
|
files, they need to be moved to the new directory. For more information
|
67 |
|
|
see bug 478.
|
68 |
1308
|
tao
|
|
69 |
877
|
jones
|
-------------
|
70 |
1307
|
jones
|
New features in 1.2.0:
|
71 |
|
|
1) Performance improvements through improved access control handling
|
72 |
|
|
2) New replication features
|
73 |
|
|
3) Added partial SSL support
|
74 |
|
|
4) Additional bugs fixed, see http://bugzilla.ecoinformatics.org
|
75 |
1311
|
berkley
|
474 Metacat in Ecoinfo hang
|
76 |
|
|
475 Associate access doc to some docid which doesn't have ent...
|
77 |
|
|
478 Security hole in Metacat for data file.
|
78 |
|
|
536 Changes to Metacat build script to install stylesheets fr...
|
79 |
|
|
457 Bug in replciation
|
80 |
|
|
466 Create a JUnit class for Metacat action
|
81 |
|
|
502 Security issues in replication
|
82 |
|
|
503 Access control problem to a replicated doucment
|
83 |
|
|
537 SQL error when first insert a new record into xml_replication...
|
84 |
|
|
540 In force replication, some time has reversion number error
|
85 |
|
|
541 Update dataset document which host is not in this metacat...
|
86 |
|
|
542 Duplicate entries in xml_replication table
|
87 |
|
|
543 Metacat hang in there when delta T replication
|
88 |
|
|
554 xml_replication table in production metacat
|
89 |
1307
|
jones
|
479 Debug message level
|
90 |
|
|
|
91 |
987
|
berkley
|
New features in 1.1.0:
|
92 |
982
|
berkley
|
1) Added functionality to export a zipped data package. The zip file contains
|
93 |
|
|
all of the data and metadata as well as a rendered html summary of
|
94 |
|
|
the metadata.
|
95 |
1311
|
berkley
|
2) Changed version control mechanism. Metacat can now accept any version of
|
96 |
982
|
berkley
|
a document as long as the given version number is greater than the
|
97 |
|
|
current one. The new version number does not have to be exactly one
|
98 |
|
|
greater than the current version.
|
99 |
|
|
3) Update xerces.jar file to version 1.4.4
|
100 |
987
|
berkley
|
Fixes in 1.1.0
|
101 |
1003
|
berkley
|
1) Fixed ldap authentication bug. Now, a user from a referred server cannot
|
102 |
|
|
login with an incorrect password.
|
103 |
1311
|
berkley
|
2) Changed the default behavior of the access control functionality with
|
104 |
1003
|
berkley
|
respect to packaging.
|
105 |
1311
|
berkley
|
If a member document in a data package doesn't have an access control list,
|
106 |
|
|
access control rules of the main package document will not apply to the
|
107 |
1003
|
berkley
|
member document. Previously, package members, by default, inherited
|
108 |
|
|
the access control rules of the main package document.
|
109 |
982
|
berkley
|
3) Fixed minor bugs with document access control.
|
110 |
|
|
4) Allowed new version of data files to be uploaded and handled.
|
111 |
1311
|
berkley
|
5) Fixed bug where the client could not get the principals or groups from
|
112 |
1003
|
berkley
|
the ldap server.
|
113 |
895
|
berkley
|
Fixes in 1.0.3
|
114 |
|
|
1) Fixed problem with Metacat not being able to query for group names when
|
115 |
|
|
and LDAP referral server was down. Added an LDAP timeout of 5 seconds
|
116 |
|
|
for all referral activity.
|
117 |
|
|
2) Fixed problem where invalid xml characters such as ampersands (&) could
|
118 |
1311
|
berkley
|
be inserted into the resultset xml stream.
|
119 |
981
|
tao
|
Fixes in 1.0.2
|
120 |
|
|
1) Fixed problem with LDAP locking up Metacat when a referral server
|
121 |
|
|
was not available.
|
122 |
|
|
Fixes in 1.0.1
|
123 |
|
|
1) Fixed problem with authenticating using LDAP referrals
|
124 |
|
|
2) Fixed bug that prevent groups from being used in access documents
|
125 |
883
|
jones
|
Installation
|
126 |
|
|
------------
|
127 |
|
|
See the file "docs/user/metacatinstall.html" for detailed instructions.
|
128 |
|
|
|
129 |
861
|
jones
|
Documentation
|
130 |
|
|
-------------
|
131 |
1311
|
berkley
|
See the docs directory for detailed documentation and installation
|
132 |
666
|
jones
|
instructions.
|
133 |
|
|
|
134 |
1311
|
berkley
|
Details of the Metacat architecture can be found on the website for
|
135 |
666
|
jones
|
the Knowledge Network for Biocomplexity (KNB):
|
136 |
|
|
|
137 |
805
|
jones
|
http://knb.ecoinformatics.org/software/metacat/
|
138 |
666
|
jones
|
|
139 |
|
|
Contributions to this work are welcome. Please see the above web site
|
140 |
|
|
for details on how to contribute.
|
141 |
|
|
|
142 |
848
|
jones
|
Major Known Bugs or Feature Requests (see http://bugzilla.ecoinformatics.org)
|
143 |
|
|
-----------------------------------------------------------------------------
|
144 |
982
|
berkley
|
If you discover a bug
|
145 |
861
|
jones
|
please report it, either by email (above) or by using our bug tracking
|
146 |
|
|
system (http://bugzilla.ecoinformatics.org). There is a list of currently
|
147 |
1311
|
berkley
|
unimplemented features in Bugzilla that we are working on for the next
|
148 |
861
|
jones
|
release (no, we don't have a date yet!).
|
149 |
805
|
jones
|
|
150 |
|
|
Legalese
|
151 |
|
|
--------
|
152 |
666
|
jones
|
This software is copyrighted by The Regents of the University of California
|
153 |
|
|
and the National Center for Ecological Analysis and Synthesis
|
154 |
|
|
and licensed under the GNU GPL; see the 'LICENSE' file for
|
155 |
|
|
details.
|
156 |
|
|
|
157 |
1311
|
berkley
|
This material is based upon work supported by the
|
158 |
666
|
jones
|
National Science Foundation under Grant No. DEB99-80154 and DBI99-04777.
|
159 |
|
|
Any opinions, findings and conclusions or recomendations expressed in this
|
160 |
1311
|
berkley
|
material are those of the author(s) and do not necessarily reflect
|
161 |
666
|
jones
|
the views of the National Science Foundation (NSF).
|
162 |
1307
|
jones
|
|
163 |
1311
|
berkley
|
This product includes software developed by the Apache Software
|
164 |
1307
|
jones
|
Foundation (http://www.apache.org/). See the LICENSE file in lib/apache
|
165 |
|
|
for details.
|
166 |
|
|
|
167 |
1311
|
berkley
|
The source code, object code, and documentation in the com.oreilly.servlet
|
168 |
1307
|
jones
|
package is copyright and owned by Jason Hunter. See the cos-license.html file
|
169 |
1311
|
berkley
|
for details of the license. Licensor retains title to and ownership of the
|
170 |
1307
|
jones
|
Software and all enhancements, modifications, and updates to the Software.
|