We are working in a J2EE Model II environment. In various mail threads,
users have mentioned that there are several possible locations to call
NDC::remove, however, I haven't been able to find a thread that mentions
exactly where different organizations are calling it. I have thought about
the following scenario:
1. In the doGet/doPost, call NDC.push("something unique about the user");
2. At the end of the doGet/doPost call NDC.pop();
3. In the servlet finalize method call NDC::remove.
I am not sure that this scenario will work to reclaim the memory, as I do
not know if the log4J framework holds a reference to the servlet and thus
prevents the finalize method from being called. If you are using NDCs in a
Model II environment, please respond back with your NDC scenario.
Thanks!
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]