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:51:52 UTC

[jira] Created: (SM-1968) Use dynamic port for tests

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.


[jira] Updated: (SM-1968) Use dynamic port for tests

Posted by "Gert Vanthienen (JIRA)" <ji...@apache.org>.
     [ 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.


[jira] Resolved: (SM-1968) Use dynamic port for tests

Posted by "Gert Vanthienen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-1968?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gert Vanthienen resolved SM-1968.
---------------------------------

    Resolution: Fixed

> 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.


[jira] Commented: (SM-1968) Use dynamic port for tests

Posted by "Gert Vanthienen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SM-1968?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=60875#action_60875 ] 

Gert Vanthienen commented on SM-1968:
-------------------------------------

Fixed in http://svn.apache.org/viewvc?view=revision&revision=967263
and http://svn.apache.org/viewvc?view=revision&revision=967116

> 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.