In my context's __init__.py I want to initialize some things for the
application server to run (e. g. filling caches whose filling takes a
rather long time).

I also want to register a shutdown handler that (currently only) will
write something to a custom log file when the application server is
shut down. From within a servlet, I would grab the application object
and call its addShutDownHandler method, however, I see no such
possibility from within the mentioned initialization of the context.

A workaround would be to register the shutdown handler on calling the
first servlet for the first time, though that doesn't seem like a
clean solution to me. :-)

Any suggestions?

Stefan



-------------------------------------------------------
This sf.net email is sponsored by: DEDICATED SERVERS only $89!
Linux or FreeBSD, FREE setup, FAST network. Get your own server 
today at http://www.ServePath.com/indexfm.htm
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to