On Tue, 2007-05-08 at 17:12 +0200, Jens Goerke wrote:
> Oleg,
> 
> > HttpParams associated with HttpClient are expected to be initialized
> by
> > the constructor. Hence null assignment in the instance variable
> > declaration. 
> 
> The HttpParams are initialized, given to the HttpConnectionManager, but
> then get clobbered within HttpClient.
> 


I do not think this observation is correct. Feel free to double-check,
tough.


> > As far as I know  CommonsHTTPSender reads the default parameter values
> > from a configuration file
> 
> Which configuration file would that be?

axis2.xml


>  I haven't found any reference to
> the 600000 ms timeout anywhere in any source or configuration file.
> 
> [code sample]
> Yes, that's basically how the HttpParams are set in our code.
> 
> > The easiest solution to this problem would be to use the Axis2 config
> > file to initialize the HTTP sender
> 
> I'm not sure that would help - Axis is using
> HttpClient(ConnectionManager),
> which re-sets the HttpParams to its own defaults instead of using them
> as
> they are.
> 
> Perhaps I do need to modify HttpClient.java after all.
> 

You are very welcome to do so. It is open-source after all


> Thanks anyway,
> Jens
> 

Oleg

> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to