axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sugan Chagarlamudi <schagarlam...@pdxinc.com>
Subject Re: java.net.ConnectException: Connection refused
Date Mon, 12 May 2003 22:38:31 GMT
Duane,

it turns out org.apache.axis.utils.Options class is not able to parse
url string then, it will set default URL to localhost. it looks like you
have to call the Options.setDefaultUrl() method in order for it to parse
correct!!!!!?????

thanks
Sugan
 
On Mon, 2003-05-12 at 13:49, Duane Gran wrote:
> Sugan,
> 
> Your problem is most likely not any fault of Axis.  I would try a  
> "telnet ipaddress 8080" command from the machine that is giving you the  
> error.  If it sort of hangs, or you get an immediate connection failure  
> this implies some sort of network issue.  It might be a personal  
> firewall blocking access, for example.  I hope this helps find the  
> source of the problem.
> 
> Duane
> 
> On Monday, May 12, 2003, at 02:40  PM, Sugan Chagarlamudi wrote:
> 
> > Hi,
> > I am getting java.net.ConnectException: Connection refused while
> > accessing my web service from a different machine.
> >
> > I am able to see all the Services that are deployed on my box from the
> > oother box, using the url
> > http://ipaddress:8080/axis/servlet/AxisServlet. However, I am not able
> > oto use my services using a client.
> >
> > The client works fine from my machine.
> >
> > is there any authetication info I need to turn On or Off?
> > I would reaaly appreciate any help.
> >
> > here is the full Exception
> > - Exception thrown during add!
> > AxisFault
> >  faultCode:
> > {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
> >  faultSubcode:
> >  faultString: java.net.ConnectException: Connection refused
> >  faultActor:
> >  faultNode:
> >  faultDetail:
> >         {http://xml.apache.org/axis/}stackTrace:
> > java.net.ConnectException: Connection refused
> >         at java.net.PlainSocketImpl.socketConnect(Native Method)
> >         at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:345)
> >         at
> > java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:157)
> >         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:144)
> >         at java.net.Socket.&lt;init&gt;(Socket.java:294)
> >         at java.net.Socket.&lt;init&gt;(Socket.java:121)
> >         at
> > org.apache.axis.components.net.DefaultSocketFactory.create(DefaultSocke 
> > tFactory.java:129)
> >         at
> > org.apache.axis.transport.http.HTTPSender.getSocket(HTTPSender.java:157 
> > )
> >         at
> > org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:114)
> >         at
> > org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy. 
> > java:71)
> >         at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:150)
> >         at org.apache.axis.SimpleChain.invoke(SimpleChain.java:120)
> >         at  
> > org.apache.axis.client.AxisClient.invoke(AxisClient.java:180)
> >         at org.apache.axis.client.Call.invokeEngine(Call.java:2526)
> >         at org.apache.axis.client.Call.invoke(Call.java:2515)
> >         at org.apache.axis.client.Call.invoke(Call.java:2210)
> >         at org.apache.axis.client.Call.invoke(Call.java:2133)
> >         at org.apache.axis.client.Call.invoke(Call.java:1656)
> >         at com.rx.ns.ws.client.SimpleClient.add(SimpleClient.java:130)
> >         at com.rx.ns.ws.client.SimpleClient.main(SimpleClient.java:65)
> > -- 
> > Sugan Chagarlamudi <schagarlamudi@pdxinc.com>
> > PDX, Inc.
-- 
Sugan Chagarlamudi <schagarlamudi@pdxinc.com>
PDX, Inc.


Mime
View raw message