I don't have any problems concerning the http-connnections!
what's the recommended way for using configurationcontext-objects?
1) use them once per request
2) reuse them

regards


rahulYadav wrote:
> 
> try setting this...
> 
> 
> configurationContext.setProperty(Packages.org.apache.axis2.transport.http.HTTPConstants.REUSE_HTTP_CLIENT,
> true); 
> 
> 
> gerpres wrote:
>> 
>> FYI: I'm using axis 1.5.1
>> 
>> I cannot confirm the problem mentioned at: 
>> http://old.nabble.com/Resuse-of-configurationcontext-ends-in-out-of-memory-error-td26442083.html
>> Reusing ConfigurationContext - Memory leak 
>> 
>> 
>> gerpres wrote:
>>> 
>>> hi all,
>>> can a configurationcontext object been reused safely?
>>> 
>>> I'm having trouble when creating a new configurationcontext object on
>>> each request because of a permgen-space overflow (each
>>> configurationcontext creates it's own axisconfiguration with it's own
>>> classloaders) and a disk-overflow (tmp-files aren't deleted any more)
>>> 
>>> on the other hand I get a NPE when reusing the configurationcontext with
>>> following serviceclient constructor
>>> 
>>> public ServiceClient(ConfigurationContext configContext, Definition
>>> wsdl4jDefinition,
>>>                          QName wsdlServiceName, String portName);
>>> 
>>> any good advice?
>>> regards
>>>  gerhard
>>> 
>>> 
>> 
>> 
> 
> 

-- 
View this message in context: 
http://old.nabble.com/reusing-configurationcontext-objects-tp28958768p28958896.html
Sent from the Axis - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to