Hello,
    I'm experimenting with mod_axis2 in Apache 2.2.4 on Solaris 10 (I know
Solaris isn't officially supported, but this appears to be a general apache2
issue.) I started with the echo service sample and started modifying it. I
allocate some resources at service init time (in echo_init) that I need to
free/close at service free time (in echo_free.)

If I run this in the simple axis2_http_server, echo_free gets called when I
stop the server. But when I run this in apache2, echo_free does NOT appear
to be called when I stop apache.

I've started to look at the code for mod_axis2, and I see where the call to
AXIS2_SVC_SKELETON_INIT is made, but I see no corresponding call to _FREE.
In apache2, shutdown handling is usually done via a registered pool cleanup
handler, and I don't see one of those either, but I haven't walked through
all of the axis2_worker code yet.

I've searched the bug DB and the email archive, and haven't found any
relevant references.

Has anyone else run into this issue? Is anyone trying to allocate resources
that have to be freed? (In particular, I'm opening a database, and I need to
properly close it - I can't just rely on the OS to free memory or close file
handles.)

Thanks,
-Ben Wyckoff

P.S. I see that 1.3.0 RC2 doesn't contain any changes to mod_axis2.c


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

Reply via email to