Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Multiple SOAP requests  RSS feed

 
Tim Williams
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I wrote a very simple SOAP service, it takes a String and returns the reversed value.
I then wrote a client that can send and recieve the SOAP message. This works fine.
To test performance I made my client implement Runnable, created 20 Threads each with a new Client and set them all going.
Some responses produce the following exception on the server:

From what I can tell this happens when the server (Apache SOAP version 2.2 or 2.3.1) tries to create a Socket to return it's response.
I get varied results, sometimes only 1 or 2 threads have a problem, sometimes it's a lot more. I can run 15 threads without any problems. As the number increases the more likely the chance of some failing.
Has anybody come accross this?
Can anybody help explain what is happening?
Thanks,
Tim.
 
Kyle Brown
author
Ranch Hand
Posts: 3892
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What servlet engine are you running? Tomcat or another server?
Kyle
 
Tim Williams
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've tested on the following...
VisualAge WebSphere Test Environment (3.02 and 4.0)
WebSphere Studio Application Developer 4.03 with WAS 4 AEs runtime at version 4.0.4
WebSpere 4.0.4 AE
...so clearly I like IBM
These are unnning on Windows NT 4 Workstation sp6a.
I have also produced the problem on Win2KPro using WSAD and VAJ4.
 
Tim Williams
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Looks I made a bit of a mistake. It's the client that can't open the connection to the server, not the server that can't open the connection to the client.
Still, this doesn't help me know why I have the problem...
Tim.
[ August 22, 2002: Message edited by: Tim Williams ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!