Hi,
I have an Axis Web service
hosted on Jboss. For performance testing I had made a
java client which creates threads and makes webservice
calls. The calls were using the proxies generated from wsdl2java.It worked
fine with 100 and 200 threads. When I tried with 300 threads it
failed(Error given Below...). Is there some limit or am I missing something
here.I am running both client and server on the
same machine (win2k Server).
Please let me know how I can do
this.
Thanks,
Narayanan
java.net.ConnectException: Connection refused:
connect
at org.apache.axis.AxisFault.makeFault(AxisFault.java:120) at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java: at
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStr
y.java:71) at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:156) at org.apache.axis.SimpleChain.invoke(SimpleChain.java:126) at org.apache.axis.client.AxisClient.invoke(AxisClient.java:182) at org.apache.axis.client.Call.invokeEngine(Call.java:2113) at org.apache.axis.client.Call.invoke(Call.java:2102) at org.apache.axis.client.Call.invoke(Call.java:1851) at org.apache.axis.client.Call.invoke(Call.java:1777) at org.apache.axis.client.Call.invoke(Call.java:1315) at localhost.CoprindmWebServiceSoapBindingStub.getProjSvrData(Coprin bServiceSoapBindingStub.java:134) at StressTester.run(Unknown Source)........................................../** My file*/ Caused by: java.net.ConnectException: Connection refused: connect at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:17 at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158) at java.net.Socket.connect(Socket.java:426) at java.net.Socket.connect(Socket.java:376) at java.net.Socket.<init>(Socket.java:291) at java.net.Socket.<init>(Socket.java:119) at org.apache.axis.components.net.DefaultSocketFactory.create(Defaul ketFactory.java:131) at org.apache.axis.transport.http.HTTPSender.getSocket(HTTPSender.ja 75) at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java: |
Title: Message
- SOAP Fault Handling with Custom Error Messages Rajesh Jain
- E.Narayanan