You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xindice-users@xml.apache.org by Eric Zhang <yu...@ualberta.ca> on 2004/02/22 20:37:38 UTC

Load big file using command line

Hi all:
  When I try to insert a fairly big xml file(12M) to Xindice using 
commandline, I got following error:

xindice ad -c xmldb:xindice://localhost:8080/db/test -n big -f big.xml -v
[DEBUG] DatabaseImpl - -Using SAX Driver: 'xerces'
[DEBUG] DatabaseImpl - -Using Service Location: '/xindice/'
[DEBUG] CollectionImpl - -Using URL: 'http://localhost:8080/xindice/'
XMLDB Exception with code 0
org.xmldb.api.base.XMLDBException:
        at 
org.apache.xindice.client.xmldb.xmlrpc.CollectionImpl.storeResource(Collection
Impl.java:330)
        at 
org.apache.xindice.tools.command.AddDocument.execute(AddDocument.java:139)
        at org.apache.xindice.tools.XMLTools.execute(XMLTools.java:336)
        at org.apache.xindice.tools.XMLTools.process(XMLTools.java:213)
        at org.apache.xindice.tools.XMLTools.main(XMLTools.java:124)
Caused by: java.io.IOException: Server returned HTTP response code: 500 for 
URL: http://localhost:8080/xindice/
        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(Collect
ionImpl.java:193)
        at 
org.apache.xindice.client.xmldb.xmlrpc.CollectionImpl.storeResource(Collection
Impl.java:318)
        ... 4 more
[B@a46701java.io.IOException: Server returned HTTP response code: 500 for URL: 
http://localhost:8080/xindice/
        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(Collect
ionImpl.java:193)
        at 
org.apache.xindice.client.xmldb.xmlrpc.CollectionImpl.storeResource(Collection
Impl.java:318)
        at 
org.apache.xindice.tools.command.AddDocument.execute(AddDocument.java:139)
        at org.apache.xindice.tools.XMLTools.execute(XMLTools.java:336)
        at org.apache.xindice.tools.XMLTools.process(XMLTools.java:213)
        at org.apache.xindice.tools.XMLTools.main(XMLTools.java:124)

Any help?

Yue(Eric) Zhang                    
Database Analyst/DBA, Arts Dept.    Email:  yue.zhang@ualberta.ca
University of Alberta               Phone:  780-492-8042
Edmonton, Alberta T6G 2E6  CANADA     WWW:  http://tapor.ualberta.ca