java.io.FileNotFoundException: The requested resource (/html$tilesContent) is not available

liferay.com | 4 months ago
  1. 0

    Theme template code showing up and double headers - Forums

    liferay.com | 4 months ago
    java.io.FileNotFoundException: The requested resource (/html$tilesContent) is not available
  2. 0

    I am using the ga2 & ga4 tomcat bundled version of CE. I am developing a portlet with structure as below: docroot/html/check2plan/view.jsp web.xml as: <servlet> <servlet-name>Check2PlanPortlet</servlet-name> <servlet-class>com.liferay.portal.kernel.servlet.PortletServlet</servlet-class> <init-param> <param-name> portlet-class</param-name> <param-value>com.lycenway.chr.backbone.check2plan.Check2PlanPortlet</param-value> </init-param> <load-on-startup>1</load-on-startup> </servlet> <servlet-mapping> <servlet-name>Check2PlanPortlet</servlet-name> <url-pattern>/chr-backbone-web-portlet/html/check2plan/*</url-pattern> </servlet-mapping> When deploy using the IDE drag & drop feature, it will show up error as attachment 1 and then The page with this plugin in portal will error and logs as below: 14:07:08,655 INFO [localhost-startStop-12][PortletHotDeployListener:497] 2 portlets for chr-backbone-web-portlet are available for use 14:13:40,594 ERROR [http-bio-8280-exec-90][render_portlet_jsp:132] null java.io.FileNotFoundException: The requested resource (/chr-backbone-web-portlet/check2plan/invoke) is not available at org.apache.catalina.servlets.DefaultServlet.serveResource(DefaultServlet.java:776) at org.apache.catalina.servlets.DefaultServlet.doGet(DefaultServlet.java:411) at javax.servlet.http.HttpServlet.service(HttpServlet.java:621) at javax.servlet.http.HttpServlet.service(HttpServlet.java:728) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116) at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:119) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749) at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:605) at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:544) at com.liferay.portlet.InvokerPortletImpl.invoke(InvokerPortletImpl.java:583) at com.liferay.portlet.InvokerPortletImpl.invokeRender(InvokerPortletImpl.java:656) at com.liferay.portlet.InvokerPortletImpl.render(InvokerPortletImpl.java:362) at org.apache.jsp.html.portal.render_005fportlet_jsp._jspService(render_005fportlet_jsp.java:1242) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) at javax.servlet.http.HttpServlet.service(HttpServlet.java:728) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432) 14:23:52,816 INFO [http-bio-8280-exec-90][DeployUtil:209] Undeploy /root/liferay-portal-6.2-ce-ga4 I need to right click and redeploy for some times (error in attachment 1 will not appear any more), somehow it works as last. But when I redeploy again, it will go back the error status (no error like attachment 1). I try search around and found one post related with web.xml fix. I already done that but it will not work for me. Thanks for the help.

    Liferay Issues | 2 years ago | George Chao Li
    java.io.FileNotFoundException: The requested resource (/chr-backbone-web-portlet/check2plan/invoke) is not available
  3. 0

    When I deploy Deploy orbeon Proxy-Portlet in Liferay, the deplay fails with the error: The moduleId /proxy-portlet/6.1.1/war is not correct

    Stack Overflow | 2 years ago
    java.io.FileNotFoundException: The requested resource (/proxy-portlet/orbeonformsproxyportlet/invoke) is not available
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Orbeon Forms community mailing list - When I deploy Deploy orbeon Proxy-Portlet in Liferay, the deplay fails with the error: The moduleId

    orbeon.com | 8 months ago
    java.io.FileNotFoundException: The requested resource (/proxy-portlet/orbeonformsproxyportlet/invoke) is not available
  6. 0

    Strange Glassfish exception

    Stack Overflow | 6 years ago | Lurtz
    java.io.FileNotFoundException: /my-app/true

    2 unregistered visitors
    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

      The requested resource (/html$tilesContent) is not available

      at org.apache.catalina.servlets.DefaultServlet.serveResource()
    2. Glassfish Core
      DefaultServlet.doGet
      1. org.apache.catalina.servlets.DefaultServlet.serveResource(DefaultServlet.java:776)
      2. org.apache.catalina.servlets.DefaultServlet.doGet(DefaultServlet.java:411)
      2 frames
    3. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
      2 frames
    4. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
      2 frames
    5. Liferay Portal Service
      InvokerFilter.doFilter
      1. com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
      2. com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:119)
      2 frames
    6. Glassfish Core
      ApplicationDispatcher.include
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
      3. org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)
      4. org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:605)
      5. org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:544)
      5 frames
    7. Liferay Portal Impl
      ClassLoaderRequestDispatcherWrapper.include
      1. com.liferay.portal.servlet.DirectServletPathRegisterDispatcher.include(DirectServletPathRegisterDispatcher.java:55)
      2. com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.doDispatch(ClassLoaderRequestDispatcherWrapper.java:78)
      3. com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.include(ClassLoaderRequestDispatcherWrapper.java:53)
      3 frames
    8. Liferay Util Taglib
      VelocityTaglibImpl.include
      1. com.liferay.taglib.util.VelocityTaglibImpl.include(VelocityTaglibImpl.java:643)
      1 frame
    9. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor470.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3. java.lang.reflect.Method.invoke(Method.java:606)
      3 frames
    10. Apache Velocity
      Template.merge
      1. org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
      2. org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
      3. org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
      4. org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:262)
      5. org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:342)
      6. org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
      7. org.apache.velocity.Template.merge(Template.java:328)
      8. org.apache.velocity.Template.merge(Template.java:235)
      8 frames
    11. Liferay Portal Impl
      AbstractTemplate.processTemplate
      1. com.liferay.portal.velocity.VelocityTemplate.processTemplate(VelocityTemplate.java:112)
      2. com.liferay.portal.template.AbstractTemplate.processTemplate(AbstractTemplate.java:108)
      2 frames
    12. Liferay Util Taglib
      IncludeTag.doEndTag
      1. com.liferay.taglib.util.ThemeUtil.doIncludeVM(ThemeUtil.java:511)
      2. com.liferay.taglib.util.ThemeUtil.doDispatch(ThemeUtil.java:177)
      3. com.liferay.taglib.util.ThemeUtil.includeVM(ThemeUtil.java:133)
      4. com.liferay.taglib.util.ThemeUtil.include(ThemeUtil.java:99)
      5. com.liferay.taglib.theme.IncludeTag.doEndTag(IncludeTag.java:34)
      5 frames
    13. org.apache.jsp
      portal_jsp._jspService
      1. org.apache.jsp.html.common.themes.portal_jsp._jspx_meth_liferay_002dtheme_005finclude_005f0(portal_jsp.java:556)
      2. org.apache.jsp.html.common.themes.portal_jsp._jspService(portal_jsp.java:507)
      2 frames
    14. GWT dev
      HttpJspBase.service
      1. org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      1 frame
    15. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
      1 frame
    16. Liferay Portal Impl
      ClassLoaderRequestDispatcherWrapper.include
      1. com.liferay.portal.servlet.DirectRequestDispatcher.include(DirectRequestDispatcher.java:57)
      2. com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.doDispatch(ClassLoaderRequestDispatcherWrapper.java:78)
      3. com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.include(ClassLoaderRequestDispatcherWrapper.java:53)
      3 frames
    17. Liferay Util Taglib
      IncludeTag.doEndTag
      1. com.liferay.taglib.util.IncludeTag.include(IncludeTag.java:295)
      2. com.liferay.taglib.util.IncludeTag.doInclude(IncludeTag.java:192)
      3. com.liferay.taglib.util.IncludeTag.doEndTag(IncludeTag.java:83)
      3 frames
    18. org.apache.jsp
      edit_005farticle_jsp._jspService
      1. org.apache.jsp.html.portlet.journal.edit_005farticle_jsp._jspx_meth_liferay_002dutil_005finclude_005f1(edit_005farticle_jsp.java:2671)
      2. org.apache.jsp.html.portlet.journal.edit_005farticle_jsp._jspService(edit_005farticle_jsp.java:1440)
      2 frames
    19. GWT dev
      HttpJspBase.service
      1. org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      1 frame
    20. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
      1 frame
    21. Liferay Portal Impl
      ClassLoaderRequestDispatcherWrapper.include
      1. com.liferay.portal.servlet.DirectRequestDispatcher.include(DirectRequestDispatcher.java:57)
      2. com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.doDispatch(ClassLoaderRequestDispatcherWrapper.java:78)
      3. com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.include(ClassLoaderRequestDispatcherWrapper.java:53)
      3 frames
    22. Liferay Util Taglib
      IncludeTag.doEndTag
      1. com.liferay.taglib.util.IncludeTag.include(IncludeTag.java:295)
      2. com.liferay.taglib.util.IncludeTag.doInclude(IncludeTag.java:192)
      3. com.liferay.taglib.util.IncludeTag.doEndTag(IncludeTag.java:83)
      3 frames
    23. org.apache.jsp
      portlet_jsp._jspService
      1. org.apache.jsp.html.common.themes.portlet_jsp._jspService(portlet_jsp.java:3144)
      1 frame
    24. GWT dev
      HttpJspBase.service
      1. org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      1 frame
    25. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
      1 frame
    26. GWT dev
      JspServlet.service
      1. org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
      2. org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
      3. org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
      3 frames
    27. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
      1 frame
    28. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
      2 frames
    29. Liferay Portal Service
      InvokerFilter.doFilter
      1. com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
      2. com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:119)
      2 frames
    30. Glassfish Core
      ApplicationDispatcher.include
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
      3. org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)
      4. org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:605)
      5. org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:544)
      5 frames
    31. Liferay Portal Service
      PortletRequestDispatcherImpl.include
      1. com.liferay.portlet.PortletRequestDispatcherImpl.dispatch(PortletRequestDispatcherImpl.java:331)
      2. com.liferay.portlet.PortletRequestDispatcherImpl.include(PortletRequestDispatcherImpl.java:128)
      2 frames
    32. Liferay Portal Impl
      PortletRequestProcessor.doForward
      1. com.liferay.portal.struts.PortletRequestProcessor.doInclude(PortletRequestProcessor.java:370)
      2. com.liferay.portal.struts.PortletRequestProcessor.doForward(PortletRequestProcessor.java:338)
      2 frames
    33. struts
      TilesRequestProcessor.processForwardConfig
      1. org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(TilesRequestProcessor.java:239)
      2. org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:302)
      2 frames
    34. Liferay Portal Impl
      PortletRequestProcessor.processForwardConfig
      1. com.liferay.portal.struts.PortletRequestProcessor.processForwardConfig(PortletRequestProcessor.java:478)
      1 frame
    35. struts
      RequestProcessor.process
      1. org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:241)
      1 frame
    36. Liferay Portal Impl
      PortletRequestProcessor.process
      1. com.liferay.portal.struts.PortletRequestProcessor.process(PortletRequestProcessor.java:234)
      1 frame
    37. Liferay Portal Service
      LiferayPortlet.doDispatch
      1. com.liferay.portlet.StrutsPortlet.include(StrutsPortlet.java:296)
      2. com.liferay.portlet.StrutsPortlet.doView(StrutsPortlet.java:157)
      3. com.liferay.portal.kernel.portlet.LiferayPortlet.doDispatch(LiferayPortlet.java:213)
      3 frames
    38. Java Portlet Specification V2.0
      GenericPortlet.render
      1. javax.portlet.GenericPortlet.render(GenericPortlet.java:233)
      1 frame
    39. Liferay Portal Service
      InvokerPortletImpl.render
      1. com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:103)
      2. com.liferay.portlet.ScriptDataPortletFilter.doFilter(ScriptDataPortletFilter.java:55)
      3. com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:100)
      4. com.liferay.portal.kernel.portlet.PortletFilterUtil.doFilter(PortletFilterUtil.java:64)
      5. com.liferay.portlet.InvokerPortletImpl.invoke(InvokerPortletImpl.java:597)
      6. com.liferay.portlet.InvokerPortletImpl.invokeRender(InvokerPortletImpl.java:656)
      7. com.liferay.portlet.InvokerPortletImpl.render(InvokerPortletImpl.java:362)
      7 frames
    40. org.apache.jsp
      render_005fportlet_jsp._jspService
      1. org.apache.jsp.html.portal.render_005fportlet_jsp._jspService(render_005fportlet_jsp.java:1242)
      1 frame
    41. GWT dev
      HttpJspBase.service
      1. org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      1 frame
    42. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
      1 frame
    43. Liferay Portal Impl
      ClassLoaderRequestDispatcherWrapper.include
      1. com.liferay.portal.servlet.DirectRequestDispatcher.include(DirectRequestDispatcher.java:57)
      2. com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.doDispatch(ClassLoaderRequestDispatcherWrapper.java:78)
      3. com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.include(ClassLoaderRequestDispatcherWrapper.java:53)
      3 frames
    44. Liferay Portal Service
      PortletContainerUtil.render
      1. com.liferay.portlet.PortletContainerImpl._doRender(PortletContainerImpl.java:655)
      2. com.liferay.portlet.PortletContainerImpl.render(PortletContainerImpl.java:138)
      3. com.liferay.portlet.SecurityPortletContainerWrapper.render(SecurityPortletContainerWrapper.java:141)
      4. com.liferay.portlet.RestrictPortletContainerWrapper.render(RestrictPortletContainerWrapper.java:126)
      5. com.liferay.portal.kernel.portlet.PortletContainerUtil.render(PortletContainerUtil.java:156)
      5 frames
    45. Liferay Portal Impl
      TemplateProcessor.processMax
      1. com.liferay.portal.layoutconfiguration.util.velocity.TemplateProcessor.processMax(TemplateProcessor.java:171)
      1 frame
    46. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:606)
      4 frames
    47. Apache Velocity
      Template.merge
      1. org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
      2. org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
      3. org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
      4. org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:262)
      5. org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:342)
      6. org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
      7. org.apache.velocity.Template.merge(Template.java:328)
      8. org.apache.velocity.Template.merge(Template.java:235)
      8 frames
    48. Liferay Portal Impl
      AbstractTemplate.processTemplate
      1. com.liferay.portal.velocity.VelocityTemplate.processTemplate(VelocityTemplate.java:112)
      2. com.liferay.portal.template.AbstractTemplate.processTemplate(AbstractTemplate.java:108)
      2 frames
    49. Liferay Portal Service
      RuntimePageUtil.getProcessedTemplate
      1. com.liferay.portal.layoutconfiguration.util.RuntimePageImpl.doProcessTemplate(RuntimePageImpl.java:375)
      2. com.liferay.portal.layoutconfiguration.util.RuntimePageImpl.doDispatch(RuntimePageImpl.java:284)
      3. com.liferay.portal.layoutconfiguration.util.RuntimePageImpl.getProcessedTemplate(RuntimePageImpl.java:96)
      4. com.liferay.portal.layoutconfiguration.util.RuntimePageUtil.getProcessedTemplate(RuntimePageUtil.java:38)
      4 frames
    50. org.apache.jsp
      control_005fpanel_jsp._jspService
      1. org.apache.jsp.html.portal.layout.view.control_005fpanel_jsp._jspService(control_005fpanel_jsp.java:1506)
      1 frame
    51. GWT dev
      HttpJspBase.service
      1. org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      1 frame
    52. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
      1 frame
    53. GWT dev
      JspServlet.service
      1. org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
      2. org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
      3. org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
      3 frames
    54. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
      1 frame
    55. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
      2 frames
    56. Liferay Portal Service
      InvokerFilter.doFilter
      1. com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
      2. com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:119)
      2 frames