Hi Rudi Vaum On 10.04.2012, at 17:13, Rudi Vaum wrote: > I'm a newbie to Stanbol so please advise if I'm sending this to the > wrong person/thread.
this is definitely the right place. Welcome! > I'm evaluating using Stanbol for a telecom support solution we're > currently enhancing. > > I was trying to build the ehealth demo as per instructions in the > README.md and your email. > While I managed to build the index and bundles, for some reason the > referencedSite ehealth didn't show up in in Stanbol. > > After some searching I found the prebuilt packages here > http://dev.iks-project.eu/downloads/stanbol-indices/ehealth/ - they > deploy fine - the difference seems to be that the > org.apache.stanbol.entityhub.site.entityPrefix is missing in my build > in > org.apache.stanbol.data.site.ehealth-1.0.0.jar\org\...\org.apache.stanbol.entityhub.site.referencedSite-ehealth.config A missing entityPrefix configuration can not cause any harm. A wrong configuration may cause issues with request on the sites ("http://{host}/entityhub/sites") endpoint but requests to "http://{host}/entityhub/site/ehealth" would still work. As far as I know the entityPrefix configuration can not cause a ReferencedSite (such as ehealth) to start up correctly. So I would be rather surprised if this is the issue. BTW: what error do you get on requests to "http://{host}/entityhub/site/ehealth"? 404 or a 500? > > I tracked it down to this property being generated by > ehealth\src\main\indexing\config\indexing.properties, for some reason > it doesn't like it's format? exactly the indexing tool takes this property from the main indexing.properties configuration > org.apache.stanbol.entityhub.site.entityPrefix=http://www4.wiwiss.fu-berlin.de/drugbank/;http://www4.wiwiss.fu-berlin.de/dailymed/;http://www4.wiwiss.fu-berlin.de/sider/;http://www4.wiwiss.fu-berlin.de/diseasome/; This syntax is the correct one > Also tried changing it to a ["","",..] format - while this made the > property appear in the build file, it corrupted it's value and so it > didn't produce the right result. I think here you refer to the syntax used by "*.config" files. With this the above value would be encoded like follows org.apache.stanbol.entityhub.site.entityPrefix=["http://www4.wiwiss.fu-berlin.de/drugbank/","http://www4.wiwiss.fu-berlin.de/dailymed/","http://www4.wiwiss.fu-berlin.de/sider/","http://www4.wiwiss.fu-berlin.de/diseasome/"] you can NOT use this syntax in the indexing.properties file. > > Last not least, when deploying with the missing property this warning > goes into the log: > 10.04.2012 01:59:13.204 *WARN* [FelixDispatchQueue] > org.apache.stanbol.commons.installer.provider.bundle.impl.BundleInstaller > ... no Entries found in path 'org\apache\stanbol\data\site\ehealth' > configured for Bundle 'org.apache.stanbol.data.site.ehealth' with > Manifest header field 'Install-Path'! I think this is the reason for your issue! Can you uncompress the "org.apache.stanbol.data.site.ehealth-1.0.0.jar" file (a normal zip file) and look if the following files are in the directory referenced above ehealth.solrindex.ref org.apache.stanbol.entityhub.core.site.CacheImpl-ehealth.config org.apache.stanbol.entityhub.site.referencedSite-ehealth.config org.apache.stanbol.entityhub.yard.solr.impl.SolrYard-ehealth.config BTW: you should also find them under {ehealth}/target/indexing/indexing/destination/config/org/apache/stanbol/data/site/ehealth This files contain the configuration for the ehealth ReferencedSite. If they are missing it would explain your issue. best Rupert > Thank you for your help! > > Rudi Vaum > Nexource SRL > > >> On Tue, Apr 10, 2012 at 5:39 PM, <[email protected]> >> wrote: >> >> >> stanbol-dev Digest of: get.2552 >> >> Topics (messages 2552 through 2552) >> >> New life science demo for Apache Stanbol >> 2552 by: Rupert Westenthaler >> >>
