0 Replies Latest reply on Jul 23, 2013 2:39 AM by Ram Atmakur

    login.html is being handled by DefaultGetServlet but not /libs/granite/core/components/login/login.j

    Ram Atmakur Level 1

      Hi Experts,

              I am facing a weird problem while accesing the login.html on 5.6.

       

      If I type the url http://host:port/libs/granite/core/content/login.html I get a 404.

      as below. My qn is why the request is being handled by DefaultGetServlet rather than Servlet=/libs/granite/core/components/login/login.jsp. What could be the issue here? T

       

      Not Found (404)

      The requested URL /libs/granite/core/content/login.html resulted in an error in org.apache.sling.servlets.get.DefaultGetServlet.

      Request Progress:

            0 (2013-07-23 01:24:07) TIMER_START{Request Processing} 
           0 (2013-07-23 01:24:07) COMMENT timer_end format is {<elapsed msec>,<timer name>} <optional message>
           0 (2013-07-23 01:24:07) LOG Method=GET, PathInfo=/libs/granite/core/content/login.html
           0 (2013-07-23 01:24:07) TIMER_START{ResourceResolution} 1 (2013-07-23 01:24:07) TIMER_END{1,ResourceResolution} URI=/libs/granite/core/content/login.html resolves to Resource=JcrNodeResource, type=granite/core/components/login, superType=null, path=/libs/granite/core/content/login
           1 (2013-07-23 01:24:07) LOG Resource Path Info: SlingRequestPathInfo: path='/libs/granite/core/content/login', selectorString='null', extension='html', suffix='null'
      1 (2013-07-23 01:24:07) TIMER_START{ServletResolution}
      1 (2013-07-23 01:24:07) TIMER_START{resolveServlet(JcrNodeResource, type=granite/core/components/login, superType=null, path=/libs/granite/core/content/login)}
      1 (2013-07-23 01:24:07) TIMER_END{0,resolveServlet(JcrNodeResource, type=granite/core/components/login, superType=null, path=/libs/granite/core/content/login)} Using servlet org.apache.sling.servlets.get.DefaultGetServlet 1 (2013-07-23 01:24:07) TIMER_END{0,ServletResolution} URI=/libs/granite/core/content/login.html handled by Servlet=org.apache.sling.servlets.get.DefaultGetServlet
      1 (2013-07-23 01:24:07) LOG Applying Requestfilters