I am using WebLogic 8.1 sp2 and therefore (from the Spring javadoc) need to use the ContextLoaderServlet. However, it looks like my ApplicationContext is getting loaded twice? I see all the files read twice. Is that because ContextLoaderServlet "closes" the WebApplicationContext during the servlet "destroy" method? And then it is reconstituted the first time someone gets something from it (from my application servlet)?
I do notice that sometimes when I use my debugger it does not get loaded twice, is that because a thread is still accessing the ContextLoaderServlet and thus WebLogic will not destroy it?


Reply With Quote