You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by ant elder <an...@gmail.com> on 2007/04/18 09:34:13 UTC

Intermittent failures in tests using the HTTP services

I get intermittent build failures when running the build in the testcases
which use the HTTP service, the error is pasted in below, is anyone else
seeing this?

Its really easy (in my environment) to recreate, change into
sca\modules\binding-ws-axis2 and run mvn, around 50% of the time one of the
testcases will fail.

This looks just like the problem some of us were seeing with testcases in
the integration branch, that did seem to be a Windows only problem, but I'm
not sure we ever got to the bottom of it.

   ...ant

Caused by: java.net.BindException: Address already in use: bind
        at sun.nio.ch.Net.bind(Native Method)
        at sun.nio.ch.ServerSocketChannelImpl.bind(
ServerSocketChannelImpl.java:119)
        at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59)
        at org.mortbay.jetty.nio.SelectChannelConnector.open(
SelectChannelConnector.java:198)
        at org.mortbay.jetty.AbstractConnector.doStart(
AbstractConnector.java:251)
        at org.mortbay.jetty.nio.SelectChannelConnector.doStart(
SelectChannelConnector.java:233)
        at org.mortbay.component.AbstractLifeCycle.start(
AbstractLifeCycle.java:40)
        at org.mortbay.jetty.Server.doStart(Server.java:221)
        at org.mortbay.component.AbstractLifeCycle.start(
AbstractLifeCycle.java:40)
        at org.apache.tuscany.http.jetty.JettyServer.addServletMapping(
JettyServer.java:175)

Re: Intermittent failures in tests using the HTTP services

Posted by Simon Laws <si...@googlemail.com>.
On 4/18/07, ant elder <an...@gmail.com> wrote:
>
> I get intermittent build failures when running the build in the testcases
> which use the HTTP service, the error is pasted in below, is anyone else
> seeing this?
>
> Its really easy (in my environment) to recreate, change into
> sca\modules\binding-ws-axis2 and run mvn, around 50% of the time one of
> the
> testcases will fail.
>
> This looks just like the problem some of us were seeing with testcases in
> the integration branch, that did seem to be a Windows only problem, but
> I'm
> not sure we ever got to the bottom of it.
>
>    ...ant
>
> Caused by: java.net.BindException: Address already in use: bind
>         at sun.nio.ch.Net.bind(Native Method)
>         at sun.nio.ch.ServerSocketChannelImpl.bind(
> ServerSocketChannelImpl.java:119)
>         at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java
> :59)
>         at org.mortbay.jetty.nio.SelectChannelConnector.open(
> SelectChannelConnector.java:198)
>         at org.mortbay.jetty.AbstractConnector.doStart(
> AbstractConnector.java:251)
>         at org.mortbay.jetty.nio.SelectChannelConnector.doStart(
> SelectChannelConnector.java:233)
>         at org.mortbay.component.AbstractLifeCycle.start(
> AbstractLifeCycle.java:40)
>         at org.mortbay.jetty.Server.doStart(Server.java:221)
>         at org.mortbay.component.AbstractLifeCycle.start(
> AbstractLifeCycle.java:40)
>         at org.apache.tuscany.http.jetty.JettyServer.addServletMapping(
> JettyServer.java:175)
>
Ant

I'm on windows but not seeing this at the moment. The only time I have seen
the message is when I've had another app open on 8080 by accident (A VOIP
app as it happens with took me by surprise a little). I'll keep an eye out
and report back here if I start to see it.

Simon