You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xmlrpc-dev@ws.apache.org by "De-la-broise Regis - REN ( RBroise@rennes.sema.slb.com )" <RB...@rennes.sema.slb.com> on 2002/06/07 11:42:03 UTC

Java implementation - lock in the client when sending successive synchronous xml-rpc calls to the same server

I noticed an unexplained behaviour in a java implementation of
org.apache.xmlrpc : 
 
My java client is a servlet, using the org.apache.xmlrpc.XmlRpcClient ;
 
It makes successive and different synchronous calls to a same (java)
xmlrpc server;
 
Here is the only difference of code during my tests, located in the
client : 
 
- using the XmlRpcClientLite() constructor:  it runs without problem.
All calls are received and processed correctly by the server.
- using the XmlRpcClient() constructor:  Only the first call is received
and processed. The other calls are never received by the server.
 
My classes have been tested on three plateforms, with similar
environment (Windows NT, same JVM, same java packages, same Web
environment, same network configuration for the client/server
connection). Two of them reproduced every time the problem. On the
third, it always works whatever constructor is used. 
 
If someone have an idea of what is happening, thank in advance to let me
know.
 
Lcousin