Would you be able to provide a sample of a failing document? If not,
do you see anything that failing documents have in common? Having a
sample of the document that causes the trouble would be ideal.

Regards,
Natalia

On Mon, Mar 15, 2010 at 7:33 AM, Jethro Grassie <jtgras...@gmail.com> wrote:
> Hi Natalia,
>
> There's nothing to note in the server log unfortunately.
> I have tried this now on a couple of machines with the same problem.
>
>
>
>
> On Sun, Mar 14, 2010 at 12:37 AM, Natalia Shilenkova <nshilenk...@gmail.com>
> wrote:
>>
>> Hi Jethro,
>> Unfortunately, the exception trace you included is from the client and
>> does not provide enough information. Can you please check Xindice server
>> logs and see what kind of problems are reported there? Server logs by
>> default are located in Xindice installation directory, under
>> logs/xindice.out.
>> Regards,
>> Natalia
>> On Mar 12, 2010, at 9:47 AM, Jethro Grassie wrote:
>>
>> Hi
>>
>> I am using xindice version 1.1 and get the following error when adding
>> some XML documents:
>>
>> $ ./bin/xindice ad -v -c /db/legislation -f tmp.xml
>> trying to register database
>> XMLDB Exception 0: Failed to execute command 'InsertResource' on server:
>> http://127.0.0.1:8888/xindice/, message: Error parsing Document
>> org.xmldb.api.base.XMLDBException: Failed to execute command
>> 'InsertResource' on server: http://127.0.0.1:8888/xindice/, message: Error
>> parsing Document
>>         at
>> org.apache.xindice.client.xmldb.xmlrpc.CollectionImpl.runRemoteCommand(CollectionImpl.java:125)
>>         at
>> org.apache.xindice.client.xmldb.xmlrpc.CollectionImpl.storeResource(CollectionImpl.java:241)
>>         at
>> org.apache.xindice.tools.command.AddDocument.execute(AddDocument.java:89)
>>         at org.apache.xindice.tools.XMLTools.execute(XMLTools.java:284)
>>         at org.apache.xindice.tools.XMLTools.process(XMLTools.java:164)
>>         at org.apache.xindice.tools.XMLTools.main(XMLTools.java:84)
>> Caused by: org.apache.xmlrpc.XmlRpcException: Error parsing Document
>>         at
>> org.apache.xmlrpc.XmlRpcClient$Worker.execute(XmlRpcClient.java)
>>         at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java)
>>         at
>> org.apache.xindice.client.xmldb.xmlrpc.CollectionImpl.runRemoteCommand(CollectionImpl.java:113)
>>         ... 5 more
>> [...@1db5ecorg.apache.xmlrpc.xmlrpcexception: Error parsing Document
>>         at
>> org.apache.xmlrpc.XmlRpcClient$Worker.execute(XmlRpcClient.java)
>>         at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java)
>>         at
>> org.apache.xindice.client.xmldb.xmlrpc.CollectionImpl.runRemoteCommand(CollectionImpl.java:113)
>>         at
>> org.apache.xindice.client.xmldb.xmlrpc.CollectionImpl.storeResource(CollectionImpl.java:241)
>>         at
>> org.apache.xindice.tools.command.AddDocument.execute(AddDocument.java:89)
>>         at org.apache.xindice.tools.XMLTools.execute(XMLTools.java:284)
>>         at org.apache.xindice.tools.XMLTools.process(XMLTools.java:164)
>>         at org.apache.xindice.tools.XMLTools.main(XMLTools.java:84)
>>
>> Note this doesnt always happen, just some XML files.
>> I am putting a huge amount of XML documents which all conform to the same
>> schema into a xindice database.
>> About 25% are failing with the same error as above.
>> I have double and triple checked the XML is valid by checking with a
>> validating parser.
>>
>>
>> Any ideas?
>>
>>
>
>

Reply via email to