Results 1 to 2 of 2

Thread: ContextLoaderServlet

  1. #1

    Default ContextLoaderServlet

    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?

  2. #2
    Join Date
    Jan 2005
    Location
    Bucharest, Romania
    Posts
    5,403

    Default

    Can you post the relevant configuration? Have you tried searching the forums? Most of the times the appContext is loaded twice because there are two definitions of the Servlet or a parent-child relationship between context.
    Costin Leau
    SpringSource - http://www.SpringSource.com- Spring Training, Consulting, and Support - "From the Source"
    http://twitter.com/costinl
    Please use [ c o d e ] [ / c o d e ] tags

Similar Threads

  1. ContextLoaderServlet failure in Weblogic 6.1
    By garcima in forum Container
    Replies: 2
    Last Post: Dec 15th, 2004, 01:38 PM
  2. Just JDBC support (newbie guy)
    By garcima in forum Data
    Replies: 5
    Last Post: Dec 9th, 2004, 10:26 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •