Hi,
Adding to my system settings, I am using Tomcat Webserver to send
requests to XML RPC Server where I get this exception:
Java.lang.RuntimeException:org:apache.xmlrpc.client.XmlRpcClientExceptio
n: Failed to parse servers response :Premature end of file.
So, is it possible that Tomcat is issuing number of concurrent requests
to the XML RPC server and there comes a race around condition.
Thanks,
-Preeti
-----Original Message-----
From: Preeti Vishwakarma [mailto:
pvishwakarma@Soni...]
Sent: Thursday, December 06, 2007 9:23 AM
To:
xmlrpc-dev@ws.a...
Subject: RE: XML RPC Parser Exception
Hi,
The server my client is talking to is a C based server and I can see
response coming from server. Also this happens randomly as in sometimes
it works fine and at other times it throws exception.
Is it something to do with concurrent requests going to the server. Or
XML RPC not being thread safe.
Any help is appreciated.
Thanks,
-Preeti
-----Original Message-----
From: John Wilson [mailto:
tug@wils...]
Sent: Thursday, December 06, 2007 4:46 AM
To:
xmlrpc-dev@ws.a...
Subject: Re: XML RPC Parser Exception
On 6 Dec 2007, at 12:25, Jochen Wiedmann wrote:
> On Dec 6, 2007 2:30 AM, Preeti Vishwakarma
> <
pvishwakarma@soni...> wrote:
>
>> Java.lang.RuntimeException:org:apache.xmlrpc.client.XmlRpcClientExcep
>> tio
>> n: Failed to parse servers response :Premature end of file.
>
> Most possibly a problem on the server side, which prevented generation
> of a valid XML-RPC message.
Another possibility is the content length header is wrong.
If the server counts characters and not bytes and the response is
UTF-8 encoded but contains non USASCII character then you can get
this error.
What server are you talking to?
John Wilson
---------------------------------------------------------------------
To unsubscribe, e-mail:
xmlrpc-dev-unsubscribe@ws.a...
For additional commands, e-mail:
xmlrpc-dev-help@ws.a...
---------------------------------------------------------------------
To unsubscribe, e-mail:
xmlrpc-dev-unsubscribe@ws.a...
For additional commands, e-mail:
xmlrpc-dev-help@ws.a...
---------------------------------------------------------------------
To unsubscribe, e-mail:
xmlrpc-dev-unsubscribe@ws.a...
For additional commands, e-mail:
xmlrpc-dev-help@ws.a...
opensubscriber is not affiliated with the authors of this message nor responsible for its content.