Hi Abhimanyu On Tue, Dec 3, 2013 at 3:29 AM, Abhimanyu Sarvagyam <abhimanyu.sarvag...@gmail.com> wrote: > Hi Stanbol-Dev, > > I tried to create two separate Reference Sites using: > > 1. an OWL file created with the content in [1] > 2. an RDF file with the content in [2] > > > I was able to successfully create the local indexes (or atleast I thought > so) on both occasions, but was unable to see the sites at > "{stanbol-host}/entityhub/site". > > I downloaded the *genericrdf*.jar file and followed the steps in [3], > starting from "Step 2: Create the Index". After initialization, I made > only the name and description changes in the config.properties file; I did > not do that "optional" steps. > > The index got created and the only error was that the > "{index_name}.solrindex.zip" file could not be created so create it > yourself using the content in > "{index_home}/destination/indexes/default/{index_name}", which I did, and > followed the rest of the steps. Then I activated the bundle from the Felix > Console and that went fine.
This is really uncommon. In the trunk version there is currently a bug that the bundle is not created, but I can not remember cases where the creation of the "{index_name}.solrindex.zip" does fail. Have you used the 0.12.0 or 1.0.0 version of the generic indexing tool? I would recommend users to use the 0.12.0 version (build from the release-0.12 branch [4]). If you create the file by hand make sure that the name of the root folder in the ZIP archive is {index-name}. Otherwise the installation will not work. The bundle for the Site ("org.apache.stanbol.data.site.{site-name}-1.0.0.jar") was created successfully? Without installing this your ReferencedSite would also not get initialized. > > Finally, when I checked the Entityhub, I wasn't able to see the site. I > thought it might be taking time so I waited and checked later but that > didn't work either. I also restarted the Stanbol instance and checked the > configMgr and saw the new SolrYard entries. Typical installation times are 5sec + 1sec per 50MByte size of the {index_name}.solrindex.zip You should check the log files ({launcher-dir}/stanbol/logs/error.log) during the installation of the Index. best Rupert > > Can you please let me know what I'm doing wrong and what I can do to debug > and fix the issue? > > Thank you, > Abhimanyu > > [1] http://www.fadyart.com/ontologies/data/Finance.owl > [2] > http://datahub.io/sq/dataset/isic-v4/resource/e3a0f7d2-751a-4a91-b2ee-74219342ae78 > [3] https://stanbol.apache.org/docs/trunk/customvocabulary.html [4] http://svn.apache.org/repos/asf/stanbol/branches/release-0.12/ > > -A- -- | Rupert Westenthaler rupert.westentha...@gmail.com | Bodenlehenstraße 11 ++43-699-11108907 | A-5500 Bischofshofen