Hi Gniewoslaw, let me ask an other question: Could it be that an other Servlet running on the same Tomcat sets the solr home property as Java System Property? If this is the case it might explain the problems you are encountering.
best Rupert On Tue, Sep 18, 2012 at 4:57 PM, Rupert Westenthaler <rupert.westentha...@gmail.com> wrote: > Hi, > > On Tue, Sep 18, 2012 at 3:01 PM, Gniewosław Rzepka > <gniewoslaw.rze...@makolab.net> wrote: >>>> No. All those configurations are provided by the bundle you install >> >> This step fell. After bundle installation (bundle is active) I can't >> reference my site via: >> http://localhost:8080/stanbol-0.10.0/entityhub/{siteName}. > > NOTE that the URL of your site should be > > http://localhost:8080/stanbol-0.10.0/entityhub/site/{siteName}. > > can you check this URL instead of the one mentioned in your mail. > >> >> Log file is in attachments. >> More specific information about my Stanbol installation environment: >> OS: Windows Server 2008 R2 Enterprise SP1 64-bit 32 GB RAM >> memory Intel Core i7 2600 >> Java: 1.6.0_35 64-bit >> Tomcat: 6.0 >> Maven: 3.0.4 >> Stanbol: 0.10.0 at this moment (i'm deploying war file by using >> Tomcat) >> I realise that this is not a "friendly" environment for Stanbol. >> > > While most of the Stanbol users do use linux (or mac) there are also > some Windows users - so this should not be the problem. The only think > you need to monitor are Exceptions mentioning something about "local > loop back". If you see exceptions like that you need to adjust your > Firewall, Virus Scanner configurations. Search the Stanbol mail > archive for detailed information. > > > best > Rupert > > >> Best >> Gniewoslaw >> >> -----Original Message----- >> From: Rupert Westenthaler [mailto:rupert.westentha...@gmail.com] >> Sent: Monday, September 17, 2012 4:20 PM >> To: stanbol-dev@incubator.apache.org >> Subject: Re: Creating the index failure >> >> On Mon, Sep 17, 2012 at 3:53 PM, Gniewosław Rzepka >> <gniewoslaw.rze...@makolab.net> wrote: >>> Test queries calls result: >>> " error - Unable to Query Site 'poland' (message: Unable to execute query >>> on Cache polandIndex because it is currently not active)" >> >> This exception tells you that the data for your ReferencedSite are not >> available. This means that the reason why you do not get the expected >> results is because the ReferencedSite of the Entityhub is still not >> working as expected :( >> >>> >>> The question is: >>> -Do I have to create <<Apache Stanbol Entityhub Referenced Site >>> Configuration>> value after bundle installation? Is that correct, what >>> should I set into Cache ID property? (Bundle is active already!) >> >> No. All those configurations are provided by the bundle you install >> >>> -Is that matters if I'm creating <<{name}.solrindex.zip>> with " >>> org.apache.stanbol.entityhub.indexing.genericrdf-0.10.1-incubating-SNAPSHOT-jar-with-dependencies.jar" >>> tool release for stanbol-0.9.0? >> >> The output format of the created bundle and {name}.solrindex.zip has >> not changed. So the version of the indexing tool and your Stanbol >> version do not matter. >> >>> (I didn't notice any differences between 0.9.0 and 0.10.0 versions in this >>> case - it's still won’t work for these two - but I've found note saying >>> that version 0.9.0 is more stable.) >> >> I would use the 0.10.0-incubating-SNAPSHOT version of Stanbol, as we >> fixed a lot of Bugs since the last release. >> >> Can you setup a >> >> * new Stanbol server (0.10.0-incubating-SNAPSHOT version) >> * copy the {name}.solrindex.zip into the datafiles directory >> * install the org.apache.stanbol.data.sites.{name} >> * configure the KeywordLinkingEngine for {name} >> * create a EnhancementChain (List Chain) with "langdetect" and the >> configured KeywordLinkingEngine >> * send a text to the configured Chain >> >> If you still have problems please provide the log file for this steps >> >> {stanbol-working-dir}/stanbl/logs/error.log >> >> and I will try to figure out why this does not work for you. >> >> best >> Rupert >> >> >> >>> >>> Thanks for your support! >> >> >>> Gniewoslaw >>> >>> -----Original Message----- >>> From: Rupert Westenthaler [mailto:rupert.westentha...@gmail.com] >>> Sent: Monday, September 17, 2012 3:03 PM >>> To: stanbol-dev@incubator.apache.org >>> Subject: Re: Creating the index failure >>> >>> Hi, >>> >>> sorry for the late response, but I was offline the last few days. >>> >>>> 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. >>>> >>> >>> Typically the default configuration of the KeywordlinkingEngine [1] works >>> fine. The only properties you want to change are >>> >>> * Name >>> * Referenced Site: to the name of your Entityhub ReferencedSite you want to >>> use >>> >>> properties you might need to change >>> >>> * Label Field: If your entities do not define rdfs:label, than you will >>> need to change this to the property that holds the labels for your data. >>> The best is to configure the full URI of the property. >>> * Default Matching Language: If your data do not define the correct >>> language tags for labels, than you might want to add here the language >>> defined for the labels in your dataset. >>> >>> >>> If you do not get results than most likely because your dataset does not >>> define rdfs:label (http://www.w3.org/2000/01/rdf-schema#label) >>> values. >>> >>> You can test queries by >>> >>> * going to http://localhost:8080/entityhub/site/{your-site}/find >>> * empty the "LDPath:" formular field >>> * add the name of an Entity you know that it exist in your vocabulary to >>> "Name:" >>> >>> * If there are no results than empty the Language and try again. >>> * If there are still no results that you do not have values for rdfs:label >>> and you will need to configure the property that does hold the labels in >>> your vocabulary. >>> >>> After setting the "Field:" field of the from to the correct property you >>> should see the expected results. >>> >>> Please validate that "xml:lang" values are correct. If no "xml:lang" >>> values are present, than it is also OK >>> >>> Configuring the value of the "Field:" as value of the "Label Field:" >>> property of the KeywordLinkingEngine [1] you should be able to extract your >>> entities from Text parsed to the Stanbol Enhancer >>> >>> >>> hope this helps >>> best >>> Rupert >>> >>> [1] >>> http://incubator.apache.org/stanbol/docs/trunk/components/enhancer/engines/keywordlinkingengine.html >>> >>>> Is there something that I should do and that isn't in documentation? >>>> >>>> I've tried every configuration and it’s a bit frustrating. >>>> >>> >>> -- >>> | Rupert Westenthaler rupert.westentha...@gmail.com >>> | Bodenlehenstraße 11 ++43-699-11108907 >>> | A-5500 Bischofshofen >> >> >> >> -- >> | Rupert Westenthaler rupert.westentha...@gmail.com >> | Bodenlehenstraße 11 ++43-699-11108907 >> | A-5500 Bischofshofen > > > > -- > | Rupert Westenthaler rupert.westentha...@gmail.com > | Bodenlehenstraße 11 ++43-699-11108907 > | A-5500 Bischofshofen -- | Rupert Westenthaler rupert.westentha...@gmail.com | Bodenlehenstraße 11 ++43-699-11108907 | A-5500 Bischofshofen