You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Gert Vanthienen (JIRA)" <ji...@apache.org> on 2010/07/23 15:53:51 UTC
[jira] Updated: (SM-1968) Use dynamic port for tests
[ https://issues.apache.org/activemq/browse/SM-1968?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gert Vanthienen updated SM-1968:
--------------------------------
Description:
When running the JUnit tests, we sometimes need a network port (e.g. to run an ActiveMQ broker) to be available. We should either avoid that we need the port or else dynamically assign a port to ensure things work fine (especially on CI build boxes when running multiple builds).
{noformat}
org.springframework.beans.factory.BeanCreationException: Error creating bean with name
'org.apache.activemq.xbean.XBeanBrokerService#0' defined in class path resource [org/apache/servicemix/jbi/nmr/flow/jca/broker.xml]:
Invocation of init method failed; nested exception is java.io.IOException: Failed to bind to server socket: tcp://localhost:61216 due to:
java.net.BindException: The socket name is already in use.
{noformat}
was:
When running the JUnit tests, we sometimes need a network port (e.g. to run an ActiveMQ broker) to be available. We should either avoid that we need the port or else dynamically assign a port to ensure things work fine (especially on CI build boxes when running multiple builds).
{noformat}
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.apache.activemq.xbean.XBeanBrokerService#0' defined in class path resource [org/apache/servicemix/jbi/nmr/flow/jca/broker.xml]: Invocation of init method failed; nested exception is java.io.IOException: Failed to bind to server socket: tcp://localhost:61216 due to: java.net.BindException: The socket name is already in use.
{noformat}
> Use dynamic port for tests
> --------------------------
>
> Key: SM-1968
> URL: https://issues.apache.org/activemq/browse/SM-1968
> Project: ServiceMix
> Issue Type: Test
> Components: servicemix-core
> Affects Versions: 3.3.2
> Reporter: Gert Vanthienen
> Assignee: Gert Vanthienen
> Fix For: 3.3.3
>
>
> When running the JUnit tests, we sometimes need a network port (e.g. to run an ActiveMQ broker) to be available. We should either avoid that we need the port or else dynamically assign a port to ensure things work fine (especially on CI build boxes when running multiple builds).
> {noformat}
> org.springframework.beans.factory.BeanCreationException: Error creating bean with name
> 'org.apache.activemq.xbean.XBeanBrokerService#0' defined in class path resource [org/apache/servicemix/jbi/nmr/flow/jca/broker.xml]:
> Invocation of init method failed; nested exception is java.io.IOException: Failed to bind to server socket: tcp://localhost:61216 due to:
> java.net.BindException: The socket name is already in use.
> {noformat}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.