Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Java-SCA-1.3
-
None
-
None
-
Windows XP SP2 IBM JDK5
Description
run:
[java] Retrieving exchange rate...
[java] Exchange rate: USD 1.0=EUR 0.64231
[java] Loading account data...
[java] Getting stock quote...
[java] Exception in thread "main" org.osoa.sca.ServiceRuntimeException: org
.osoa.sca.ServiceRuntimeException: org.apache.axis2.AxisFault: Connection refuse
d: connect
[java] at bigbank.AccountServiceImpl.getTotalValue(AccountServiceImpl.j
ava:80)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
sorImpl.java:64)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
hodAccessorImpl.java:43)
[java] at java.lang.reflect.Method.invoke(Method.java:615)
[java] at org.apache.tuscany.sca.implementation.java.invocation.JavaImp
lementationInvoker.invoke(JavaImplementationInvoker.java:132)
[java] at org.apache.tuscany.sca.binding.sca.impl.SCABindingInvoker.inv
oke(SCABindingInvoker.java:61)
[java] at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.i
nvoke(JDKInvocationHandler.java:287)
[java] at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.i
nvoke(JDKInvocationHandler.java:154)
[java] at $Proxy4.getTotalValue(Unknown Source)
[java] at bigbank.BigBankClient.main(BigBankClient.java:33)
[java] Caused by: org.osoa.sca.ServiceRuntimeException: org.apache.axis2.Ax
isFault: Connection refused: connect
[java] at org.apache.tuscany.sca.core.databinding.wire.DataTransformati
onInterceptor.invoke(DataTransformationInterceptor.java:136)
[java] at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.i
nvoke(JDKInvocationHandler.java:287)
[java] at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.i
nvoke(JDKInvocationHandler.java:154)
[java] at $Proxy7.GetQuote(Unknown Source)
[java] at bigbank.AccountServiceImpl.getTotalValue(AccountServiceImpl.j
ava:68)
[java] ... 10 more
[java] Caused by: org.apache.axis2.AxisFault: Connection refused: connect
[java] at org.apache.axis2.AxisFault.makeFault(AxisFault.java:417)
[java] at org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSe
nder.java:195)
[java] at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.ja
va:77)
[java] at org.apache.axis2.transport.http.CommonsHTTPTransportSender.wr
iteMessageWithCommons(CommonsHTTPTransportSender.java:327)
[java] at org.apache.axis2.transport.http.CommonsHTTPTransportSender.in
voke(CommonsHTTPTransportSender.java:206)
[java] at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:396)
[java] at org.apache.axis2.description.OutInAxisOperationClient.send(Ou
tInAxisOperation.java:374)
[java] at org.apache.axis2.description.OutInAxisOperationClient.execute
Impl(OutInAxisOperation.java:211)
[java] at org.apache.axis2.client.OperationClient.execute(OperationClie
nt.java:163)
[java] at org.apache.tuscany.sca.binding.ws.axis2.Axis2BindingInvoker$1
.run(Axis2BindingInvoker.java:128)
[java] at java.security.AccessController.doPrivileged(AccessController.
java:242)
[java] at org.apache.tuscany.sca.binding.ws.axis2.Axis2BindingInvoker.i
nvokeTarget(Axis2BindingInvoker.java:126)
[java] at org.apache.tuscany.sca.binding.ws.axis2.Axis2BindingInvoker.i
nvoke(Axis2BindingInvoker.java:94)
[java] at org.apache.tuscany.sca.core.databinding.wire.DataTransformati
onInterceptor.invoke(DataTransformationInterceptor.java:78)
[java] ... 14 more
[java] Caused by: java.net.ConnectException: Connection refused: connect
[java] at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:372)
[java] at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.jav
a:233)
[java] at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:220)
[java] at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:385)
[java] at java.net.Socket.connect(Socket.java:541)
[java] at java.net.Socket.connect(Socket.java:491)
[java] at java.net.Socket.<init>(Socket.java:399)
[java] at java.net.Socket.<init>(Socket.java:268)
[java] at org.apache.commons.httpclient.protocol.DefaultProtocolSocketF
actory.createSocket(DefaultProtocolSocketFactory.java:79)
[java] at org.apache.commons.httpclient.protocol.DefaultProtocolSocketF
actory.createSocket(DefaultProtocolSocketFactory.java:121)
[java] at org.apache.commons.httpclient.HttpConnection.open(HttpConnect
ion.java:706)
[java] at org.apache.commons.httpclient.MultiThreadedHttpConnectionMana
ger$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1321)
[java] at org.apache.commons.httpclient.HttpMethodDirector.executeWithR
etry(HttpMethodDirector.java:386)
[java] at org.apache.commons.httpclient.HttpMethodDirector.executeMetho
d(HttpMethodDirector.java:170)
[java] at org.apache.commons.httpclient.HttpClient.executeMethod(HttpCl
ient.java:396)
[java] at org.apache.commons.httpclient.HttpClient.executeMethod(HttpCl
ient.java:346)
[java] at org.apache.axis2.transport.http.AbstractHTTPSender.executeMet
hod(AbstractHTTPSender.java:520)
[java] at org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSe
nder.java:191)
[java] ... 26 more
[java] Java Result: 1