I've been running the JCRTestSuite test suite of Jackrabbit (JCR API
tests) with a repository configured to store workspace and versioning
data in a dbms (*), but if I configure the global repository state
(namespaces and node types) to use the dbms (**) lots of tests fail with
NoSuchNodeTypeException. Using the local file system (***) for global
repository state all tests pass.
(*)
org.apache.jackrabbit.core.persistence.bundle.MSSqlPersistenceManager
(**) org.apache.jackrabbit.core.fs.db.DbFileSystem
(***) org.apache.jackrabbit.core.fs.local.LocalFileSystem
The repository configuration is in the
jackrabbit-core\applications\test\repository.xml file.
Why aren't the test namespace (among others) and custom node types of
this test suite registered when using a DatabaseFileSystem ?
How are the ns_reg.properties and custom_nodetypes.xml resource files
processed ?
What am I doing wrong ?
Thanks,
Pablo
Notice: This email message, together with any attachments, may contain information of BEA
Systems, Inc., its subsidiaries and affiliated entities, that may be confidential, proprietary,
copyrighted and/or legally privileged, and is intended solely for the use of the individual
or entity named in this message. If you are not the intended recipient, and have received
this message in error, please immediately return this by email and then delete it.
|