Hi Rupert

Thank you very much for your help. Replies below.

On 18/11/2012, at 8:28 PM, Rupert Westenthaler wrote:
> Dear Jonathan,
> 
> Decided to answer in smaller pieces while going over the several
> things addressed in your mail. This answer only covers build/startup
> related problems/questions.
> 
> (1) Relative Paths to Stanbol Parent POM
> 
> On Sun, Nov 18, 2012 at 5:57 AM, Jonathan Hunt
> <stanbol.apache....@huntdesign.co.nz> wrote:
>> Greetings
>> 
>> I'm new to Stanbol & Java. I'd appreciate any advice you can provide 
>> regarding the following:
>> 
>> Working from the instructions at
>> https://stanbol.apache.org/docs/trunk/tutorial.html
>> 
>> BTW, on https://stanbol.apache.org/docs/trunk/tutorial.html the link to all 
>> available components gives a 404 
>> https://stanbol.apache.org/docs/trunk/components.html
>> 
>> On OS X 10.7.5, I can checkout the project and initiate a build, but maven 
>> halts with a POM error.
>> 
>> I resolved the pom errors with several path changes.

> Wrong relative paths to the parent pom are easy to be overlooked
> during development as they only cause the build to fail on a clean new
> build.
> 
> Should be fixed by http://svn.apache.org/viewvc?rev=1410840&view=rev

Fixed, thanks.

> (2) IntegrationTests error
> 
>> 
>> After changing the pom paths, the mvn install continued for some time until 
>> integration tests failed.
>> "[ERROR] Failed to execute goal 
>> org.apache.maven.plugins:maven-surefire-plugin:2.11:test (default-test) on 
>> project org.apache.stanbol.integration-tests: There are test failures."
>> 
> 
> There is a small probability that the "httpqueryheaders" integration
> tests fail. This also happens from time to time on the Jenkins
> (Continuous Integration Server) and has todo with test requesting data
> from the dbpedia Entityhub Referenced Site before the data are fully
> initialized. So if one (or both) of those tests where failing it was
> most likely because of this.
> 
> If an other test where failing, than it would be nice if you could
> provide the surefire reports located under
> "{stanbol-trunk}/integration-tests/target/surefire-reports".

During the new build, I noticed:

663605 [main] INFO 
org.apache.stanbol.commons.httpqueryheaders.it.HttpQueryHeaderGetTest - 
Entityhub services checked, all present
Nov 18, 2012 9:46:40 PM com.sun.jersey.spi.container.ContainerResponse 
mapMappableContainerException
SEVERE: The RuntimeException could not be mapped to a response, re-throwing to 
the HTTP container
java.lang.IllegalStateException: Unable to initialize the Cache with Yard 
dbpediaIndex! This is usually caused by Errors while reading the Cache 
Configuration from the Yard.
        at 
org.apache.stanbol.entityhub.core.site.CacheImpl.getCacheYard(CacheImpl.java:214)
        at 
org.apache.stanbol.entityhub.core.site.CacheImpl.getRepresentation(CacheImpl.java:366)
        at 
org.apache.stanbol.entityhub.core.impl.ReferencedSiteImpl.getEntity(ReferencedSiteImpl.java:499)
        at 
org.apache.stanbol.entityhub.jersey.resource.ReferencedSiteRootResource.getEntityById(ReferencedSiteRootResource.java:300)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at 
com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)
        at 
com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:205)
        at 
com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)
        at 
com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:288)
        at 
com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
        at 
com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108)
        at 
com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
        at 
com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)
        at 
com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1483)
        at 
com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1414)
        at 
com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1363)
        at 
com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1353)
        at 
com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:414)
        at 
com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:537)
        at 
com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:708)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
        at 
org.apache.felix.http.base.internal.handler.ServletHandler.doHandle(ServletHandler.java:96)
        at 
org.apache.felix.http.base.internal.handler.ServletHandler.handle(ServletHandler.java:79)
        at 
org.apache.felix.http.base.internal.dispatch.ServletPipeline.handle(ServletPipeline.java:42)
        at 
org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFilterChain.java:49)
        at 
org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.java:33)
        at 
