powertac/powertac-server — Issue #434: Server test fails, unable to bind socket
Author: jecollins
Created: 2011-11-19 00:22:54+00:00
State: open
Labels: Bug, Server environment

Probably this is happening when Jenkins runs multiple tests in parallel, but these sockets should probably not be bound in unit tests anyway. Here's the relevant part of the error:

Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'broker' defined in URL [file:src/test/resources/development.xml]: Invocation of init method failed; nested exception is java.io.IOException: Failed to bind to server socket: tcp://localhost:61616 due to: java.net.BindException: Address already in use