Hi

Quereis sent to the "sites" endpoint are forwarded to all
ReferencedSites. So if a single one is not working correctly you will
see the according error (maybe one should improve error handling in
those cases).

On Mon, Aug 27, 2012 at 11:38 AM, Melanie Reiplinger
<melanie.reiplin...@dfki.de> wrote:
> curl -X POST -H "Content-Type:application/json" --data "@fieldQuery.json"
> http://[stanbol]/entityhub/sites/query

Try to use

    curl -X POST -H "Content-Type:application/json" --data "@fieldQuery.json" \
        http://[stanbol]/entityhub/site/dbpedia/query

for dbpedia and

    curl -X POST -H "Content-Type:application/json" --data "@fieldQuery.json" \
        http://[stanbol]/entityhub/site/ookaboo/query

for ookaboo instead.

> Error 500 Unable to initialize the Cache with Yard ookabooIndex!
> This is usually caused by Errors while reading the Cache
> Configuration from the Yard.

This usually just means that the Data for the Index are not available
and typically as one of the two causes:

1. The zip archive with the data is not available in
"{stanbol-working-dir}/stanbol/datafiles" (in your case the
"ookaboo.solrindex.zip)
2. The initialization of the data has not yet completed. Depending on
the computer 10-50MByte/s are processed. Therefore the initialization
of indexes such as ookaboo will take some minutes.

You can check for

   "{stanbol-working-dir}/stanbol/indexes/default/{indexName}"

as this is the directory where the data of the archive
"{indexName}.solrindex.zip" are copied to. If this (for some reason)
does not start, you might want to stop/start the
org.apache.stanbol.data.site.{indexName}-1.0.0.jar bundle. This
usually also solves issues encountered during the initialization (e.g.
when you shut down stanbol during initialization or if your disc runs
full ...)

best
Rupert




-- 
| Rupert Westenthaler             rupert.westentha...@gmail.com
| Bodenlehenstraße 11                             ++43-699-11108907
| A-5500 Bischofshofen

Reply via email to