Yeah you just need to start that too :).

On Sat, May 22, 2010 at 9:20 PM, Pavel Grinfeld <[email protected]>wrote:

>  Uh, never mind, just figured out that it's a local service. I initially
> thought that there was a server on the internet.
>
>
> On 5/22/2010 11:42 AM, Pavel Grinfeld wrote:
>
> Thanks! - could the Axis insiders get it back up so beginners like me can
> interact with the tutorial?
>
>
> On 5/22/2010 11:24 AM, Sanjiva Weerawarana wrote:
>
> It looks like the service you're trying to connect to is not up? That's
> what the 3rd line is saying ... and the first 2 lines are safely ignored.
>
>  Sanjiva.
>
> On Sat, May 22, 2010 at 8:35 PM, Pavel Grinfeld 
> <[email protected]>wrote:
>
>>  Hi,
>>
>> When I run the Client in the tutorial, I get a whole slew of errors.
>> What's going on here?
>> I have a project that I need to accomplish over the weekend and I can't
>> seem to get in the game!
>>
>> Additionally:
>> Client.java code as it appears on the web has errors: doInOnly vs
>> DoInOnly.
>> When one runs "ant jar.client" a test directory is not created.
>>
>> log4j:WARN No appenders could be found for logger
>> (org.apache.axis2.description.AxisService).
>> log4j:WARN Please initialize the log4j system properly.
>> org.apache.axis2.AxisFault: Connection refused: connect
>>     at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430)
>>     at
>> org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:203)
>>     at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:76)
>>
>>     at
>> org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:400)
>>
>>     at
>> org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:225)
>>
>>     at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:435)
>>     at
>> org.apache.axis2.description.OutOnlyAxisOperationClient.executeImpl(OutOnlyAxisOperation.java:272)
>>
>>     at
>> org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
>>     at
>> org.apache.axis2.axis2userguide.Axis2UserGuideServiceStub.doInOnly(Axis2UserGuideServiceStub.java:209)
>>
>>     at org.apache.axis2.axis2userguide.Client.doInOnly(Client.java:36)
>>     at org.apache.axis2.axis2userguide.Client.main(Client.java:18)
>> Caused by: java.net.ConnectException: Connection refused: connect
>>     at java.net.PlainSocketImpl.socketConnect(Native Method)
>>     at java.net.PlainSocketImpl.doConnect(Unknown Source)
>>     at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
>>     at java.net.PlainSocketImpl.connect(Unknown Source)
>>     at java.net.SocksSocketImpl.connect(Unknown Source)
>>     at java.net.Socket.connect(Unknown Source)
>>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>>     at java.lang.reflect.Method.invoke(Unknown Source)
>>     at
>> org.apache.commons.httpclient.protocol.ReflectionSocketFactory.createSocket(ReflectionSocketFactory.java:140)
>>
>>     at
>> org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:125)
>>
>>     at
>> org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707)
>>     at
>> org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1361)
>>
>>     at
>> org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387)
>>
>>     at
>> org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
>>
>>     at
>> org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
>>     at
>> org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346)
>>     at
>> org.apache.axis2.transport.http.AbstractHTTPSender.executeMethod(AbstractHTTPSender.java:542)
>>
>>     at
>> org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:199)
>>     ... 9 more
>>
>>
>>
>>
>> org.apache.axis2.AxisFault: Connection refused: connect
>>     at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430)
>>     at
>> org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:203)
>>     at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:76)
>>
>>     at
>> org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:400)
>>
>>     at
>> org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:225)
>>
>>     at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:435)
>>     at
>> org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:402)
>>
>>     at
>> org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)
>>
>>     at
>> org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
>>     at
>> org.apache.axis2.axis2userguide.Axis2UserGuideServiceStub.twoWayOneParameterEcho(Axis2UserGuideServiceStub.java:269)
>>
>>     at
>> org.apache.axis2.axis2userguide.Client.twoWayOneParameterEcho(Client.java:52)
>>
>>     at org.apache.axis2.axis2userguide.Client.main(Client.java:19)
>> Caused by: java.net.ConnectException: Connection refused: connect
>>     at java.net.PlainSocketImpl.socketConnect(Native Method)
>>     at java.net.PlainSocketImpl.doConnect(Unknown Source)
>>     at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
>>     at java.net.PlainSocketImpl.connect(Unknown Source)
>>     at java.net.SocksSocketImpl.connect(Unknown Source)
>>     at java.net.Socket.connect(Unknown Source)
>>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>>     at java.lang.reflect.Method.invoke(Unknown Source)
>>     at
>> org.apache.commons.httpclient.protocol.ReflectionSocketFactory.createSocket(ReflectionSocketFactory.java:140)
>>
>>     at
>> org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:125)
>>
>>     at
>> org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707)
>>     at
>> org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1361)
>>
>>     at
>> org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387)
>>
>>     at
>> org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
>>
>>     at
>> org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
>>     at
>> org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346)
>>     at
>> org.apache.axis2.transport.http.AbstractHTTPSender.executeMethod(AbstractHTTPSender.java:542)
>>
>>     at
>> org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:199)
>>     ... 10 more
>>
>>
>>
>>
>> org.apache.axis2.AxisFault: Connection refused: connect
>>     at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430)
>>     at
>> org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:203)
>>     at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:76)
>>
>>     at
>> org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:400)
>>
>>     at
>> org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:225)
>>
>>     at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:435)
>>     at
>> org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:402)
>>
>>     at
>> org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)
>>
>>     at
>> org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
>>     at
>> org.apache.axis2.axis2userguide.Axis2UserGuideServiceStub.noParameters(Axis2UserGuideServiceStub.java:388)
>>
>>     at org.apache.axis2.axis2userguide.Client.noParameters(Client.java:66)
>>
>>     at org.apache.axis2.axis2userguide.Client.main(Client.java:20)
>> Caused by: java.net.ConnectException: Connection refused: connect
>>     at java.net.PlainSocketImpl.socketConnect(Native Method)
>>     at java.net.PlainSocketImpl.doConnect(Unknown Source)
>>     at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
>>     at java.net.PlainSocketImpl.connect(Unknown Source)
>>     at java.net.SocksSocketImpl.connect(Unknown Source)
>>     at java.net.Socket.connect(Unknown Source)
>>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>>     at java.lang.reflect.Method.invoke(Unknown Source)
>>     at
>> org.apache.commons.httpclient.protocol.ReflectionSocketFactory.createSocket(ReflectionSocketFactory.java:140)
>>
>>     at
>> org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:125)
>>
>>     at
>> org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707)
>>     at
>> org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1361)
>>
>>     at
>> org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387)
>>
>>     at
>> org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
>>
>>     at
>> org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
>>     at
>> org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346)
>>     at
>> org.apache.axis2.transport.http.AbstractHTTPSender.executeMethod(AbstractHTTPSender.java:542)
>>
>>     at
>> org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:199)
>>     ... 10 more
>>
>>
>>
>>
>> org.apache.axis2.AxisFault: Connection refused: connect
>>     at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430)
>>     at
>> org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:203)
>>     at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:76)
>>
>>     at
>> org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:400)
>>
>>     at
>> org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:225)
>>
>>     at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:435)
>>     at
>> org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:402)
>>
>>     at
>> org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)
>>
>>     at
>> org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
>>     at
>> org.apache.axis2.axis2userguide.Axis2UserGuideServiceStub.multipleParametersAddItem(Axis2UserGuideServiceStub.java:507)
>>
>>     at
>> org.apache.axis2.axis2userguide.Client.multipleParameters(Client.java:85)
>>     at org.apache.axis2.axis2userguide.Client.main(Client.java:21)
>> Caused by: java.net.ConnectException: Connection refused: connect
>>     at java.net.PlainSocketImpl.socketConnect(Native Method)
>>     at java.net.PlainSocketImpl.doConnect(Unknown Source)
>>     at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
>>     at java.net.PlainSocketImpl.connect(Unknown Source)
>>     at java.net.SocksSocketImpl.connect(Unknown Source)
>>     at java.net.Socket.connect(Unknown Source)
>>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>>     at java.lang.reflect.Method.invoke(Unknown Source)
>>     at
>> org.apache.commons.httpclient.protocol.ReflectionSocketFactory.createSocket(ReflectionSocketFactory.java:140)
>>
>>     at
>> org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:125)
>>
>>     at
>> org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707)
>>     at
>> org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1361)
>>
>>     at
>> org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387)
>>
>>     at
>> org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
>>
>>     at
>> org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
>>     at
>> org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346)
>>     at
>> org.apache.axis2.transport.http.AbstractHTTPSender.executeMethod(AbstractHTTPSender.java:542)
>>
>>     at
>> org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:199)
>>     ... 10 more
>>
>>
>>
>>
>>
>>
>
>
> --
> Sanjiva Weerawarana, Ph.D.
> Founder, Director & Chief Scientist; Lanka Software Foundation;
> http://www.opensource.lk/
> Founder, Chairman & CEO; WSO2, Inc.; http://www.wso2.com/
> Member; Apache Software Foundation; http://www.apache.org/
> Director; Sahana Software Foundation; http://www.sahanafoundation.org/
> Visiting Lecturer; University of Moratuwa; http://www.cse.mrt.ac.lk/
>
> Blog: http://sanjiva.weerawarana.org/
>
>


-- 
Sanjiva Weerawarana, Ph.D.
Founder, Director & Chief Scientist; Lanka Software Foundation;
http://www.opensource.lk/
Founder, Chairman & CEO; WSO2, Inc.; http://www.wso2.com/
Member; Apache Software Foundation; http://www.apache.org/
Director; Sahana Software Foundation; http://www.sahanafoundation.org/
Visiting Lecturer; University of Moratuwa; http://www.cse.mrt.ac.lk/

Blog: http://sanjiva.weerawarana.org/

Reply via email to