my dog learned polymorphism*
The moose likes Web Services and the fly likes SOAPExceptionImpl: Message send failed Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "SOAPExceptionImpl: Message send failed" Watch "SOAPExceptionImpl: Message send failed" New topic
Author

SOAPExceptionImpl: Message send failed

Kasi Viswan
Ranch Hand

Joined: Sep 27, 2008
Posts: 42
Hello,

Am caught up with an error and i can't get past it, need some help here.

My application is a batch processing web service client, reads some input rows, sends web service requets, processes the responses and logs it.

The application runs well in normal mode, but under load(more thread count), I get this wierd error and I can't make it go away.

java.security.PrivilegedActionException: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Message send failed
..
..
Caused by: java.net.BindException: Address already in use: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)

I have properly closed the connections after each web service calls, but it still says Address in use. Please refer below for the complete stack trace and a piece of the code. Am using SAAJ and JWSDP and am not using AXIS api. Am in a place where i can't switch to the other implementation. I have searched the web but couldn't find any solutions. I am very disappointed that I am at a dead end by using SUN's api and didn't go for AXIS initially unless someone gives me a solution to this.

This is not an error that server is not closing connections properly as I was able to test with SOAPUI and LoadRunner with even higher threads and it ran without problems. SOAPUI and LoadRunner scripts were executed from the same client machine as my application uses. Please help.


Stack Trace:



Will pooling connections in the client machine is help.
If this is the answer, i am new to pooling connections for web service calls, can someone please give a sample code.

Thanks
Kasi
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: SOAPExceptionImpl: Message send failed
 
Similar Threads
Sending Soap requests thru Https
Getting the contents from the URL
Dozer Mapping Exception
JApplet to access Database on server from client maschine
SOAPConnection call with ip address