Results 1 to 2 of 2

Thread: Application Context Not Loaded.

  1. #1
    Join Date
    Jul 2008
    Posts
    12

    Default Application Context Not Loaded.

    I have entred some bean entries in /WEB-INF/spring-ws-servlet.xml, which refers some bean entries in /WEB-INF/web-applicationContext.xml.
    I had configured to load the application context xml's has mentioned below during server starup.

    <context-param>
    <param-name>contextConfigLocation</param-name>
    <param-value>/WEB-INF/web-applicationContext.xml /WEB-INF/ws-applicationContext.xml /WEB-INF/spring-ws-servlet.xml</param-value>
    </context-param>

    But the bean entries mentioned in /WEB-INF/web-applicationContext.xml & /WEB-INF/ws-applicationContext.xml was not loaded.
    the bean Id which is refered from /WEB-INF/web-applicationContext.xml is not retrived when it used in /WEB-INF/spring-ws-servlet.xml.

    Please comments.
    Dev Chennai

  2. #2
    Join Date
    Jul 2008
    Posts
    12

    Default

    Issue resolved when I add the following entry in web.xml

    <listener>
    <listener-class>org.springframework.web.context.ContextLoade rListener</listener-class>
    </listener>
    Dev Chennai

Posting Permissions

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