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 (JIRA)" <tu...@ws.apache.org> on 2007/04/23 12:57:15 UTC

[jira] Commented: (TUSCANY-1218) java.net.ConnectException: Connection refused: connect when building binding-ws-axis2

    [ https://issues.apache.org/jira/browse/TUSCANY-1218?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12490897 ] 

ant elder commented on TUSCANY-1218:
------------------------------------

Thanks for the patch, I've committed it now and it looks like it fixes the Connection refused problems I've been seeing.

> java.net.ConnectException: Connection refused: connect when building binding-ws-axis2
> -------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-1218
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1218
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Axis Binding
>    Affects Versions: Java-SCA-Next
>         Environment: Windows XP
>            Reporter: Simon Nash
>         Assigned To: ant elder
>             Fix For: Java-SCA-Next
>
>         Attachments: patch-1218
>
>
> When building java/sca from the trunk, the following error occurs:
> -------------------------------------------------------
>  T E S T S
> -------------------------------------------------------
> Running org.apache.tuscany.binding.axis2.itests.HelloWorldTestCase
> log4j:WARN No appenders could be found for logger (org.apache.axiom.om.util.StAXUtils).
> log4j:WARN Please initialize the log4j system properly.
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.52 sec
> Running org.apache.tuscany.binding.axis2.Axis2ServiceTestCase
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.01 sec
> Running org.apache.tuscany.binding.axis2.itests.endpoints.WSDLRelativeURITestCase
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.975 sec
> Running org.apache.tuscany.binding.axis2.itests.HelloWorldOMTestCase
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 4.307 sec <<< FAILURE!
> testCalculator(org.apache.tuscany.binding.axis2.itests.HelloWorldOMTestCase)  Time elapsed: 4.247 sec  <<< ERROR!
> java.lang.reflect.UndeclaredThrowableException
> 	at $Proxy8.getGreetings(Unknown Source)
> 	at org.apache.tuscany.binding.axis2.itests.HelloWorldOMComponent.getGreetings(HelloWorldOMComponent.java:31)
> 	at org.apache.tuscany.binding.axis2.itests.HelloWorldOMTestCase.testCalculator(HelloWorldOMTestCase.java:43)
> Caused by: org.apache.axis2.AxisFault: Connection refused: connect; nested exception is: 
> 	java.net.ConnectException: Connection refused: connect; nested exception is: 
> 	org.apache.axis2.AxisFault: Connection refused: connect; nested exception is: 
> 	java.net.ConnectException: Connection refused: connect
> 	at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:227)
> 	at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:674)
> 	at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:237)
> 	at org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:202)
> 	at org.apache.tuscany.binding.axis2.Axis2TargetInvoker.invokeTarget(Axis2TargetInvoker.java:77)
> 	at org.apache.tuscany.spi.extension.TargetInvokerExtension.invoke(TargetInvokerExtension.java:52)
> 	at org.apache.tuscany.core.wire.InvokerInterceptor.invoke(InvokerInterceptor.java:45)
> 	at org.apache.tuscany.spi.wire.AbstractInvocationHandler.invoke(AbstractInvocationHandler.java:91)
> 	at org.apache.tuscany.implementation.java.proxy.JDKInvocationHandler.invoke(JDKInvocationHandler.java:150)
> 	... 29 more
> On my machine, this occurs every time when building from the root.  It does not occur if I only build the binding-ws-axis2 module.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org