4 Replies Latest reply on Jun 5, 2013 7:10 AM by Ankita

    j_security_check  was not found on this server

    tton214

      Hello,

       

      New to developing on CQ and I created a login page that works on author but we pushed to publish I receive the following error:  The requested URL /new_hire_login/j_security_check/ was not found on this server.

       

      Any help would be appreciated.

       

      Thanks

       

      Tim Tonsel

        • 1. Re: j_security_check  was not found on this server
          Sham HC Level 7

          Hi Tim,

           

          Which version of CQ? Could you post the stacktrace from logs at publish instance.

           

          Thanks,

          Sham

          • 2. Re: j_security_check  was not found on this server
            tton214 Level 1

            It's CQ5.5..

             

            15.01.2013 00:00:00.002 *INFO* [pool-5-thread-2] com.day.cq.wcm.webservicesupport.impl.statistics.ServicesStatisticsJob Updating cloud services usage statistics...

            15.01.2013 00:00:56.484 *INFO* [107.20.184.77 [1358208056484] GET /global-markets HTTP/1.1] com.sapient.cq5.filters.PreviewMode doFilter() Filter is disabled, so doing nothing and continuing the filter chain

            15.01.2013 00:01:04.685 *INFO* [54.243.153.216 [1358208064685] GET /en-us/government-services/about-us.html HTTP/1.1] com.sapient.cq5.filters.PreviewMode doFilter() Filter is disabled, so doing nothing and continuing the filter chain

            15.01.2013 00:01:04.765 *ERROR* [54.243.153.216 [1358208064685] GET /en-us/government-services/about-us.html HTTP/1.1] com.sapient.cq5.utils.ResourceUtils hideChildren javax.jcr.PathNotFoundException: hideChildren

                at org.apache.jackrabbit.core.NodeImpl$11.perform(NodeImpl.java:2211)

                at org.apache.jackrabbit.core.NodeImpl$11.perform(NodeImpl.java:2198)

                at org.apache.jackrabbit.core.session.SessionState.perform(SessionState.java:216)

                at org.apache.jackrabbit.core.ItemImpl.perform(ItemImpl.java:91)

                at org.apache.jackrabbit.core.NodeImpl.getProperty(NodeImpl.java:2198)

                at com.sapient.cq5.utils.ResourceUtils.getStringPropertyWithDefault(ResourceUtils.java:95)

                at sun.reflect.GeneratedMethodAccessor215.invoke(Unknown Source)

                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

                at java.lang.reflect.Method.invoke(Method.java:597)

                at org.apache.el.parser.AstFunction.getValue(AstFunction.java:94)

                at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186)

                at org.apache.sling.scripting.jsp.jasper.runtime.PageContextImpl.proprietaryEvaluate(PageCon textImpl.java:975)

                at org.apache.jsp.apps.sapient.components.base.tabLinks.tabLinks_jsp._jspx_meth_c_005fset_00 5f4(tabLinks_jsp.java:393)

                at org.apache.jsp.apps.sapient.components.base.tabLinks.tabLinks_jsp._jspService(tabLinks_js p.java:247)

                at org.apache.sling.scripting.jsp.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)

                at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)

                at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper .java:420)

                at org.apache.sling.scripting.jsp.JspServletWrapperAdapter.service(JspServletWrapperAdapter. java:59)

                at org.apache.sling.scripting.jsp.JspScriptEngineFactory.callJsp(JspScriptEngineFactory.java :233)

                at org.apache.sling.scripting.jsp.JspScriptEngineFactory.access$100(JspScriptEngineFactory.j ava:85)

                at org.apache.sling.scripting.jsp.JspScriptEngineFactory$JspScriptEngine.eval(JspScriptEngin eFactory.java:453)

                at org.apache.sling.scripting.core.impl.DefaultSlingScript.call(DefaultSlingScript.java:358)

                at org.apache.sling.scripting.core.impl.DefaultSlingScript.eval(DefaultSlingScript.java:170)

                at org.apache.sling.scripting.core.impl.DefaultSlingScript.service(DefaultSlingScript.java:4 56)

                at org.apache.sling.engine.impl.request.RequestData.service(RequestData.java:500)

                at org.apache.sling.engine.impl.filter.SlingComponentFilterChain.render(SlingComponentFilter Chain.java:45)

                at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:64)

                at com.day.cq.wcm.core.impl.WCMDebugFilter.doFilterWithErrorHandling(WCMDebugFilter.java:183 )

                at com.day.cq.wcm.core.impl.WCMDebugFilter.doFilter(WCMDebugFilter.java:150)

                at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)

                at com.day.cq.wcm.core.impl.WCMComponentFilter.doFilter(WCMComponentFilter.java:219)

                at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)

                at org.apache.sling.engine.impl.SlingRequestProcessorImpl.processComponent(SlingRequestProce ssorImpl.java:257)

                at org.apache.sling.engine.impl.SlingRequestProcessorImpl.dispatchRequest(SlingRequestProces sorImpl.java:297)

                at org.apache.sling.engine.impl.request.SlingRequestDispatcher.dispatch(SlingRequestDispatch er.java:216)

                at org.apache.sling.engine.impl.request.SlingRequestDispatcher.include(SlingRequestDispatche r.java:103)

                at com.day.cq.wcm.core.impl.WCMComponentFilter$ForwardRequestDispatcher.include(WCMComponent Filter.java:381)

                at com.day.cq.wcm.tags.IncludeTag.includeResource(IncludeTag.java:224)

                at com.day.cq.wcm.tags.IncludeTag.doEndTag(IncludeTag.java:91)

                at org.apache.jsp.apps.sapient.components.pages.twoColumn.content_jsp._jspx_meth_cq_005fincl ude_005f1(content_jsp.java:291)

                at org.apache.jsp.apps.sapient.components.pages.twoColumn.content_jsp._jspService(content_js p.java:194)

                at org.apache.sling.scripting.jsp.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)

                at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)

                at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper .java:420)

                at org.apache.sling.scripting.jsp.JspServletWrapperAdapter.service(JspServletWrapperAdapter. java:59)

                at org.apache.sling.scripting.jsp.JspScriptEngineFactory.callJsp(JspScriptEngineFactory.java :233)

                at org.apache.sling.scripting.jsp.JspScriptEngineFactory.access$100(JspScriptEngineFactory.j ava:85)

                at org.apache.sling.scripting.jsp.JspScriptEngineFactory$JspScriptEngine.eval(JspScriptEngin eFactory.java:453)

                at org.apache.sling.scripting.core.impl.DefaultSlingScript.call(DefaultSlingScript.java:358)

                at org.apache.sling.scripting.core.impl.DefaultSlingScript.eval(DefaultSlingScript.java:170)

                at org.apache.sling.scripting.core.impl.DefaultSlingScript.service(DefaultSlingScript.java:4 56)

                at com.day.cq.wcm.tags.IncludeTag.includeScript(IncludeTag.java:167)

                at com.day.cq.wcm.tags.IncludeTag.doEndTag(IncludeTag.java:87)

                at org.apache.jsp.apps.sapient.components.pages.basepage.body_jsp._jspx_meth_cq_005finclude_ 005f0(body_jsp.java:509)

                at org.apache.jsp.apps.sapient.components.pages.basepage.body_jsp._jspService(body_jsp.java: 255)

                at org.apache.sling.scripting.jsp.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)

                at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)

                at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper .java:420)

                at org.apache.sling.scripting.jsp.JspServletWrapperAdapter.service(JspServletWrapperAdapter. java:59)

                at org.apache.sling.scripting.jsp.JspScriptEngineFactory.callJsp(JspScriptEngineFactory.java :233)

                at org.apache.sling.scripting.jsp.JspScriptEngineFactory.access$100(JspScriptEngineFactory.j ava:85)

                at org.apache.sling.scripting.jsp.JspScriptEngineFactory$JspScriptEngine.eval(JspScriptEngin eFactory.java:453)

                at org.apache.sling.scripting.core.impl.DefaultSlingScript.call(DefaultSlingScript.java:358)

                at org.apache.sling.scripting.core.impl.DefaultSlingScript.eval(DefaultSlingScript.java:170)

                at org.apache.sling.scripting.core.impl.DefaultSlingScript.service(DefaultSlingScript.java:4 56)

                at com.day.cq.wcm.tags.IncludeTag.includeScript(IncludeTag.java:167)

                at com.day.cq.wcm.tags.IncludeTag.doEndTag(IncludeTag.java:87)

                at org.apache.jsp.apps.sapient.components.pages.basepage.basepage_jsp._jspx_meth_cq_005fincl ude_005f1(basepage_jsp.java:178)

                at org.apache.jsp.apps.sapient.components.pages.basepage.basepage_jsp._jspService(basepage_j sp.java:132)

                at org.apache.sling.scripting.jsp.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)

                at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)

                at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper .java:420)

                at org.apache.sling.scripting.jsp.JspServletWrapperAdapter.service(JspServletWrapperAdapter. java:59)

                at org.apache.sling.scripting.jsp.JspScriptEngineFactory.callJsp(JspScriptEngineFactory.java :233)

                at org.apache.sling.scripting.jsp.JspScriptEngineFactory.access$100(JspScriptEngineFactory.j ava:85)

                at org.apache.sling.scripting.jsp.JspScriptEngineFactory$JspScriptEngine.eval(JspScriptEngin eFactory.java:453)

                at org.apache.sling.scripting.core.impl.DefaultSlingScript.call(DefaultSlingScript.java:358)

                at org.apache.sling.scripting.core.impl.DefaultSlingScript.eval(DefaultSlingScript.java:170)

                at org.apache.sling.scripting.core.impl.DefaultSlingScript.service(DefaultSlingScript.java:4 56)

                at org.apache.sling.engine.impl.request.RequestData.service(RequestData.java:500)

                at org.apache.sling.engine.impl.filter.SlingComponentFilterChain.render(SlingComponentFilter Chain.java:45)

                at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:64)

                at com.day.cq.wcm.core.impl.WCMDebugFilter.doFilterWithErrorHandling(WCMDebugFilter.java:183 )

                at com.day.cq.wcm.core.impl.WCMDebugFilter.doFilter(WCMDebugFilter.java:150)

                at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)

                at com.day.cq.wcm.core.impl.WCMComponentFilter.doFilter(WCMComponentFilter.java:219)

                at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)

                at org.apache.sling.engine.impl.SlingRequestProcessorImpl.processComponent(SlingRequestProce ssorImpl.java:257)

                at org.apache.sling.engine.impl.SlingRequestProcessorImpl.dispatchRequest(SlingRequestProces sorImpl.java:297)

                at org.apache.sling.engine.impl.request.SlingRequestDispatcher.dispatch(SlingRequestDispatch er.java:216)

                at org.apache.sling.engine.impl.request.SlingRequestDispatcher.include(SlingRequestDispatche r.java:103)

                at com.day.cq.wcm.core.impl.WCMComponentFilter$ForwardRequestDispatcher.include(WCMComponent Filter.java:381)

                at org.apache.jsp.libs.foundation.components.primary.cq.Page.Page_jsp._jspService(Page_jsp.j ava:106)

                at org.apache.sling.scripting.jsp.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)

                at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)

                at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper .java:420)

                at org.apache.sling.scripting.jsp.JspServletWrapperAdapter.service(JspServletWrapperAdapter. java:59)

                at org.apache.sling.scripting.jsp.JspScriptEngineFactory.callJsp(JspScriptEngineFactory.java :233)

                at org.apache.sling.scripting.jsp.JspScriptEngineFactory.access$100(JspScriptEngineFactory.j ava:85)

                at org.apache.sling.scripting.jsp.JspScriptEngineFactory$JspScriptEngine.eval(JspScriptEngin eFactory.java:453)

                at org.apache.sling.scripting.core.impl.DefaultSlingScript.call(DefaultSlingScript.java:358)

                at org.apache.sling.scripting.core.impl.DefaultSlingScript.eval(DefaultSlingScript.java:170)

                at org.apache.sling.scripting.core.impl.DefaultSlingScript.service(DefaultSlingScript.java:4 56)

                at org.apache.sling.engine.impl.request.RequestData.service(RequestData.java:500)

                at org.apache.sling.engine.impl.filter.SlingComponentFilterChain.render(SlingComponentFilter Chain.java:45)

                at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:64)

                at com.day.cq.wcm.core.impl.WCMDebugFilter.doFilter(WCMDebugFilter.java:147)

                at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)

                at com.day.cq.wcm.core.impl.WCMComponentFilter.filterRootInclude(WCMComponentFilter.java:308 )

                at com.day.cq.wcm.core.impl.WCMComponentFilter.doFilter(WCMComponentFilter.java:141)

                at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)

                at org.apache.sling.engine.impl.SlingRequestProcessorImpl.processComponent(SlingRequestProce ssorImpl.java:257)

                at org.apache.sling.engine.impl.filter.RequestSlingFilterChain.render(RequestSlingFilterChai n.java:49)

                at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:64)

                at com.day.cq.wcm.core.impl.warp.TimeWarpFilter.doFilter(TimeWarpFilter.java:106)

                at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)

                at com.day.cq.wcm.mobile.core.impl.redirect.RedirectFilter.doFilter(RedirectFilter.java:296)

                at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)

                at org.apache.sling.engine.impl.debug.RequestProgressTrackerLogFilter.doFilter(RequestProgre ssTrackerLogFilter.java:59)

                at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)

                at com.day.cq.wcm.foundation.forms.impl.FormsHandlingServlet.doFilter(FormsHandlingServlet.j ava:220)

                at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)

                at com.day.cq.theme.impl.ThemeResolverFilter.doFilter(ThemeResolverFilter.java:76)

                at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)

                at org.apache.sling.i18n.impl.I18NFilter.doFilter(I18NFilter.java:117)

                at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)

                at com.day.cq.wcm.core.impl.WCMRequestFilter.doFilter(WCMRequestFilter.java:89)

                at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)

                at org.apache.sling.rewriter.impl.RewriterFilter.doFilter(RewriterFilter.java:83)

                at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)

                at org.apache.sling.bgservlets.impl.BackgroundServletStarterFilter.doFilter(BackgroundServle tStarterFilter.java:135)

                at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)

                at com.sapient.cq5.filters.PreviewMode.doFilter(PreviewMode.java:185)

                at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)

                at org.apache.sling.engine.impl.SlingRequestProcessorImpl.processRequest(SlingRequestProcess orImpl.java:153)

                at org.apache.sling.engine.impl.SlingMainServlet.service(SlingMainServlet.java:206)

                at org.apache.felix.http.base.internal.handler.ServletHandler.doHandle(ServletHandler.java:9 6)

                at org.apache.felix.http.base.internal.handler.ServletHandler.handle(ServletHandler.java:79)

                at org.apache.felix.http.base.internal.dispatch.ServletPipeline.handle(ServletPipeline.java: 42)

                at org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFil terChain.java:49)

                at org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.jav a:33)

                at org.apache.sling.i18n.impl.I18NFilter.doFilter(I18NFilter.java:117)

                at org.apache.felix.http.base.internal.handler.FilterHandler.doHandle(FilterHandler.java:88)

                at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:76)

                at org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFil terChain.java:47)

                at org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.jav a:33)

                at org.apache.sling.security.impl.ReferrerFilter.doFilter(ReferrerFilter.java:238)

                at org.apache.felix.http.base.internal.handler.FilterHandler.doHandle(FilterHandler.java:88)

                at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:76)

                at org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFil terChain.java:47)

                at org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.jav a:33)

                at com.adobe.granite.license.impl.LicenseCheckFilter.doFilter(LicenseCheckFilter.java:179)

                at org.apache.felix.http.base.internal.handler.FilterHandler.doHandle(FilterHandler.java:88)

                at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:76)

                at org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFil terChain.java:47)

                at org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.jav a:33)

                at org.apache.sling.engine.impl.log.RequestLoggerFilter.doFilter(RequestLoggerFilter.java:75 )

                at org.apache.felix.http.base.internal.handler.FilterHandler.doHandle(FilterHandler.java:88)

                at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:76)

                at org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFil terChain.java:47)

                at org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.jav a:33)

                at org.apache.felix.http.base.internal.dispatch.FilterPipeline.dispatch(FilterPipeline.java: 48)

                at org.apache.felix.http.base.internal.dispatch.Dispatcher.dispatch(Dispatcher.java:39)

                at org.apache.felix.http.base.internal.DispatcherServlet.service(DispatcherServlet.java:67)

                at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)

                at com.day.j2ee.servletengine.ServletRuntimeEnvironment.service(ServletRuntimeEnvironment.ja va:250)

                at com.day.j2ee.servletengine.RequestDispatcherImpl.doFilter(RequestDispatcherImpl.java:315)

                at com.day.j2ee.servletengine.RequestDispatcherImpl.service(RequestDispatcherImpl.java:334)

                at com.day.j2ee.servletengine.RequestDispatcherImpl.service(RequestDispatcherImpl.java:377)

                at com.day.j2ee.servletengine.ServletHandlerImpl.process(ServletHandlerImpl.java:351)

                at com.day.j2ee.servletengine.HttpListener$Worker.run(HttpListener.java:625)

                at java.lang.Thread.run(Thread.java:662)

            • 3. Re: j_security_check  was not found on this server
              Yogesh Upadhyay Level 4

              I do not see any j_security_check related error in Log (May be wrong log snippet). Alothough there is some issue in com.sapient.cq5.utils.ResourceUtils hideChildren javax.jcr.PathNotFoundException: hideChildren. You should check if property or path exist before accesing it.

               

              Yogesh

              www.wemblog.com

              • 4. Re: j_security_check  was not found on this server
                Ankita

                Hi,

                 

                I am getting the following error

                 

                com.sapient.cq5.utils.ResourceUtils null while checking the error log.

                 

                I am trying to add the styles and format in the inbuild component present in lib with reference to

                http://dev.day.com/docs/en/cq/5-5/administering/configuring_rich_text_editor.html#Styles%2 0%28Text%29

                 

                but when I add the drop down list the text entered in the dialog is not available in the page after we click the OK button .

                 

                Any help would be highly appreciated.

                 

                Thanks ,

                Ankita