javax.faces.FacesException: Problem in renderResponse: /debug.xhtml Not Found in ExternalContext as a Resource

Icesoft | allanbruno | 8 years ago
  1. 0

    Problems with Seam 2.1.1 + ICEFaces 1.7.1 (using Icefacelets)

    Icesoft | 8 years ago | allanbruno
    javax.faces.FacesException: Problem in renderResponse: /debug.xhtml Not Found in ExternalContext as a Resource
  2. 0

    Custom 404 Error Page

    Oracle Community | 8 years ago | 800638
    javax.faces.FacesException: Problem in renderResponse: /pages/common/fakepage.jspx Not Found in ExternalContext as a Resource
  3. 0

    Icefaces and Spring Web Flow 2.0 Integration

    icesoft.org | 1 year ago
    javax.faces.FacesException: Problem in renderResponse: /main Not Found in ExternalContext as a Resource
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    When you directly access the IceFaces Portlet deployed in Web Space Server and click on a link within the portlet, it fails with the following exception: [#|2010-02-04T14:42:02.960+0000|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=27;_ThreadName=httpSSLWorkerThread-8082-0;|2010-02-04 14:42:02,956 ERROR [httpSSLWorkerThread-8082-0] com.icesoft.faces.facelets.D2DFaceletViewHandler - Problem in renderResponse: /send-receive-updates Not Found in ExternalContext as a Resource java.io.FileNotFoundException: /send-receive-updates Not Found in ExternalContext as a Resource at com.sun.facelets.impl.DefaultFaceletFactory.resolveURL(DefaultFaceletFactory.java:121) at com.sun.facelets.impl.DefaultFaceletFactory.getFacelet(DefaultFaceletFactory.java:91) at com.icesoft.faces.facelets.D2DFaceletViewHandler.renderResponse(D2DFaceletViewHandler.java:268) at com.icesoft.faces.application.D2DViewHandler.renderView(D2DViewHandler.java:159) at com.icesoft.faces.context.BridgeFacesContext$SwitchViewHandler.renderView(BridgeFacesContext.java:783) at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106) at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251) at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144) at com.icesoft.faces.webapp.http.core.JsfLifecycleExecutor.apply(JsfLifecycleExecutor.java:19) at com.icesoft.faces.context.View$2$1.respond(View.java:48) at com.icesoft.faces.webapp.http.servlet.ServletRequestResponse.respondWith(ServletRequestResponse.java:201) at com.icesoft.faces.context.View$2.serve(View.java:78) at com.icesoft.faces.context.View.servePage(View.java:150) at com.icesoft.faces.webapp.http.core.MultiViewServer.service(MultiViewServer.java:67) at com.icesoft.faces.webapp.http.common.ServerProxy.service(ServerProxy.java:11) at com.icesoft.faces.webapp.http.servlet.MainSessionBoundServlet$4.service(MainSessionBoundServlet.java:149) at com.icesoft.faces.webapp.http.common.standard.PathDispatcherServer.service(PathDispatcherServer.java:24) at com.icesoft.faces.webapp.http.servlet.BasicAdaptingServlet.service(BasicAdaptingServlet.java:16) at com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:23) at com.icesoft.faces.webapp.http.servlet.SessionDispatcher.service(SessionDispatcher.java:53) at com.icesoft.faces.webapp.http.servlet.SessionVerifier.service(SessionVerifier.java:26) at com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:23) at com.icesoft.faces.webapp.http.servlet.MainServlet.service(MainServlet.java:131) at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) Steps to reproduce: 1. Create IceFaces Portlet(eg:IceFacesPortletLinkTest) that has a commandLink and deploy it. 2. Add it on a public page of Web Space Server(eg: http://localhost:8080/web/guest/page1) 3. Click on the link in IceFaces Portlet, it works fine 4. Now close the browser. 5. Open the browser and access the page directly(i.e access http://localhost:8080/web/guest/page1) 6. Now when you click on the link in IceFaces Portlet, it throws an exception(as mentioned above). Cause: After debugging the sources, we found this was because of the way the pattern is matched. After step#5 above, if you view the page source, you see that the value of "sendReceiveUpdatesURI" is '/IceFacesPortletLinkTest/block/send-receive-updates;jsessionid=79bf8441f1e6cbc65be1555d53f7'. In com.icesoft.faces.webapp.http.common.standard.PathDispatcherServer, the value returned by the method request.getURI().getPath() is "/IceFacesPortletLinkTest/block/send-receive-updates;jsessionid=79bf8441f1e6cbc65be1555d53f7", but the pattern used to match is ".*block\/send\-receive\-updates$". As the URL ends with jsessionid, the match does not happen, resulting in the failure. The jsessionid is getting attached to the url because this is the first request from the server to the new browser session. We think that this can be fixed by modifying the Pattern.

    ICEsoft JIRA Issue Tracker | 7 years ago | Deepak Gothe
    java.io.FileNotFoundException: /send-receive-updates Not Found in ExternalContext as a Resource
  6. 0

    db:: 3.76::a problem about url filter of web dispatcher jm

    hivmr.com | 8 months ago
    java.io.FileNotFoundException: /en/page1.xhtml Not Found in ExternalContext as a Resource

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.io.FileNotFoundException

      /debug.xhtml Not Found in ExternalContext as a Resource

      at com.sun.facelets.impl.DefaultFaceletFactory.resolveURL()
    2. Facelets
      DefaultFaceletFactory.getFacelet
      1. com.sun.facelets.impl.DefaultFaceletFactory.resolveURL(DefaultFaceletFactory.java:121)
      2. com.sun.facelets.impl.DefaultFaceletFactory.getFacelet(DefaultFaceletFactory.java:91)
      2 frames
    3. com.icesoft.faces
      D2DViewHandler.renderView
      1. com.icesoft.faces.facelets.D2DFaceletViewHandler.renderResponse(D2DFaceletViewHandler.java:268)
      2. com.icesoft.faces.application.D2DViewHandler.renderView(D2DViewHandler.java:159)
      2 frames
    4. org.ajax4jsf.application
      AjaxViewHandler.renderView
      1. org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108)
      2. org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:216)
      2 frames
    5. JSF
      LifecycleImpl.render
      1. com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106)
      2. com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
      3. com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
      3 frames
    6. com.icesoft.faces
      MainServlet.service
      1. com.icesoft.faces.webapp.http.core.JsfLifecycleExecutor.apply(JsfLifecycleExecutor.java:18)
      2. com.icesoft.faces.context.View$2$1.respond(View.java:41)
      3. com.icesoft.faces.webapp.http.servlet.GlassFishAdaptingServlet$GlassFishRequestResponse.respondWith(GlassFishAdaptingServlet.java:159)
      4. com.icesoft.faces.context.View$2.serve(View.java:48)
      5. com.icesoft.faces.context.View.servePage(View.java:130)
      6. com.icesoft.faces.webapp.http.core.SingleViewServer.service(SingleViewServer.java:51)
      7. com.icesoft.faces.webapp.http.common.standard.PathDispatcherServer.service(PathDispatcherServer.java:24)
      8. com.icesoft.faces.webapp.http.servlet.MainSessionBoundServlet.service(MainSessionBoundServlet.java:160)
      9. com.icesoft.faces.webapp.http.servlet.SessionDispatcher$1.service(SessionDispatcher.java:38)
      10. com.icesoft.faces.webapp.http.servlet.GlassFishAdaptingServlet.service(GlassFishAdaptingServlet.java:60)
      11. com.icesoft.faces.webapp.http.servlet.EnvironmentAdaptingServlet.service(EnvironmentAdaptingServlet.java:63)
      12. com.icesoft.faces.webapp.http.servlet.SessionDispatcher.service(SessionDispatcher.java:55)
      13. com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:23)
      14. com.icesoft.faces.webapp.http.servlet.MainServlet.service(MainServlet.java:91)
      14 frames
    7. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
      1 frame
    8. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:411)
      2. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:317)
      3. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198)
      3 frames
    9. org.jboss.seam
      SeamFilter$FilterChainImpl.doFilter
      1. org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
      2. org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
      3. org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      4. org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
      5. org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      5 frames
    10. org.ajax4jsf.webapp
      BaseFilter.doFilter
      1. org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141)
      2. org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281)
      2 frames
    11. org.jboss.seam
      SeamFilter.doFilter
      1. org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:56)
      2. org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      3. org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
      4. org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      5. org.jboss.seam.web.HotDeployFilter.doFilter(HotDeployFilter.java:53)
      6. org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      7. org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.java:40)
      8. org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      9. org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
      9 frames
    12. Glassfish Core
      StandardPipeline.doInvoke
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:288)
      4. org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:271)
      5. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:202)
      6. org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
      7. org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
      7 frames
    13. Glassfish
      WebPipeline.invoke
      1. com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
      1 frame
    14. Glassfish Core
      ContainerBase.invoke
      1. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:206)
      2. org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
      3. org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
      4. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
      5. org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
      6. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:150)
      7. org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
      8. org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
      9. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
      10. org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
      10 frames
    15. org.apache.coyote
      CoyoteAdapter.service
      1. org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:272)
      1 frame
    16. Glassfish Core
      TaskBase.run
      1. com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:637)
      2. com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:568)
      3. com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:813)
      4. com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341)
      5. com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263)
      6. com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214)
      7. com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265)
      7 frames
    17. Grizzly HTTP
      SSLWorkerThread.run
      1. com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)
      1 frame