Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-12151

Unmapped URIs results in an error

    XMLWordPrintable

Details

    Description

      We see lots of errors and stack traces occurring when clients access this uri: /pages/viewpreviouspageversions.action

      I'm not sure where these clients (possibly bots) found an url with this uri, but in any case it would be much better if instead of rendering an error page and logging everything Confluence returned a simple 404 page and logged nothing in the application log. Currently all these useless error messages and stack traces are just cluttering the error log.

      a sample stack trace:

      ERROR 2008-06-13 15:00:15,438 [service-j2ee-95] ServletDispatcher:serviceAction - Could not find action
       -- url: /pages/viewpreviouspageversions.action | userName: anonymous
      com.opensymphony.xwork.config.ConfigurationException: There is no Action mapped for namespace /pages and action name viewpreviouspageversions
              at com.opensymphony.xwork.DefaultActionProxy.<init>(DefaultActionProxy.java:72)
              at com.opensymphony.xwork.DefaultActionProxyFactory.createActionProxy(DefaultActionProxyFactory.java:45)
              at com.opensymphony.webwork.dispatcher.ServletDispatcher.serviceAction(ServletDispatcher.java:227)
              at com.opensymphony.webwork.dispatcher.ServletDispatcher.service(ServletDispatcher.java:199)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:917)
      ...
      ...
      ...
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              15d9a6950818 Igor Minar
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: