Once again, you have not included any actual error message. Can you please do 
that?

---
A. Soroka
The University of Virginia Library

> On Apr 4, 2016, at 2:05 AM, Pooja H Bavishi <pooja.bavi...@iet.ahduni.edu.in> 
> wrote:
> 
> Hello , 
> 
> I want to build full local index for geonames for that i need to do some steps
> 
> 1) Building : entity hub call 
> /usr/local/stanbol-trunk/entityhub/indexing/geonames : mvn install
>   
> it will creat .jar file in target folder 
> org.apache.stanbol.entityhub.indexing.geonames-1.0.0-SNAPSHOT.jar
> 
> 2) Indexing : 
> Initialize the configuration 
> 
> java -jar org.apache.stanbol.entityhub.indexing.geonames-1.0.0-SNAPSHOT.jar 
> init
> 
> This will create a sub-folder "indexing" in the current directory.
> Within this folder all the
> 
>       • configurations (indexing/config)
>       • source files (indexing/resources)
>       • created files (indexing/destination)
>       • distribution files (indexing/distribution)
> 3) Adapt the configuration
> 
> Provide the geoname files to be indexed
> 
> indexing/resources
> 
> 
> Support for Hierarchy
>  in my resource folder i copy 4 files from geoname.org 
>  [hierarchy.zip](http://download.geonames.org/export/dump/hierarchy.zip)
> * [countryInfo.txt](http://download.geonames.org/export/dump/ countryInfo.txt)
> * 
> [admin1CodesASCII.txt](http://download.geonames.org/export/dump/admin1CodesASCII.txt)
> * [admin2Codes.txt](http://download.geonames.org/export/dump/admin2Codes.txt)
> 
> 
> 4) Create the Index
> 
> 
> java -Xmx4g -server -jar 
> org.apache.stanbol.entityhub.indexing.geonames-1.0.0-SNAPSHOT.jar index
> 
> 
> After the indexing completes the distribution folder will contain two files 
> 1)/usr/local/stanbol-trunk/entityhub/indexing/geonames/target/indexing/dist/ 
> org.apache.stanbol.data.site.geonames-1.0.0.jar : This is a Bundle that can 
> be installed to any OSGI environment running the Apache Stanbol Entityhub. 
> When 
> Started it will create and configure in apache felix web console
> 
> 
>       • a "ReferencedSite" accessible at 
> "http://{host}/{root}/entityhub/site/{name}";
>       • a "Cache" used to connect the ReferencedSite with your Data and
>       • a "SolrYard" that managed the data indexed by this utility
>       • I already configure geoname account and also enable web services for 
> geonames
> 2) 
> /usr/local/stanbol-trunk/entityhub/indexing/geonames/target/indexing/dist/geonames.solrindex.zip:
>  copy the "{name}.solrindex.zip" file to 
> the/usr/local/stanbol-trunk/launchers/full/stanbol/datafiles directory 
> 
> 
> 
> After the installation your data will be available at
> 
> http://localhost:8080/entityhub/site/geonames
> 
>  when i tried to run this i got this error message 
> so how to solve it

Reply via email to