Win a copy of Java EE 8 High Performance this week in the Java/Jakarta EE forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

SOAPExceptionImpl: Message send failed  RSS feed

Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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. com.sun.xml.messaging.saaj.SOAPExceptionImpl: Message send failed
Caused by: Address already in use: connect
at Method)
at 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.

  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!