Hi David, Do you get this error always or is this something intermittent? I have noticed that 'sometimes' JVM does not release the port as soon as the test completes.
In most of the cases one test starts the server, perform the tests & stops it. Similar cycle happen in second test too. Since the second test also starts the server using the same port, if the JVM is still having a hook to the port, you get the bind exception. I do not know if others are experiencing the same scenario. But in my machine it happens sometimes & might be the case for you too. /sumedha On 8/19/07, dd du <[EMAIL PROTECTED]> wrote: > > I checked I did not have this port open, because I did not start Tomcat, > and I used netstat command and listed all the ports opened, 8080 not in the > list. Any other possible reasons? > > Thanks > > David > > > On 8/17/07, Saminda Abeyruwan <[EMAIL PROTECTED]> wrote: > > > > It seems like Jaxws tests are running on port 8080. Your system might > > have opened the port 8080 at this time; maybe from Tomcat. > > > > > > On 8/17/07, dd du < [EMAIL PROTECTED]> wrote: > > > > > > Hi, all, > > > > > > I am using maven2.0.7 and trying to build module jaxws of axis2-1.2and > > > 1.3 source distribution downloaded from > > > http://ws.apache.org/axis2/download/1_2/download.cgi > > > > > > but I got a couple of errors as follows and no jar file is generated: > > > > > > Results : > > > > > > Failed tests: > > > testSyncPayloadMode_badHostName( > > > org.apache.axis2.jaxws.dispatch.StringDispatch) > > > testAsyncCallbackMessageMode_badHostName( > > > org.apache.axis2.jaxws.dispatch.StringDispatch) > > > testAsyncPollingPayloadMode_badHostName( > > > org.apache.axis2.jaxws.dispatch.StringDispatch) > > > testFaultyWebService_badEndpoint( > > > org.apache.axis2.jaxws.sample.FaultyWebServiceTests) > > > testFaultyWebService_badEndpoint_oneWay( > > > org.apache.axis2.jaxws.sample.FaultyWebServiceTests ) > > > > > > Tests in error: > > > testEcho(org.apache.axis2.jaxws.sample.DocLitBareMinTests) > > > > > > Tests run: 351, Failures: 5, Errors: 1, Skipped: 0 > > > the first error is the following error, and also some BindException: > > > Address already in use: JVM_Bind, not sure which port is in use, I tried > > > the > > > 1.3 release and on different machines, it has the same problems, any > > > ideas? > > > > > > Thanks > > > > > > David > > > > > > > > > RepositoryListener findServicesInDirectory file.getName== > > > [XPayloadStringProvider] > > > java.util.concurrent.ExecutionException: > > > javax.xml.ws.WebServiceException: java.net.ConnectException: > > > Connection timed out: connect > > > at org.apache.axis2.jaxws.client.async.AsyncResponse.processResponse( > > > AsyncResponse.java:188) > > > at org.apache.axis2.jaxws.client.async.AsyncResponse.get( > > > AsyncResponse.java:138) > > > at org.apache.axis2.jaxws.dispatch.AsyncCallback.handleResponse ( > > > AsyncCallback.java:15) > > > at org.apache.axis2.jaxws.client.async.CallbackFutureTask.call( > > > CallbackFuture.java:226) > > > at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269) > > > at java.util.concurrent.FutureTask.run (FutureTask.java:123) > > > at java.util.concurrent.ThreadPoolExecutor$Worker.runTask( > > > ThreadPoolExecutor.java:650) > > > at java.util.concurrent.ThreadPoolExecutor$Worker.run( > > > ThreadPoolExecutor.java:675) > > > at java.lang.Thread.run (Thread.java:595) > > > Caused by: javax.xml.ws.WebServiceException: java.net.ConnectException: > > > Connection timed out: connect > > > at org.apache.axis2.jaxws.ExceptionFactory.createWebServiceException( > > > ExceptionFactory.java:172) > > > at org.apache.axis2.jaxws.ExceptionFactory.makeWebServiceException( > > > ExceptionFactory.java:67) > > > at org.apache.axis2.jaxws.ExceptionFactory.makeWebServiceException( > > > ExceptionFactory.java:125) > > > at > > > org.apache.axis2.jaxws.client.async.AsyncResponse.processFaultResponse( > > > AsyncResponse.java:257) > > > at org.apache.axis2.jaxws.client.async.AsyncResponse.processResponse( > > > AsyncResponse.java:186) > > > ... 8 more > > > Caused by: java.net.ConnectException: Connection timed out: connect > > > at java.net.PlainSocketImpl.socketConnect (Native Method) > > > at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) > > > at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java > > > :195) > > > at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) > > > at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) > > > at java.net.Socket.connect(Socket.java:519) > > > at sun.reflect.GeneratedMethodAccessor12.invoke(Unknown Source) > > > at sun.reflect.DelegatingMethodAccessorImpl.invoke ( > > > DelegatingMethodAccessorImpl.java:25) > > > at java.lang.reflect.Method.invoke(Method.java:585) > > > at > > > org.apache.commons.httpclient.protocol.ReflectionSocketFactory.createSocket > > > (ReflectionSocketFactory.java:139) > > > at > > > org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket( > > > DefaultProtocolSocketFactory.java:124) > > > at org.apache.commons.httpclient.HttpConnection.open( > > > HttpConnection.java:706) > > > at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry( > > > HttpMethodDirector.java:386) > > > at org.apache.commons.httpclient.HttpMethodDirector.executeMethod( > > > HttpMethodDirector.java:170) > > > at org.apache.commons.httpclient.HttpClient.executeMethod( > > > HttpClient.java:396) > > > at org.apache.commons.httpclient.HttpClient.executeMethod ( > > > HttpClient.java:346) > > > at org.apache.axis2.transport.http.AbstractHTTPSender.executeMethod( > > > AbstractHTTPSender.java:558) > > > at org.apache.axis2.transport.http.HTTPSender.sendViaPost( > > > HTTPSender.java:176) > > > at org.apache.axis2.transport.http.HTTPSender.send (HTTPSender.java > > > :73) > > > at > > > org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons > > > (CommonsHTTPTransportSender.java:305) > > > at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke( > > > CommonsHTTPTransportSender.java:201) > > > at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:452) > > > at org.apache.axis2.description.OutInAxisOperationClient.send( > > > OutInAxisOperation.java:330) > > > at > > > org.apache.axis2.description.OutInAxisOperationClient$NonBlockingInvocationWorker.run( > > > OutInAxisOperation.java:405) > > > at > > > edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask > > > (ThreadPoolExecutor.java:665) > > > at > > > edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run( > > > ThreadPoolExecutor.java:690) > > > ... 1 more > > > FileSystemConfigurator getAxisConfiguration... > > > FileSystemConfigurator getAxisConfiguration...repoLocation==[null] > > > FileSystemConfigurator getAxisConfiguration... > > > FileSystemConfigurator getAxisConfiguration...repoLocation==[null] > > > AxisConfiguration addService ...service.getName==[ > > > EchoService.EchoServiceSOAP11port0] > > > Repository checkServices... > > > > > > > > > > > -- > > Saminda Abeyruwan > > > > Software Engineer > > WSO2 Inc. - www.wso2.org > > >
