Announcement Announcement Module
No announcement yet.
Parent Context and MessageDispatcherServlet Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Parent Context and MessageDispatcherServlet

    I have created 2 web service apps using MessageDispatcherServlet and both want to use an underlying stateful service layer. I create and load this layer via "parentContextKey". The problem is that the first web service app that loads works perfectly the second does not. It seems that the second app cannot find the "parentContextKey" for some reason. If I remove the first web service app and then just run the second it works just fine.

    Anyone have any ideas on how to solve this one.

    Here is my web.xml

    org.springframework.web.context.ContextLoaderListe ner

    <servlet-class> tcherServlet

    <!-- Map all requests to this servlet -->