Start servlet before Listener
843841May 3 2005 — edited May 5 2005I try to use context listener to fire up some cache when my app start, this includes the usual logging calls. My problem is that log4j servlet is not yet initialized when the listener code runs.
Is there a way to make the servlet run BEFORE the listener? or I need move all startup code back to using servlets?
Is the context listener not meant to include any logging calls? or only System.out?
Any ideas/solutions welcomed?