Hi Gianluigi

Sorry for the late replay, but I was offline the last few days.

On Thu, Feb 14, 2013 at 4:22 PM, Gianluigi Di Vito
<[email protected]> wrote:
>
> Caused by: java.lang.IllegalStateException: Unable to initialize the Cache 
> with Yard dbpediaIndex! This is usually caused by Errors while reading the 
> Cache Configuration from the Yard.
>                 at 
> org.apache.stanbol.entityhub.core.site.CacheImpl.getCacheYard(CacheImpl.java:220)

This Exception indicates that the initialization of the SolrCore for
the DBpedia.org local index has failed. When this happens you should
see some releated error messages in the error.log file (usually
printed during startup, or shortly after you copied the
dbpedia.solrindex.zip file in the datafiles folder.

You can also look for a file named "dbpedia.solrindex.ref" file within
the "{working-dir}/stanbol/felix/bundle??/data/.config/index-config/*"
(where "bundle??" will be the ID of the
org.apache.stanbol.commons.solr.managed bundle). Under Linux I use
"find . -name "*.solrindex.ref" to get the location o the file. This
file will also contain the stacktrace on any error thrown during the
initialization.

To force a reinitialization of the dbpedia index you can also
stop/start the "org.apache.stanbol.data.sites.dbpedia" bundle e.g. by
using the the Bundle Tab of the felix webconsole
(http://localhost:8080/system/console/bundles).


I fixed already several Windows related issues but there might be
still some more. Based on the experience of previous cases I would
like to ask you some questions:

* are there any special chars in the path to the Stanbol instances (e.g. spaces)
* have you created your own dbpedia index, or downloaded a existing version
* if yes, what platform (windows or linux/mac) have you used to create the index

To find more details about this it would be nice if you could provide
the logs of a stanbol startup.

best
Rupert

--
| Rupert Westenthaler             [email protected]
| Bodenlehenstraße 11                             ++43-699-11108907
| A-5500 Bischofshofen

Reply via email to