Category Archives: apache-stanbol

HttpHostConnectException let Apache Stanbol Integration Tests fail

I tried to install the Stanbol version from branch "release-0.12" from github.

On my system I have:

  • Apache Maven 3.0.5
  • Maven home: /usr/share/maven
  • Java version: 1.7.0_55, vendor: Oracle Corporation
  • Java home: /usr/lib/jvm/java-7-openjdk-i386/jre

When I start the command:

mvn install

I get the following error for the Apache Stanbol Integration Tests => error-log

The first lines of the error are:

06.08.2014 15:47:02.025 *INFO * [main] Setting org.osgi.service.http.port=8765
06.08.2014 15:47:02.026 *INFO * [main] Starting launcher ...
06.08.2014 15:47:02.030 *INFO * [main] HTTP server port: 8765
15:47:03,614  INFO StanbolTestBase:163 - Got HttpHostConnectException at
  http://localhost:8765/ - will retry

When I skiped the test I also got no response from the server... I already tried it with java-version 1.6, but there I got the error:

[WARNING] Rule 0: org.apache.maven.plugins.enforcer.RequireJavaVersion failed
  with message:
Java 7 or higher is required to compile this module

Has someone an idea what I made wrong (does it need some further software requirements)? Or how can I get the server running correctly?