Announcement Announcement Module
No announcement yet.
DispatcherServlet : Random 404 errors (no mapping found) Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • DispatcherServlet : Random 404 errors (no mapping found)

    Hi all,

    I have a really basic app which is configured to use container based authentication against an LdapRealm.
    This works fine, except that randomly, after a successfull login, the Dispatcher Servlet raises a 404 error telling that no mapping was found. A simple page refresh on the error page solves the problem !
    I did many searches and many tests without being able to solve the problem.

    My dispatcher servlet is configured as following :
    Now my controller has the following mapping :
     @RequestMapping(value = {
    In my web.xml file I set the following auth-constraints :
    Now every two/three logins I have the following error :
    14:44:47 |- WARN org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/privman/login] in DispatcherServlet with
    name 'dispatcherServlet'
    What is really strange is the composition of the erroneous URL : /privman is the context of my web app.

    Thanks for your help