Paul:
XmlRpcClientLite sends garbage chars in the header and probably without cr or new line chars and thus causing the WebServer readLine buffer overflow. If I extend the buffer to 4096 (to make sure it can hold the whole data packet), then I get the read timeout on the WebServer, probably server is waiting for some token in the data packet which was garbled. But everything works with the XmlRpcClient. I have attached the output of the readLine in the WebServer.java, hoping you may find the cause to the problem. Data stream received from XmlClientLite: ++&Ggr;&pgr;@a@+&pgr;&pgr;+a±K=§&Sgr;oaO`-caouz@-u?aea@&tgr;++`+++@±K=§+uouz@O==·)±==z±°==§+uouaou`&pgr; ?uaz @uaouaooo§+uouaou`+aocuez@=±)·§§x<?xml version="1.0" encoding="ISO-8859-1"?><meth ... more Thanks. - Yaxiong > -----Original Message----- > From: Paul Libbrecht [SMTP:[EMAIL PROTECTED]] > Sent: Monday, March 18, 2002 3:16 PM > To: [EMAIL PROTECTED] > Subject: Re: connection refused error > > Yaxiong, > > > If this is still the weird wrong end-of-header detection you mentionned, > than clearly looks to be bound to the headers that the URL.getConnection > does send. A simple test for you would be to implement the dumbest http > server, something that listens to the given port and writes anything it > receives to the system.out then close the connection. > > You should then be able to see the differences between HttpClient and > HttpClientLite. > > Except for security things, I can't have a single clue why you would not > use HttpClientLite. > > Paul > > > On Lundi, mars 18, 2002, at 05:39 , Lin, Yaxiong wrote: > > > > > Todd: > > > > Thanks for the information. I am using XmlRpcClient. I did switch to > > XmlRpcClientLite and ran it on NT and that seems to have fixed my > > problem > > also. But I have a problem with XmlRpcClientLite as it does not work on > > IBM > > webSphere on zOS which is going to be our production environment. So I > > have > > to stay with XmlRpcClient. > > > > I was wondering if you or anyone know why XmlRpcClient causes webserver > > to > > hang while XmlRpcClientLite does not and if there is any hope to debug > > and > > fix this problem? > > > > Thanks. > > > > - Yaxiong > >