org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:78)
        at 
org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFilterChain.java:47)
        at 
org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.java:33)
        at 
org.apache.stanbol.commons.security.auth.AuthenticatingFilter$1.run(AuthenticatingFilter.java:159)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
        at 
org.apache.stanbol.commons.security.auth.AuthenticatingFilter.doFilter(AuthenticatingFilter.java:155)
        at 
org.apache.felix.http.base.internal.handler.FilterHandler.doHandle(FilterHandler.java:88)
        at 
org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:76)
        at 
org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFilterChain.java:47)
        at 
org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.java:33)
        at 
org.apache.stanbol.commons.httpqueryheaders.impl.QueryHeadersFilter.doFilter(QueryHeadersFilter.java:73)
        at 
org.apache.felix.http.base.internal.handler.FilterHandler.doHandle(FilterHandler.java:88)
        at 
org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:76)
        at 
org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFilterChain.java:47)
        at 
org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.java:33)
        at 
org.apache.felix.http.base.internal.dispatch.FilterPipeline.dispatch(FilterPipeline.java:48)
        at 
org.apache.felix.http.base.internal.dispatch.Dispatcher.dispatch(Dispatcher.java:39)
        at 
org.apache.felix.http.base.internal.DispatcherServlet.service(DispatcherServlet.java:67)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
        at 
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
        at 
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:390)
        at 
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
        at 
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
        at 
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
        at org.mortbay.jetty.Server.handle(Server.java:326)
        at 
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
        at 
org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:926)
        at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
        at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
        at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
        at 
org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410)
        at 
org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
Caused by: org.apache.stanbol.entityhub.servicesapi.yard.YardException: The 
SolrIndex 'dbpedia' for SolrYard 'dbpedia default data index' is currently not 
active!
        at 
org.apache.stanbol.entityhub.yard.solr.impl.SolrYard.getServer(SolrYard.java:545)
        at 
org.apache.stanbol.entityhub.yard.solr.impl.SolrYard.getRepresentation(SolrYard.java:900)
        at 
org.apache.stanbol.entityhub.core.site.CacheUtils.loadBaseMappings(CacheUtils.java:54)
        at 
org.apache.stanbol.entityhub.core.site.CacheImpl.initWithCacheYard(CacheImpl.java:114)
        at 
org.apache.stanbol.entityhub.core.site.CacheImpl.getCacheYard(CacheImpl.java:210)
        ... 61 more
Tests run: 4, Failures: 1, Errors: 3, Skipped: 0, Time elapsed: 672.867 sec <<< 
FAILURE!

At the end:

Results :

Failed tests:   
testOverrideAccept(org.apache.stanbol.commons.httpqueryheaders.it.HttpQueryHeaderGetTest):
 GET request to 
