Discuss.FOLIO.org is no longer used. This is a static snapshot of the website as of February 14, 2023.

Error in Okapi tests “Address already in use”

3 May '22

Dear FOLIO community, I’m starting with FOLIO and I was trying to get a “hello world.” I tried to compile from sources in a test server (VM), but tests are failing with “Bind Address already in use”

INFO] Results:
[ERROR] Errors: 
[ERROR]   OkapiClientTest.test1 » Bind Address already in use
[ERROR]   OkapiClientTest.testBogus » TestTimedOut test timed out after 10 seconds
[ERROR]   OkapiClientTest.testClosed1 » Bind Address already in use

The compilation finish when I used the -DskipTests.

I’m using

  • openjdk-11-jdk:amd64
  • maven 3.6.0
  • Ubuntu 18.04.6 LTS

I put more information on this gist:


I’m following this document:


Thank you.