Is it possible to find solve for this error? From: Gniewosław Rzepka Sent: Friday, September 14, 2012 11:49 AM To: stanbol-dev@incubator.apache.org Subject: RE: Creating the index failure
Dear Rupert, There is mystery to me, but even if my site is accessible I still can't get positive result in enhancer. It looks like engines like Keyword Linking or Named Entity does not communicate with my site. Is there something that I should do and that isn't in documentation? I've tried every configuration and it’s a bit frustrating. Best Gniewoslaw -----Original Message----- From: Rupert Westenthaler [mailto:rupert.westentha...@gmail.com]<mailto:[mailto:rupert.westentha...@gmail.com]> Sent: Wednesday, September 12, 2012 10:20 PM To: stanbol-dev@incubator.apache.org<mailto:stanbol-dev@incubator.apache.org> Subject: Re: Creating the index failure Hi, good to hear that it finally worked. > If so, do I need to provide Sparql query endpoint and referenceable entities > (<<Entity Prefix(es)>> and <<Entity Prefix(es)>> properties on <<Apache > Stanbol Entityhub Referenced Site Configuration>>)? If you refer to the configuration of your ReferencedSite: Entity Prefix(es) are optional; Access URI and Query Service URI are optional if Cache Strategy is "all" (what is the case for your site). > Log file ("{stanbol-working-dir}/stanbol/logs/error.log") already after > deploying stanbol.war file in Tomcat application server contain errors. This is expected. A lot of EnhancementEngines (geonames.org, zemanta, calais, CELI ...) require to user/pwd configuration. If you want to use those Engines you will need to add those information in the Engines Configuration otherwise you can ignore those messages. > Is there a chance to get Stanbol docs in pdf format? I am not aware of a PDF version. But If someone knows a nice tool that creates nice PDF files from Markdown files this should not be a big problem. best Rupert On Wed, Sep 12, 2012 at 5:24 PM, Gniewosław Rzepka <gniewoslaw.rze...@makolab.net<mailto:gniewoslaw.rze...@makolab.net>> wrote: > Dear Rupert, > > Finally I've got positive result, but I'm not sure if I'm doing it correctly. > > After installation and activation bundle I have added <<Entityhub Referenced > Site Configuration>> in my system console and it's working at this moment, I > mean I can access to my site via > http://{stanbol-instance}/entityhub/site/{name}<http://%7bstanbol-instance%7d/entityhub/site/%7bname%7d<http://%7bstanbol-instance%7d/entityhub/site/%7bname%7d%3chttp:/%7bstanbol-instance%7d/entityhub/site/%7bname%7d>>. > > curl -H "Accept: application/rdf+xml" > "http://193.239.136.89:8080/stan/entityhub/site/{name}<http://193.239.136.89:8080/stan/entityhub/site/%7bname%7d>" > also sends correct result. > > > > The question is: am I'm doing this right? > > If so, do I need to provide Sparql query endpoint and referenceable entities > (<<Entity Prefix(es)>> and <<Entity Prefix(es)>> properties on <<Apache > Stanbol Entityhub Referenced Site Configuration>>)? > > > > Log file ("{stanbol-working-dir}/stanbol/logs/error.log") already after > deploying stanbol.war file in Tomcat application server contain errors. After > indexing process there wasn't nothing new, but a I thought you will be > interested, so: > > > > 12.09.2012 12:55:56.980 *ERROR* [FelixStartLevel] > org.apache.stanbol.enhancer.engines.geonames > [org.apache.stanbol.enhancer.engines.geonames.impl.LocationEnhancement > Engine] Component instance could not be created, activation failed > > > > 12.09.2012 12:55:57.031 *ERROR* [FelixStartLevel] > org.apache.stanbol.enhancer.engines.opencalais > [org.apache.stanbol.enhancer.engines.opencalais.impl.OpenCalaisEngine] The > activate method has thrown an exception > (org.osgi.service.cm.ConfigurationException: > org.apache.stanbol.enhancer.engines.opencalais.license : OpenCalaisEngine : > please configure a OpenCalais License key to use this engine (e.g. byusing > the 'Configuration' tab of the Apache Felix Web Console).) > org.osgi.service.cm.ConfigurationException: > org.apache.stanbol.enhancer.engines.opencalais.license : OpenCalaisEngine : > please configure a OpenCalais License key to use this engine (e.g. byusing > the 'Configuration' tab of the Apache Felix Web Console). > > > > and much much more. > > If you want I’ll send you error.log file which contain all of them. > > > > With greetings > > Gniewosław > > > > P.S. > > Is there a chance to get Stanbol docs in pdf format? > > > > -----Original Message----- > From: Rupert Westenthaler > [mailto:rupert.westentha...@gmail.com]<mailto:[mailto:rupert.westentha...@gmail.com]> > Sent: Tuesday, September 11, 2012 7:38 PM > To: stanbol-dev@incubator.apache.org<mailto:stanbol-dev@incubator.apache.org> > Subject: Re: Creating the index failure > > > > Hi Gniewosław, > > > > If you have > > > > * installed and activated the Bundle > > * copied the {name}.solrindex.zip file to the datafiles directory > > > > than the your data should be accessible at > http://{stanbol-instance}/entityhub/site/{name}<http://%7bstanbol-instance%7d/entityhub/site/%7bname%7d<http://%7bstanbol-instance%7d/entityhub/site/%7bname%7d%3chttp:/%7bstanbol-instance%7d/entityhub/site/%7bname%7d>>. > If this is not the case than there is some kind of problem. > > > > Please try to spot/activate the "org.apache.stanbol.data.sites.{name}" > > bundle via the OSGI console. > > > > What {name} do you use because some names like "local" or "entityhub" > > are not allowed. > > > > If this does not help than it would be great if you could have a look at the > log file ("{stanbol-working-dir}/stanbol/logs/error.log"). > > maybe this log contains some hints about your problem. > > > > > > On Tue, Sep 11, 2012 at 4:21 PM, Gniewosław Rzepka > <gniewoslaw.rze...@makolab.net<mailto:gniewoslaw.rze...@makolab.net<mailto:gniewoslaw.rze...@makolab.net%3cmailto:gniewoslaw.rze...@makolab.net>>> > wrote: > >> I'm 100 % sure that bundle has status "Active". > >> There is no information about explicit time required for index creating, but >> I suspect that it do not need than 10 minutes for 400 triples dataset. Even >> 1 hour doesn't makes differences. > >> > > > > Initialization time depends on the size of the index. Typically you can > expect ~20MByte/sec. So an Index with 1GByte will take about a minute or so. > > > >> Also, after a first query is asked, the Apache Stanbol will be creating >> index cache on the disk ( stanbol-dir/stanbol/indexes/default/ ), which may >> take some time. > >> During this time, asked queries result with Cache Yard error. > > > > This is an important differentiation. If the site with {name} is not > available (typically when the Bundle is not active) you will get a > > "404 - Not Found". If the Data are not available (maybe because the > {name}.solrindex.zip file is not in the datafiles directory, the > initialization is not yet completed or there where some error during > initialization, than you will see an Exception telling you about a Cache > error. > > > > best > > Rupert > > > > -- > > | Rupert Westenthaler > rupert.westentha...@gmail.com<mailto:rupert.westentha...@gmail.com<mailto:rupert.westentha...@gmail.com%3cmailto:rupert.westentha...@gmail.com>> > > | Bodenlehenstraße 11 ++43-699-11108907 > > | A-5500 Bischofshofen -- | Rupert Westenthaler rupert.westentha...@gmail.com<mailto:rupert.westentha...@gmail.com> | Bodenlehenstraße 11 ++43-699-11108907 | A-5500 Bischofshofen