http://localhost:8765/entityhub/site/dbpedia/entity?id=http%3A%2F%2Fdbpedia.org%2Fresource%2FParis&header_Accept=text%2Frdf%2Bnt:
 expecting status 200 (content: <html>(..)
  
testRemoveAccept(org.apache.stanbol.commons.httpqueryheaders.it.HttpQueryHeaderPostTest):
 POST request to http://localhost:8765/enhancer?header_Accept=: expecting 
status 200 (content: <html>(..)

Tests in error: 
  
testSetAccept(org.apache.stanbol.commons.httpqueryheaders.it.HttpQueryHeaderGetTest):
 Server not ready after 180 seconds
  
testGetAccept(org.apache.stanbol.commons.httpqueryheaders.it.HttpQueryHeaderGetTest):
 Server not ready after 180 seconds
  
testRemovalOfAccept(org.apache.stanbol.commons.httpqueryheaders.it.HttpQueryHeaderGetTest):
 Server not ready after 180 seconds

Tests run: 181, Failures: 2, Errors: 3, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache Stanbol Releasing Source Assembly Descriptor  SUCCESS [20.844s]
[INFO] Apache Stanbol Parent ............................. SUCCESS [0.894s]
[INFO] Apache Stanbol Data Parent ........................ SUCCESS [1.257s]
[INFO] Apache Stanbol Data Default Configuration ......... SUCCESS [6.207s]
[INFO] Apache Stanbol Data: DBpedia.org .................. SUCCESS [29.621s]
[INFO] Apache Stanbol Data: OpenNLP Models for English ... SUCCESS [11.415s]
[INFO] Apache Stanbol Data: OpenNLP NER Models for English  SUCCESS [7.601s]
[INFO] Apache Stanbol Data: Default ontology registries .. SUCCESS [1.326s]
[INFO] Apache Stanbol Data: Remote DBpedia.org with local cache  SUCCESS 
[1.364s]
[INFO] Apache Stanbol Data: OpenNLP Models for Danish .... SUCCESS [3.187s]
[INFO] Apache Stanbol Data: OpenNLP Models for German .... SUCCESS [6.049s]
[INFO] Apache Stanbol Data: OpenNLP Models for Spanish ... SUCCESS [20.611s]
[INFO] Apache Stanbol Data: OpenNLP Models for Dutch ..... SUCCESS [4.505s]
[INFO] Apache Stanbol Data: OpenNLP Models for Portuguese  SUCCESS [5.214s]
[INFO] Apache Stanbol Data: OpenNLP Models for Swedish ... SUCCESS [3.391s]
[INFO] Apache Stanbol Data: OpenNLP NER Models for Spanish  SUCCESS [4.824s]
[INFO] Apache Stanbol Data: OpenNLP NER Models for Dutch . SUCCESS [7.463s]
[INFO] Apache Stanbol Data ............................... SUCCESS [0.120s]
[INFO] Apache Stanbol Commons JSON-LD API ................ SUCCESS [3.570s]
[INFO] Apache Stanbol Commons Web Base ................... SUCCESS [7.982s]
[INFO] Apache Stanbol Commons Web Home Page .............. SUCCESS [5.396s]
[INFO] Apache Stanbol Commons LDPath template service .... SUCCESS [2.869s]
[INFO] Apache Stanbol LDPath Template Viewable ........... SUCCESS [2.307s]
[INFO] Apache Stanbol Commons Data File Provider ......... SUCCESS [2.358s]
[INFO] Apache Stanbol Commons Offline Utilities .......... SUCCESS [1.142s]
[INFO] Apache Stanbol Commons Data File Provider for Bundles  SUCCESS [1.510s]
[INFO] Apache Stanbol Commons Installer Bundle Provider .. SUCCESS [1.376s]
[INFO] Apache Stanbol Commons Solr Core .................. SUCCESS [7.063s]
[INFO] Apache Stanbol Commons Solr Managed ............... SUCCESS [8.491s]
[INFO] Apache Stanbol Commons Solr Web ................... SUCCESS [4.039s]
[INFO] Apache Stanbol Commons Solr Installer ............. SUCCESS [2.347s]
[INFO] Apache Stanbol Commons Solr Defauts ............... SUCCESS [1.188s]
[INFO] Apache Stanbol Commons Web SPARQL ................. SUCCESS [2.135s]
[INFO] Apache Stanbol Commons Jobs API ................... SUCCESS [3.603s]
[INFO] Apache Stanbol Commons Jobs Web ................... SUCCESS [2.574s]
[INFO] Apache Stanbol Commons Jobs Reactor ............... SUCCESS [0.030s]
[INFO] Apache Stanbol Commons OpenNLP Utilities and Models  SUCCESS [16.568s]
[INFO] Apache Stanbol Commons OWL Bundle ................. SUCCESS [13.847s]
[INFO] Apache Stanbol Commons Indexed Clerezza inMemory graph implementation  
SUCCESS [10.465s]
[INFO] Apache Stanbol Commons Clerezza LDPath Repository . SUCCESS [16.360s]
[INFO] Apache Stanbol Commons HTTP Query Headers ......... SUCCESS [3.752s]
[INFO] Apache Stanbol Commons Launchpad .................. SUCCESS [5.794s]
[INFO] Apache Stanbol Commons Security ................... SUCCESS [14.715s]
[INFO] Apache Stanbol Commons Basic Authenticator ........ SUCCESS [8.137s]
[INFO] Apache Stanbol Commons Felix Webconsole Security Provider  SUCCESS 
[3.797s]
[INFO] Apache Stanbol Commons usermanagement ............. SUCCESS [6.417s]
[INFO] CAS Light ......................................... SUCCESS [5.567s]
[INFO] Apache Stanbol Commons Testing Jar Executor ....... SUCCESS [3.208s]
[INFO] Apache Stanbol Commons Testing HTTP Testing Library  SUCCESS [5.061s]
[INFO] Apache Stanbol Commons Testing Stanbol Utilities .. SUCCESS [1.734s]
[INFO] Apache Stanbol Commons Reactor .................... SUCCESS [0.867s]
[INFO] Apache Stanbol Default Framework Fragment Bundle .. SUCCESS [15.419s]
[INFO] Apache Stanbol Entityhub Parent ................... SUCCESS [0.440s]
[INFO] Apache Stanbol Entityhub Generic Service API ...... SUCCESS [27.887s]
[INFO] Apache Stanbol Entityhub Generic Test Framework ... SUCCESS [2.438s]
[INFO] Apache Stanbol Entityhub Generic Core ............. SUCCESS [4.348s]
[INFO] Apache Stanbol Entityhub Model Clerezza ........... SUCCESS [2.997s]
[INFO] Apache Stanbol Entityhub Query SPARQL ............. SUCCESS [3.974s]
[INFO] Apache Stanbol Entityhub Site Linked Data Protocol  SUCCESS [4.391s]
[INFO] Apache Stanbol Entityhub Managed Site ............. SUCCESS [2.284s]
[INFO] Apache Stanbol Entityhub Yard based on Clerezza ... SUCCESS [5.206s]
[INFO] Apache Stanbol Entityhub Yard based on Solr ....... SUCCESS [36.221s]
[INFO] Apache Stanbol Entityhub LDPath Support ........... SUCCESS [57.397s]
[INFO] Apache Stanbol Entityhub Web Jersey HTTP Endpoint . SUCCESS [6.834s]
[INFO] Apache Stanbol Entityhub Indexing Parent .......... SUCCESS [0.202s]
[INFO] Apache Stanbol Entityhub Indexing Core ............ SUCCESS [2:36.402s]
[INFO] Apache Stanbol Entityhub Indexing Source for Jena TDB  SUCCESS [39.238s]
[INFO] Apache Stanbol Entityhub Indexing Source for vCard  SUCCESS [4.769s]
[INFO] Apache Stanbol Entityhub Indexing Destination SolrYard  SUCCESS [9.610s]
[INFO] Apache Stanbol Entityhub Indexing Generic RDF ..... SUCCESS [2.835s]
[INFO] Apache Stanbol Entityhub Indexing for geonames.org  SUCCESS [3.337s]
[INFO] Apache Stanbol Entityhub Indexing for DBpedia.org . SUCCESS [2.342s]
[INFO] Apache Stanbol Entityhub Indexing for dblp ........ SUCCESS [1.902s]
[INFO] Apache Stanbol Entityhub Indexing Reactor ......... SUCCESS [0.130s]
[INFO] Apache Stanbol Entityhub Default Configuration .... SUCCESS [2.273s]
[INFO] Apache Stanbol Entityhub Bundle List .............. SUCCESS [5.405s]
[INFO] Apache Stanbol Entityhub .......................... SUCCESS [0.176s]
[INFO] Apache Stanbol Ontology Manager : Services API .... SUCCESS [8.247s]
[INFO] Apache Stanbol Ontology Manager : Input Sources (Clerezza-based)  
SUCCESS [3.949s]
[INFO] Apache Stanbol Ontology Manager : Input Sources (OWL API-based)  SUCCESS 
[8.244s]
[INFO] Apache Stanbol Ontology Manager : Core ............ SUCCESS [4.227s]
[INFO] Apache Stanbol Ontology Manager : Network Multiplexer (Clerezza 
implementation)  SUCCESS [7.233s]
[INFO] Apache Stanbol Ontology Manager : Registry Manager  SUCCESS [9.014s]
[INFO] Apache Stanbol Ontology Manager : Web ............. SUCCESS [5.108s]
[INFO] Apache Stanbol Ontology Manager Bundle List ....... SUCCESS [0.432s]
[INFO] Apache Stanbol Ontology Manager Reactor ........... SUCCESS [0.025s]
[INFO] Apache Stanbol Rules Services API ................. SUCCESS [3.098s]
[INFO] Apache Stanbol Rules Manager ...................... SUCCESS [7.075s]
[INFO] Apache Stanbol Rules Abstract Adapter ............. SUCCESS [4.553s]
[INFO] Apache Stanbol Rules Jena Adapter ................. SUCCESS [4.857s]
[INFO] Apache Stanbol Rules SPARQL Adapter ............... SUCCESS [6.223s]
[INFO] Apache Stanbol Rules Clerezza Adapter ............. SUCCESS [4.606s]
[INFO] Apache Stanbol Rules SWRL Adapter ................. SUCCESS [4.116s]
[INFO] Apache Stanbol Rules Adapter Reactor .............. SUCCESS [0.034s]
[INFO] Apache Stanbol Rules Refactorer ................... SUCCESS [4.252s]
[INFO] Apache Stanbol Rules Web .......................... SUCCESS [3.997s]
[INFO] Apache Stanbol Rules Bundle List .................. SUCCESS [0.391s]
[INFO] Apache Stanbol Rules Reactor ...................... SUCCESS [0.028s]
[INFO] Apache Stanbol Enhancer Parent POM ................ SUCCESS [0.300s]
[INFO] Apache Stanbol Enhancer Services API .............. SUCCESS [3.326s]
[INFO] Apache Stanbol Enhancer Test framework ............ SUCCESS [1.797s]
[INFO] Apache Stanbol Enhancer Core ...................... SUCCESS [2.480s]
[INFO] Apache Stanbol Enhancer RDF entities .............. SUCCESS [3.933s]
[INFO] Apache Stanbol Enhancer Weighted Job Manager ...... SUCCESS [1.656s]
[INFO] Apache Stanbol Enhancer Event Jobmanager .......... SUCCESS [1.611s]
[INFO] Apache Stanbol Enhancer JobManager Reactor ........ SUCCESS [0.075s]
[INFO] Apache Stanbol Enhancer Chain: DefaultChain ....... SUCCESS [1.513s]
[INFO] Apache Stanbol Enhancer Chain: GraphChain ......... SUCCESS [2.088s]
[INFO] Apache Stanbol Enhancer Chain: Weighted ........... SUCCESS [1.558s]
[INFO] Apache Stanbol Enhancer Chain: List ............... SUCCESS [2.411s]
[INFO] Apache Stanbol Enhancer Web (Jersey) .............. SUCCESS [6.304s]
[INFO] Apache Stanbol Enhancer LDPath .................... SUCCESS [3.360s]
[INFO] Apache Stanbol Enhancer Benchmark ................. SUCCESS [2.490s]
[INFO] Apache Stanbol Enhancer Defaults Configuration .... SUCCESS [1.036s]
[INFO] Apache Stanbol Enhancer Bundle List ............... SUCCESS [0.286s]
[INFO] Apache Stanbol Enhancer Enhancement Engine : Semantic NER  SUCCESS 
[43.289s]
[INFO] Apache Stanbol Enhancer Enhancement Engine : Language Detection  SUCCESS 
[11.154s]
[INFO] Apache Stanbol Enhancer Enhancement Engine : Language Identifier  
SUCCESS [4.246s]
[INFO] Apache Stanbol Enhancer Enhancement Engine : Topic Classification  
SUCCESS [57.891s]
[INFO] Apache Stanbol Enhancer Enhancement Engine : Metaxa Metadata and Text 
Extractor  SUCCESS [52.812s]
[INFO] Apache Stanbol Enhancer Enhancement Engine : HTML Extractors  SUCCESS 
[22.197s]
[INFO] Apache Stanbol Enhancer Enhancement Engine : XMP Extractors  SUCCESS 
[4.645s]
[INFO] Apache Stanbol Enhancer Enhancement Engine : Apache Tika  SUCCESS 
[13.336s]
[INFO] Apache Stanbol Enhancer Enhancement Engine : Entity Tagging  SUCCESS 
[22.229s]
[INFO] Apache Stanbol Enhancer Enhancement Engine : Keyword Extraction  SUCCESS 
[10.868s]
[INFO] Apache Stanbol Enhancer Enhancement Engine : Refactor Engine  SUCCESS 
[13.212s]
[INFO] Apache Stanbol Enhancer Enhancement Engine : CELI Engine  SUCCESS 
[30.192s]
[INFO] Apache Stanbol Enhancer Enhancement Engine : geonames.org GIS service  
SUCCESS [9.169s]
[INFO] Apache Stanbol Enhancer Enhancement Engine : OpenCalais  SUCCESS 
[17.301s]
[INFO] Apache Stanbol Enhancer Enhancement Engine : Zemanta Tagging  SUCCESS 
[17.753s]
[INFO] Apache Stanbol Enhancer Enhancement Engine : DBPedia Spotlight  SUCCESS 
[23.469s]
[INFO] Apache Stanbol Enhancer Enhancement Engine : UIMA Remote Client  SUCCESS 
[3.603s]
[INFO] Apache Stanbol Enhancer Enhancement Engine : UIMA To Triples  SUCCESS 
[3.309s]
[INFO] Apache Stanbol Enhancer Enhancement Engine : UIMA Local Client  SUCCESS 
[9.275s]
[INFO] Apache Stanbol Enhancer Engines Reactor ........... SUCCESS [0.452s]
[INFO] Apache Stanbol Enhancer ........................... SUCCESS [0.176s]
[INFO] Apache Stanbol Contenthub Parent .................. SUCCESS [0.229s]
[INFO] Apache Stanbol Contenthub Service API ............. SUCCESS [4.453s]
[INFO] Apache Stanbol Contenthub Solr Store .............. SUCCESS [19.695s]
[INFO] Apache Stanbol Contenthub Clerezza Store .......... SUCCESS [5.885s]
[INFO] Apache Stanbol Contenthub InMemory Store .......... SUCCESS [1.779s]
[INFO] Apache Stanbol Contenthub Store Reactor ........... SUCCESS [0.050s]
[INFO] Apache Stanbol Contenthub Search Solr Searcher .... SUCCESS [3.771s]
[INFO] Apache Stanbol Contenthub Search Related Keyword Searcher  SUCCESS 
[2.883s]
[INFO] Apache Stanbol Contenthub Featured Search ......... SUCCESS [5.038s]
[INFO] Apache Stanbol Contenthub Search Reactor .......... SUCCESS [0.042s]
[INFO] Apache Stanbol Contenthub Web ..................... SUCCESS [8.367s]
[INFO] Apache Stanbol Contenthub Clerezza LDPath Backend . SUCCESS [16.563s]
[INFO] Apache Stanbol Contenthub Bundle List ............. SUCCESS [0.431s]
[INFO] Apache Stanbol Contenthub ......................... SUCCESS [0.056s]
[INFO] Apache Stanbol Enhancer Topic Classification - Web API  SUCCESS [11.584s]
[INFO] Apache Stanbol CMS Adapter Parent ................. SUCCESS [0.144s]
[INFO] Apache Stanbol CMS Adapter Service API ............ SUCCESS [21.584s]
[INFO] Apache Stanbol CMS Adapter Core ................... SUCCESS [19.897s]
[INFO] Apache Stanbol CMS Adapter JCR .................... SUCCESS [20.057s]
[INFO] Apache Stanbol CMS Adapter CMIS Bundle ............ SUCCESS [5.973s]
[INFO] Apache Stanbol CMS Adapter Web .................... SUCCESS [4.712s]
[INFO] Apache Stanbol CMS Adapter Bundle List ............ SUCCESS [0.357s]
[INFO] Apache Stanbol CMS Adapter Reactor ................ SUCCESS [0.021s]
[INFO] Apache Stanbol FactStore .......................... SUCCESS [7.676s]
[INFO] Apache Stanbol FactStore Bundle List .............. SUCCESS [0.390s]
[INFO] Apache Stanbol FactStore Reactor .................. SUCCESS [0.018s]
[INFO] Apache Stanbol Reasoners Services API ............. SUCCESS [1.965s]
[INFO] Apache Stanbol Reasoners Service Manager .......... SUCCESS [1.505s]
[INFO] Apache Stanbol Reasoners OWL API .................. SUCCESS [4.704s]
[INFO] Apache Stanbol Reasoners Jena ..................... SUCCESS [2:39.105s]
[INFO] Apache Stanbol Reasoners Test Framework ........... SUCCESS [32.095s]
[INFO] Apache Stanbol Reasoners Web ...................... SUCCESS [45.041s]
[INFO] Apache Stanbol Reasoners Bundle List .............. SUCCESS [1.908s]
[INFO] Apache Stanbol Reasoners Reactor .................. SUCCESS [0.166s]
[INFO] Apache Stanbol Demos Enhancer VIE UI .............. SUCCESS [36.428s]
[INFO] Apache Stanbol Bundlelist for the OSGi Framework .. SUCCESS [0.769s]
[INFO] Apache Stanbol Bundlelist for Commons Libraries ... SUCCESS [0.689s]
[INFO] Apache Stanbol Bundlelist for Default Data ........ SUCCESS [1.342s]
[INFO] Apache Stanbol Bundlelist for OpenNLP Models ...... SUCCESS [1.229s]
[INFO] Apache Stanbol Bundlelist for Authentication ...... SUCCESS [0.776s]
[INFO] Apache Stanbol Bundlelist for the Clerezza Shell .. SUCCESS [0.762s]
[INFO] Apache Stanbol Bundlelists ........................ SUCCESS [0.177s]
[INFO] Apache Stanbol Launchers Full Launcher ............ SUCCESS [3:38.142s]
[INFO] Apache Stanbol Integration Tests .................. FAILURE [20:29.319s]
[INFO] Apache Stanbol Launchers Stable Launcher .......... SKIPPED
[INFO] Apache Stanbol Launchers Full Launcher as WAR ..... SKIPPED
[INFO] Apache Stanbol Reactor ............................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 52:50.063s
[INFO] Finished at: Sun Nov 18 21:55:22 NZDT 2012
[INFO] Final Memory: 184M/531M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-surefire-plugin:2.11:test (default-test) on 
project org.apache.stanbol.integration-tests: There are test failures.
[ERROR] 
[ERROR] Please refer to 
/Users/jonathan/Documents/HuntDesign/Projects/stanbol/integration-tests/target/surefire-reports
 for the individual test results.
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please 
read the following articles:
[ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :org.apache.stanbol.integration-tests

I'll email you the 
/Users/jonathan/Documents/HuntDesign/Projects/stanbol/integration-tests/target/surefire-reports
 directly to avoid clogging the list.

> BTW: I was unable to reproduce you issue on my machine (Apache Maven
> 3.0.4, Java version "1.6.0_37", Max OS 10.8.2).

For me,
Apache Maven 3.0.3 (r1075438; 2011-03-01 06:31:09+1300)
Java version: 1.6.0_37, vendor: Apple Inc.
OS name: "mac os x", version: "10.7.5", arch: "x86_64", family: "mac"

> (3) Launcher Startup
> 
> 
>> Since I don't know how to resolve those failures I re-initiated the install 
>> without tests per "mvn -DskipTests clean install" and this proceeded to 
>> completion.
>> 
>> However, at http://localhost:8080/ only /enhancer and /entityhub are 
>> available. (Previously I installed IKS 7.0, and additional endpoints were 
>> enabled in that instance (e.g. contenthub). Also the dbpediaLinking engine 
>> is not available.
>> 
> 
> combinded with
> 
>> Looking at the log, I wonder if this message is relevant:
>> "ERROR: Bundle org.apache.stanbol.enhancer.engines.refactor [110]: Error 
>> starting 
>> slinginstall:org.apache.stanbol.enhancer.engines.refactor-0.10.0-SNAPSHOT.jar
>>  (org.osgi.framework.BundleException: Unresolved constraint in bundle 
>> org.apache.stanbol.enhancer.engines.refactor [110]: Unable to resolve 110.0: 
>> missing requirement [110.0] package; 
>> (&(package=org.apache.stanbol.ontologymanager.servicesapi.collector)(version>=0.10.0)(!(version>=1.0.0))))
>> org.osgi.framework.BundleException: Unresolved constraint in bundle 
>> org.apache.stanbol.enhancer.engines.refactor [110]: Unable to resolve 110.0: 
>> missing requirement [110.0] package; 
>> (&(package=org.apache.stanbol.ontologymanager.servicesapi.collector)(version>=0.10.0)(!(version>=1.0.0)))
>>        at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3443)
>>        at org.apache.felix.framework.Felix.startBundle(Felix.java:1727)
>>        at 
>> org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1156)
>>        at 
>> org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264)
>>        at java.lang.Thread.run(Thread.java:680)"
> 
> This is expected when using the stable launcher
> '{stanbol-trunk}/launchers/stable'. This launcher only contains the
> Enhancer and Entityhub. This would explain why you are only seeing
> this two exceptions and also this exception is expected during startup
> as the Refactor Engine is included in the Stanble Launcher but is
> missing the dependencies to the OntologyManager and Rules components.

Ok, thanks.

> However
> 
>> I stopped the stanbol instance and tried the '"full" build.
>> java -Xmx1g -XX:MaxPermSize=256m -jar 
>> full/target/org.apache.stanbol.launchers.full-0.10.0-SNAPSHOT.jar
>> instead, but got
>> "ERROR: Bundle org.apache.stanbol.enhancer.engines.refactor [110]: Error 
>> starting 
>> slinginstall:org.apache.stanbol.enhancer.engines.refactor-0.10.0-SNAPSHOT.jar
>>  (org.osgi.framework.BundleException: Unresolved constraint in bundle 
>> org.apache.stanbol.enhancer.engines.refactor [110]: Unable to resolve 110.0: 
>> missing requirement [110.0] package; 
>> (&(package=org.apache.stanbol.ontologymanager.servicesapi.collector)(version>=0.10.0)(!(version>=1.0.0))))
>> org.osgi.framework.BundleException: Unresolved constraint in bundle 
>> org.apache.stanbol.enhancer.engines.refactor [110]: Unable to resolve 110.0: 
>> missing requirement [110.0] package; 
>> (&(package=org.apache.stanbol.ontologymanager.servicesapi.collector)(version>=0.10.0)(!(version>=1.0.0)))"
>> 
> 
> this is not expected and indicates some issue with the ontology
> manager. But as with the integration tests I was also unable to
> reproduce this.
> 
> Also a look at the Exported packages of the
> "org.apache.stanbol.ontologymanager.servicesapi" shows that this
> module correctly exports
> "org.apache.stanbol.ontologymanager.servicesapi.collector,version=0.10.0.SNAPSHOT"
> and also that "org.apache.stanbol.enhancer.engines.refactor" imports
> "org.apache.stanbol.ontologymanager.servicesapi.collector,version=0.10.0.SNAPSHOT
> from org.apache.stanbol.ontologymanager.servicesapi (123)"
> 
> You can check that yourself via the Apache Felix Webconsole under
> http://localhost:8080/system/console/bundles

Under http://localhost:8080/system/console/bundles I can see bundles for 
enhancer.servicesapi and entityhub.servicesapi but nothing else (not 
ontologymanager.servicesapi).

> Also the "http://localhost:8090/system/console/depfinder"; (packages)
> tab is useful to check for packages that cause errors like that (in
> your case org.apache.stanbol.ontologymanager.servicesapi.collector)
> 
> Can you please validate this in your launcher. Especially if
> "org.apache.stanbol.ontologymanager.servicesapi" exports
> "org.apache.stanbol.ontologymanager.servicesapi.collector".

Under http://localhost:8080/system/console/depfinder
Packages/Classes "org.apache.stanbol.ontologymanager.servicesapi"
shows
org.apache.stanbol.ontologymanager.servicesapi  -       No exporting bundle(s) 
found    No maven information available

Regards
Jonathan

Jonathan Hunt
http://huntdesign.co.nz
+64 21 529 250
PO Box 1062, Christchurch 8140, New Zealand

Reply via email to