Axis2 simple http server memory management

2010-01-08 Thread Patrick Duflot
Hi list,

I did a long-run test with the axis2 simple http server and the echo sample
client invoking the echo service every 3 seconds.
I saw the memory usage going from 4MB to 30MB then back to 10MB and then
again to 40MB. Now that I stopped the client from polling the service,
memory usage is as low as 80KB.

NB : I am running Windows XP SP2

What is axis2 http server memory management policy ?
Can we have some control over it ?

A couple of related question :
How does it behaves with memory fragmentation ?
And the most importatnt one : Is Axis2 simple http server production ready ?

Thank you

Patrick


DLL loading on Windows XP

2009-12-30 Thread Patrick Duflot
Hi List,

I wrote a web service DLL. This DLL is dependant of another DLL that is not
a system DLL, so I put it in the service directory next to my service DLL.
When Axis2c tries to load my service (in axutil_windows.c callLoadLib), it
fails with a 126 error : The specified module cannot be found).
The reason is that it can find the service DLL but it cannot find its
dependant DLL.
I could work around the problem by first calling SetDllDirectory to my
service directory in callLoadLib.

Am I missing something ? Is there a smarter solution ?

NB : I am running Windows XP SP2

Thanks

Patrick