Rupert Westenthaler: > Based on the logs i can not see any reason why so much tests do fail: > > * most of the warnings and exceptions are expected (because a lot of > the tests do test illegal requests that are expected to result in > logged exceptions on the server) > * java.io.FilePermission on the FST modles of the new Lucene FST > engine. This might be an issue, but would only cause two tests to > fail. > * org.apache.solr.common.SolrException: Timeout waiting for all > directory ref counts to be released - gave up waiting on - But I think > this was only when closing down the server after the failed tests. > > Can you please > > (1) start the stable launcher (launchers/stable/target) and send me > the startup logs.
Doing that one cause of the problems immediately became clear: port 8080 was already used x-/ Interestingly there seems to be no entry in error.log indicating _such_ a problem. But the integration test still fails. Startup log after freeing the port is appended below. It contains an error "Unresolved constraint in bundle org.apache.stanbol.enhancer.engines.refactor". > * if the dbpedia referenced site is present > (http://localhost:8080/entityhub/site/dbpedia) > * if the dbpedia solr yard is present > (http://localhost:8080/solr/default/dbpedia/select?q=*:*) Yes, both exist running the stable launcher. I used the jar-file without the "original-" in front of the filename. (What is the difference between these two?) > (2) start the full launcher (launchers/full/target) and do not forget > to set "-XX:MaxPermSize=256M" and check if the two service endpoints > are available. Yes, both exist running the full launcher. I used the jar-file without the "original-" in front of the filename. > (3) If both endpoints are available for the full launcher please try > to run the integration tests against this server by going to the > integration-tests dir in a different cmd window and running: "mvn -o > test -Dtest.server.url=http://localhost:8080". Failed tests: testCRUD(org.apache.stanbol.ontologymanager.web.it.SessionTest): GET request to http://localhost:8080/ontonet/session: expecting status 200 (content: <html>(..) testSupportedRDFFormats(org.apache.stanbol.ontologymanager.web.it.SessionTest): GET request to http://localhost:8080/ontonet/session: expecting status 200 (content: <html>(..) testSupportedOWLFormats(org.apache.stanbol.ontologymanager.web.it.SessionTest): GET request to http://localhost:8080/ontonet/session: expecting status 200 (content: <html>(..) testCRUD(org.apache.stanbol.ontologymanager.web.it.ScopeTest): GET request to http://localhost:8080/ontonet/ontology: expecting status 200 (content: <html>(..) testSupportedRDFFormats(org.apache.stanbol.ontologymanager.web.it.ScopeTest): GET request to http://localhost:8080/ontonet/ontology: expecting status 200 (content: <html>(..) testActive(org.apache.stanbol.ontologymanager.web.it.ScopeTest): GET request to http://localhost:8080/ontonet/ontology: expecting status 200 (content: <html>(..) testSupportedOWLFormats(org.apache.stanbol.ontologymanager.web.it.ScopeTest): GET request to http://localhost:8080/ontonet/ontology: expecting status 200 (content: <html>(..) > (4) If this fails please retry the same by including the > "-no-security" option when starting the full launcher. Same failed tests. Cheers, Andreas $ java -Xmx1g -jar launchers/stable/target/org.apache.stanbol.launchers.stable-0.10.0-SNAPSHOT.jar 07.10.2013 09:55:06.957 *INFO * [main] Setting sling.home=/home/andreas/workspace/stanbol/stanbol (system property sling.home) 07.10.2013 09:55:06.979 *INFO * [main] Starting Apache Sling in /home/andreas/workspace/stanbol/stanbol 07.10.2013 09:55:07.207 *INFO * [main] Checking launcher JAR in folder /home/andreas/workspace/stanbol/stanbol 07.10.2013 09:55:07.438 *INFO * [main] Existing launcher is up to date, using it: 2.4.0 (org.apache.sling.launchpad.base.jar) 07.10.2013 09:55:07.443 *INFO * [main] Loading launcher class org.apache.sling.launchpad.base.app.MainDelegate from org.apache.sling.launchpad.base.jar 07.10.2013 09:55:07.648 *INFO * [main] Setting sling.launchpad=/home/andreas/workspace/stanbol/stanbol 07.10.2013 09:55:07.649 *INFO * [main] Starting launcher ... 07.10.2013 09:55:07.687 *INFO * [main] HTTP server port: 8080 07.10.2013 09:55:57.937 *INFO* [FelixStartLevel] org.mortbay.log Logging to org.apache.sling.commons.log.internal.slf4j.SlingLogger@5e1e6cde via org.mortbay.log.Slf4jLog INFO : org.apache.felix.scr (95): Version = 1.6.0 [INFO] Started jetty 6.1.x at port(s) HTTP:8080 [INFO] Detected extended HttpService. Filters enabled. [INFO] Http service whiteboard started [INFO] Detected extended HttpService. Filters enabled. [INFO] Started jetty 6.1.x at port(s) HTTP:8080 Okt 07, 2013 9:56:19 AM com.sun.jersey.server.impl.application.WebApplicationImpl _initiate INFO: Initiating Jersey application, version 'Jersey: 1.15 10/30/2012 02:40 PM' Okt 07, 2013 9:56:24 AM com.sun.jersey.server.impl.application.WebApplicationImpl _initiate INFO: Initiating Jersey application, version 'Jersey: 1.15 10/30/2012 02:40 PM' Okt 07, 2013 9:56:25 AM com.sun.jersey.server.impl.application.WebApplicationImpl _initiate INFO: Initiating Jersey application, version 'Jersey: 1.15 10/30/2012 02:40 PM' Okt 07, 2013 9:56:32 AM com.sun.jersey.server.impl.application.WebApplicationImpl _initiate INFO: Initiating Jersey application, version 'Jersey: 1.15 10/30/2012 02:40 PM' Okt 07, 2013 9:56:33 AM com.sun.jersey.server.impl.application.WebApplicationImpl _initiate INFO: Initiating Jersey application, version 'Jersey: 1.15 10/30/2012 02:40 PM' Okt 07, 2013 9:56:35 AM com.sun.jersey.server.impl.application.WebApplicationImpl _initiate INFO: Initiating Jersey application, version 'Jersey: 1.15 10/30/2012 02:40 PM' Okt 07, 2013 9:57:29 AM com.sun.jersey.server.impl.application.WebApplicationImpl _initiate INFO: Initiating Jersey application, version 'Jersey: 1.15 10/30/2012 02:40 PM' Okt 07, 2013 9:57:31 AM com.sun.jersey.server.impl.application.WebApplicationImpl _initiate INFO: Initiating Jersey application, version 'Jersey: 1.15 10/30/2012 02:40 PM' ERROR: Bundle org.apache.stanbol.enhancer.engines.refactor [14]: 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 [14]: Unable to resolve 14.0: missing requirement [14.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 [14]: Unable to resolve 14.0: missing requirement [14.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:724) 07.10.2013 09:57:38.876 *INFO * [main] Startup completed