axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tony Blair <hrh...@yahoo.com>
Subject Re: ConnectException from SOAP endpoint on apache
Date Sun, 22 Feb 2004 16:43:37 GMT
Hi there,
 
Last time I got such an exception was because my Tomcat was not running.
 
Cheers,
Tony.

Raghu M <r2004s@yahoo.co.in> wrote:
hi,
i executed the samples/userguide/example1/TestClient.java file as given in the user guide,
 and got the ConnectException.i included a printStackTrace() to get the full trace as appended
below.
please help me out.
regards,
Raghu M
 
 
C:\ragnew\downloads\axis-1_2alpha>java -cp .;%AXISCLASSPATH% samples.userguide.example1.TestClient
log4j:WARN No appenders could be found for logger (org.apache.axis.i18n.ProjectR
esourceBundle).
log4j:WARN Please initialize the log4j system properly.
java.net.ConnectException: Connection refused: connect
AxisFault
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
 faultSubcode:
 faultString: java.net.ConnectException: Connection refused: connect
 faultActor:
 faultNode:
 faultDetail:
        {http://xml.apache.org/axis/}stackTrace:java.net.ConnectException: Conne
ction 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.Socket.connect(Unknown Source)
        at java.net.Socket.connect(Unknown Source)
        at java.net.Socket.&lt;init&gt;(Unknown Source)
        at java.net.Socket.&lt;init&gt;(Unknown Source)
        at org.apache.axis.components.net.DefaultSocketFactory.create(DefaultSoc
ketFactory.java:129)
        at org.apache.axis.transport.http.HTTPSender.getSocket(HTTPSender.java:1
63)
        at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:120)
        at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrateg
y.java:71)
        at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:157)
        at org.apache.axis.SimpleChain.invoke(SimpleChain.java:122)
        at org.apache.axis.client.AxisClient.invoke(AxisClient.java:183)
        at org.apache.axis.client.Call.invokeEngine(Call.java:2682)
        at org.apache.axis.client.Call.invoke(Call.java:2665)
        at org.apache.axis.client.Call.invoke(Call.java:2355)
        at org.apache.axis.client.Call.invoke(Call.java:2278)
        at org.apache.axis.client.Call.invoke(Call.java:1772)
        at samples.userguide.example1.TestClient.main(TestClient.java:79)
java.net.ConnectException: Connection refused: connect
        at org.apache.axis.AxisFault.makeFault(AxisFault.java:137)
        at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:137)
        at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrateg
y.java:71)
        at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:157)
        at org.apache.axis.SimpleChain.invoke(SimpleChain.java:122)
        at org.apache.axis.client.AxisClient.invoke(AxisClient.java:183)
        at org.apache.axis.client.Call.invokeEngine(Call.java:2682)
        at org.apache.axis.client.Call.invoke(Call.java:2665)
        at org.apache.axis.client.Call.invoke(Call.java:2355)
        at org.apache.axis.client.Call.invoke(Call.java:2278)
        at org.apache.axis.client.Call.invoke(Call.java:1772)
        at samples.userguide.example1.TestClient.main(TestClient.java:79)
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.Socket.connect(Unknown Source)
        at java.net.Socket.connect(Unknown Source)
        at java.net.Socket.<init>(Unknown Source)
        at java.net.Socket.<init>(Unknown Source)
        at org.apache.axis.components.net.DefaultSocketFactory.create(DefaultSoc
ketFactory.java:129)
        at org.apache.axis.transport.http.HTTPSender.getSocket(HTTPSender.java:1
63)
        at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:120)
        ... 10 more
C:\ragnew\downloads\axis-1_2alpha>


Yahoo! India Insurance Special: Be informed on the best policies, services, tools and more.


---------------------------------
Do you Yahoo!?
Yahoo! Mail SpamGuard - Read only the mail you want.
Mime
View raw message