Inline metadata is configured on per-collection basis: <collection ... inline-metadata="true" />
And it has to be configured during collection creation time as it affects file format. (see BinaryResourceTest.java)
Vadim
Philipp Kunz wrote:
Hi, I get the following error message:
org.xmldb.api.base.XMLDBException: :Cannot insert a binary resource in collection blobtest: inline-metadata is not enabled.
at org.apache.xindice.client.xmldb.xmlrpc.CollectionImpl.runRemoteCommand(CollectionImpl.java:201)
at org.apache.xindice.client.xmldb.xmlrpc.CollectionImpl.storeResource(CollectionImpl.java:318)
at SimpleHeavyLoadTest.io(SimpleHeavyLoadTest.java:105) at SimpleHeavyLoadTest.main(SimpleHeavyLoadTest.java:26)
in webapps/xindice/WEB-INF/system.xml metadata seems to be turned on:
<root-collection dbroot="./db/" name="db" use-metadata="on">
Any suggestion would be appreciated. Philipp
