On Mon, May 13, 2013 at 5:19 PM, Olivier Rossel
<[email protected]> wrote:
> I try to implement a simple "Working with Custom Vocabularies" scenario.
> Here is a RDF file I got from a Semantic WIki:
>
> http://pastebin.com/TssTjSDD
>
> This vocabulary is to be called testMai2013 (i.e I have added that name
> in indexing.properties)
>
> I have added the namespaces:
>
> http://127.0.0.1/mediawiki-1.20.4/index.php/Special:ExportRDF/*
> http://127.0.0.1/mediawiki-1.20.4/index.php/Special:URIResolver/*
> http://semantic-mediawiki.org/swivt/1.0#*
>
> to mappings.txt

FYI you can add a mapping

    *

to the mapping.txt file. This would result in all data to be indexed.

>
> I created the org.apache.stanbol.data.site.testMai2013-1.0.0.jar
> and testMai2013.solrindex.zip.
>
> The .solrindex.zip file is then stored in stanbol/datafiles/, Stanbol is
> launched at localhost:8080, the .jar is added as a bundle via the "Bundles"
> tab of the web console.
>
> And then http://localhost:8080/entityhub/site/testMai2013 returns a 404
> error.
>

Have you also started the bundle for your ReferencedSite or just installed it?
If you have started it your ReferencedSite should be available.

> How can I debug such a scenario?
>

* Have a look at the log file. If there are some problems during the
installation you should be able to see them in the logs. You can also
start the launcher with the '-l DEBUG' option to also get debug level
logging.
* Look if there is a stanbol/indexes/default/testMai2013* folder. This
should be created during the installation process.
* search for a 'testMai2013.solrindex.ref' under your working dir (
find . -name testMai2013.solrindex.ref ). This file does hold
the status information for your index and will also contain
information about errors encountered during initialization

> Any help is very welcome.

If you have still problems feel free to create an Issue at [1] and
attach the log file section where you installed your ReferencedSite
and if possible also the your solrindex.zip and jar file. Please also
provide information about the Operating systems used to run the
Entityhub Indexing Tool and the Stanbol instance.

best
Rupert

[1] https://issues.apache.org/jira/browse/STANBOL

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

Reply via email to