Hi,
I have a question regarding Axis webservice. I get the following exception
intermittently when the axis webservice is contacted from other component.
======================== Exception start =================
2008-03-25 17:18:17,792 ConnectException: Failed to contact Webservice
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:333)
at
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:519)
at sun.reflect.GeneratedMethodAccessor461.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.axis.components.net.DefaultSocketFactory.create(DefaultSocketFactory.java:153)
at
org.apache.axis.components.net.DefaultSocketFactory.create(DefaultSocketFactory.java:120)
at
org.apache.axis.transport.http.HTTPSender.getSocket(HTTPSender.java:191)
at
org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:404)
at
org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:138)
at
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
at org.apache.axis.client.Call.invokeEngine(Call.java:2765)
at org.apache.axis.client.Call.invoke(Call.java:2748)
at org.apache.axis.client.Call.invoke(Call.java:2424)
at org.apache.axis.client.Call.invoke(Call.java:2347)
at org.apache.axis.client.Call.invoke(Call.java:1804)
..more
========================= Exception End ==================
Our clients continously call this webservice hosted by my component.
Sometimes it fails with this exception, most of the times it works fine.
Could not make out why this error comes as the host is always up.
Just wondering whether it is some kind of load issue when there are too many
webservice requests at a time. If so, how can we avoid this load issue. Is
it something which is not handled in Axis 2.0? Upgarding to 3.0 would fix
the issue?
In one of the forums I saw the same kind of problem reported. But the answer
given was to remove xmlsec.jar.
http://mail-archives.apache.org/mod_mbox/ws-axis-dev/200411.mbox/[EMAIL
PROTECTED]
But I could not find the jar at all in both client, server. Could someone
explain how this exception is related to this jar.
Thanks & Regards,
~Shafi
--
View this message in context:
http://www.nabble.com/Axis-webservice%3A-connection-refused-exception-%28intermittent%29-tp19913291p19913291.html
Sent from the Axis - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]