voyent
Deploy Icefaces portlet to liferay portal returns page not found exception  XML
Forum Index -> Portals & Portlets Go to Page: 1, 2 Next 
Author Message
maxi_ng

Joined: 11/Jan/2008 00:00:00
Messages: 92
Offline


ProcessApprove.iface is the first page of my portlet defined in portlet.xml.
The portlet deploy with no exception.
The following exception occurs when I "add application" in liferay.
It keeps showing the loading icon.
If I refresh the browser, it is loaded successfully and works fine.
But I still wants to resolve this exception because user will be very concerned.

Code:
 2008-02-04 07:41:54,908 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/].[jsp]] Servlet.service() for servlet jsp threw exception
 javax.servlet.ServletException: File "/WEB-INF/jsp/ProcessApprove.iface" not found
 	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
 	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:654)
 	at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:557)
 	at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:481)
 	at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:968)
 	at org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:609)
 	at org.apache.struts.tiles.TilesUtilImpl.doInclude(TilesUtilImpl.java:99)
 	at org.apache.struts.tiles.TilesUtil.doInclude(TilesUtil.java:135)
 	at org.apache.struts.taglib.tiles.InsertTag.doInclude(InsertTag.java:760)
 	at org.apache.struts.taglib.tiles.InsertTag$InsertHandler.doEndTag(InsertTag.java:892)
 	at org.apache.struts.taglib.tiles.InsertTag.doEndTag(InsertTag.java:462)
 	at org.apache.jsp.html.portal.render_005fportlet_jsp._jspService(render_005fportlet_jsp.java:1753)
 	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
 	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:373)
 	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:336)
 	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:654)
 	at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:557)
 	at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:481)
 	at com.liferay.portal.util.PortalUtil.renderPortlet(PortalUtil.java:1861)
 	at com.liferay.portal.util.PortalUtil.renderPortlet(PortalUtil.java:1812)
 	at com.liferay.portal.action.RenderPortletAction.execute(RenderPortletAction.java:94)
 	at com.liferay.portal.action.UpdateLayoutAction.execute(UpdateLayoutAction.java:223)
 	at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
 	at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
 	at com.liferay.portal.struts.PortalRequestProcessor.process(PortalRequestProcessor.java:158)
 	at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
 	at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
 	at com.liferay.portal.servlet.MainServlet.callParentService(MainServlet.java:401)
 	at com.liferay.portal.servlet.MainServlet.service(MainServlet.java:630)
 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:98)
 	at com.liferay.filters.strip.StripFilter.doFilter(StripFilter.java:88)
 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:98)
 	at com.liferay.filters.compression.CompressionFilter.doFilter(CompressionFilter.java:109)
 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:98)
 	at com.liferay.filters.secure.SecureFilter.doFilter(SecureFilter.java:150)
 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:98)
 	at com.liferay.portal.servlet.filters.virtualhost.VirtualHostFilter.doFilter(VirtualHostFilter.java:173)
 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:98)
 	at com.liferay.portal.servlet.filters.sessionid.SessionIdFilter.doFilter(SessionIdFilter.java:81)
 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 	at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
 	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
 	at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
 	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
 	at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
 	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
 	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
 	at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
 	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
 	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
 	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
 	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
 	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
 	at java.lang.Thread.run(Thread.java:619)
 2008-02-04 07:41:54,908 ERROR [org.apache.struts.taglib.tiles.InsertTag] ServletException in '/html/common/themes/portlet.jsp': File "/WEB-INF/jsp/ProcessApprove.iface" not found
 javax.servlet.ServletException: File "/WEB-INF/jsp/ProcessApprove.iface" not found
 	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
 	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:654)
 	at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:557)
 	at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:481)
 	at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:968)
 	at org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:609)
 	at org.apache.struts.tiles.TilesUtilImpl.doInclude(TilesUtilImpl.java:99)
 	at org.apache.struts.tiles.TilesUtil.doInclude(TilesUtil.java:135)
 	at org.apache.struts.taglib.tiles.InsertTag.doInclude(InsertTag.java:760)
 	at org.apache.struts.taglib.tiles.InsertTag$InsertHandler.doEndTag(InsertTag.java:892)
 	at org.apache.struts.taglib.tiles.InsertTag.doEndTag(InsertTag.java:462)
 	at org.apache.jsp.html.portal.render_005fportlet_jsp._jspService(render_005fportlet_jsp.java:1753)
 	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
 	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:373)
 	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:336)
 	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:654)
 	at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:557)
 	at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:481)
 	at com.liferay.portal.util.PortalUtil.renderPortlet(PortalUtil.java:1861)
 	at com.liferay.portal.util.PortalUtil.renderPortlet(PortalUtil.java:1812)
 	at com.liferay.portal.action.RenderPortletAction.execute(RenderPortletAction.java:94)
 	at com.liferay.portal.action.UpdateLayoutAction.execute(UpdateLayoutAction.java:223)
 	at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
 	at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
 	at com.liferay.portal.struts.PortalRequestProcessor.process(PortalRequestProcessor.java:158)
 	at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
 	at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
 	at com.liferay.portal.servlet.MainServlet.callParentService(MainServlet.java:401)
 	at com.liferay.portal.servlet.MainServlet.service(MainServlet.java:630)
 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:98)
 	at com.liferay.filters.strip.StripFilter.doFilter(StripFilter.java:88)
 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:98)
 	at com.liferay.filters.compression.CompressionFilter.doFilter(CompressionFilter.java:109)
 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:98)
 	at com.liferay.filters.secure.SecureFilter.doFilter(SecureFilter.java:150)
 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:98)
 	at com.liferay.portal.servlet.filters.virtualhost.VirtualHostFilter.doFilter(VirtualHostFilter.java:173)
 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:98)
 	at com.liferay.portal.servlet.filters.sessionid.SessionIdFilter.doFilter(SessionIdFilter.java:81)
 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 	at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
 	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
 	at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
 	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
 	at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
 	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
 	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
 	at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
 	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
 	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
 	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
 	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
 	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
 	at java.lang.Thread.run(Thread.java:619)
 2008-02-04 07:41:54,918 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/].[jsp]] Servlet.service() for servlet jsp threw exception
 javax.servlet.jsp.JspException: ServletException in '/html/common/themes/portlet.jsp': File "/WEB-INF/jsp/ProcessApprove.iface" not found
 	at org.apache.struts.taglib.tiles.InsertTag$InsertHandler.doEndTag(InsertTag.java:923)
 	at org.apache.struts.taglib.tiles.InsertTag.doEndTag(InsertTag.java:462)
 	at org.apache.jsp.html.portal.render_005fportlet_jsp._jspService(render_005fportlet_jsp.java:1753)
 	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
 	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:373)
 	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:336)
 	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:654)
 	at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:557)
 	at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:481)
 	at com.liferay.portal.util.PortalUtil.renderPortlet(PortalUtil.java:1861)
 	at com.liferay.portal.util.PortalUtil.renderPortlet(PortalUtil.java:1812)
 	at com.liferay.portal.action.RenderPortletAction.execute(RenderPortletAction.java:94)
 	at com.liferay.portal.action.UpdateLayoutAction.execute(UpdateLayoutAction.java:223)
 	at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
 	at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
 	at com.liferay.portal.struts.PortalRequestProcessor.process(PortalRequestProcessor.java:158)
 	at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
 	at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
 	at com.liferay.portal.servlet.MainServlet.callParentService(MainServlet.java:401)
 	at com.liferay.portal.servlet.MainServlet.service(MainServlet.java:630)
 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:98)
 	at com.liferay.filters.strip.StripFilter.doFilter(StripFilter.java:88)
 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:98)
 	at com.liferay.filters.compression.CompressionFilter.doFilter(CompressionFilter.java:109)
 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:98)
 	at com.liferay.filters.secure.SecureFilter.doFilter(SecureFilter.java:150)
 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:98)
 	at com.liferay.portal.servlet.filters.virtualhost.VirtualHostFilter.doFilter(VirtualHostFilter.java:173)
 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:98)
 	at com.liferay.portal.servlet.filters.sessionid.SessionIdFilter.doFilter(SessionIdFilter.java:81)
 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 	at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
 	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
 	at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
 	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
 	at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
 	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
 	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
 	at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
 	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
 	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
 	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
 	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
 	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
 	at java.lang.Thread.run(Thread.java:619)
 2008-02-04 07:41:54,918 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/].[MainServlet]] Servlet.service() for servlet MainServlet threw exception
 javax.servlet.jsp.JspException: ServletException in '/html/common/themes/portlet.jsp': File "/WEB-INF/jsp/ProcessApprove.iface" not found
 	at org.apache.struts.taglib.tiles.InsertTag$InsertHandler.doEndTag(InsertTag.java:923)
 	at org.apache.struts.taglib.tiles.InsertTag.doEndTag(InsertTag.java:462)
 	at org.apache.jsp.html.portal.render_005fportlet_jsp._jspService(render_005fportlet_jsp.java:1753)
 	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
 	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:373)
 	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:336)
 	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:654)
 	at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:557)
 	at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:481)
 	at com.liferay.portal.util.PortalUtil.renderPortlet(PortalUtil.java:1861)
 	at com.liferay.portal.util.PortalUtil.renderPortlet(PortalUtil.java:1812)
 	at com.liferay.portal.action.RenderPortletAction.execute(RenderPortletAction.java:94)
 	at com.liferay.portal.action.UpdateLayoutAction.execute(UpdateLayoutAction.java:223)
 	at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
 	at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
 	at com.liferay.portal.struts.PortalRequestProcessor.process(PortalRequestProcessor.java:158)
 	at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
 	at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
 	at com.liferay.portal.servlet.MainServlet.callParentService(MainServlet.java:401)
 	at com.liferay.portal.servlet.MainServlet.service(MainServlet.java:630)
 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:98)
 	at com.liferay.filters.strip.StripFilter.doFilter(StripFilter.java:88)
 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:98)
 	at com.liferay.filters.compression.CompressionFilter.doFilter(CompressionFilter.java:109)
 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:98)
 	at com.liferay.filters.secure.SecureFilter.doFilter(SecureFilter.java:150)
 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:98)
 	at com.liferay.portal.servlet.filters.virtualhost.VirtualHostFilter.doFilter(VirtualHostFilter.java:173)
 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:98)
 	at com.liferay.portal.servlet.filters.sessionid.SessionIdFilter.doFilter(SessionIdFilter.java:81)
 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 	at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
 	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
 	at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
 	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
 	at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
 	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
 	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
 	at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
 	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
 	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
 	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
 	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
 	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
 	at java.lang.Thread.run(Thread.java:619)
 
deryk.sinotte


Joined: 26/Oct/2004 00:00:00
Messages: 1008
Offline


Please provide versions of ICEfaces, Liferay, etc that you are running?

Deryk Sinotte
Team Lead
ICEsoft Technologies, Inc.
dwainwr

Joined: 01/Nov/2007 00:00:00
Messages: 16
Offline


I see exactly the same effect when I upgrade my ICEFaces jars from 1.6.0 Build 15 Revision 14409 to the latest 1.7.0-DR3a.

Following deployment -> File "/view.iface" not found
After screen refresh -> Portlet is rendered, navigation doesn't work

Downgrading the libs solves the problem. Not only do I get the above mentioned problem, there also seems to a a problem with the calendar (should be rendered as a pop-up - is rendered as a text-field after a page refresh).

Env:
Liferay 4.4
JBoss 4.2.2 + Tomcat 6
JSF 1.2RI
ICEFaces 1.6.0 / 1.7.0-DR3a
Tested with Firefox 2 (Firebug active)
Linux - Fedora Core 6

Would love to know how to fix it.

Cheers,
David.
deryk.sinotte


Joined: 26/Oct/2004 00:00:00
Messages: 1008
Offline


David, could you list the jars you are deploying with your portlet (i.e. the contents of WEB-INF/lib)?

Deryk Sinotte
Team Lead
ICEsoft Technologies, Inc.
dwainwr

Joined: 01/Nov/2007 00:00:00
Messages: 16
Offline


Hi Deryk,

Here's the list.

Cheers,
David.


backport-util-concurrent.jar
commons-beanutils.jar
commons-codec-1.3.jar
commons-collections.jar
commons-digester.jar
commons-discovery.jar
commons-el.jar
commons-fileupload.jar
commons-lang.jar
commons-logging-api.jar
commons-logging.jar
icefaces-comps.jar
icefaces-facelets.jar
icefaces.jar
jstl-1.1.2.jar
log4j.jar
lucene.jar
oscache-2.4.jar
spring-beans-2.0.2.jar
spring-context-2.0.2.jar
spring-core-2.0.2.jar
UTCService.jar
util-bridges.jar
util-java.jar
util-taglib.jar
deryk.sinotte


Joined: 26/Oct/2004 00:00:00
Messages: 1008
Offline


Sorry for the delay. Been trying to get a release out.

I guess I missed it earlier but the stacktrace from the initial entry doesn't show any com.icesoft classes handling the call. Since the .iface extension is kind of a virtual extension (there is no physical file ending in .iface - it gets mapped to .jspx), the regular JSP handler doesn't find it. Not sure why this is happening. If it works in 1.6, I assume that it is mapped correctly.

I just tried a clean copy of our component-showcase.war from 1.7 DR3a and the head of the repository and both deployed fine to Liferay 4.4 on JBoss 4.2. I was also able to add a portlet to the page without any issue.

I see from the libs you are using that you have Spring and Facelets (neither of which are used in the Component Showcase example). There might be something there. Would it be possible for you to post a simplified version of your war that I could look at?

Deryk Sinotte
Team Lead
ICEsoft Technologies, Inc.
gakumar9

Joined: 19/Nov/2007 00:00:00
Messages: 29
Offline


hi,

plz send the code, i'l find the problem.

regards
gk.
dwainwr

Joined: 01/Nov/2007 00:00:00
Messages: 16
Offline


Hi Deryk,

Here's my war. I've removed anything company specific and a bit of non-related functionality. I'm no longer seeing the stacktrace - a server restart and cache delete seemed to have cured this. Nevertheless, a few points, the calendar is not rendered as a popup and the command buttons are not working. I neither get an error message on the jboss console nor does firebug show any javascript errors which could shop the components from working. Both of these problems do not occur when I use 1.6.0. I haven't tested 1.6.2.

Cheers,
David.
 Filename demoicefacesportlet.war [Disk] Download
 Description
 Filesize 5807 Kbytes
 Downloaded:  297 time(s)

deryk.sinotte


Joined: 26/Oct/2004 00:00:00
Messages: 1008
Offline


Took me a bit to get it going (was it compiled with Java 6?).

For the pop-calendar, I believe it's working correctly but the button is being rendered as a 1px x 1px image. You may need to specifiy an image directory for it to use if you want to have your own images. The information is in the component docs found here (they are 1.6 but still relevant):

http://www.icefaces.org/docs/v1_6_0/components/index.html

The alternative is to include the ICEfaces default style sheet:

<ice:outputStyle href="/xmlhttp/css/xp/xp-portlet.css"/>

As for the navigation, you should review the portlet documentation in the 1.7 Developer's Guide. We've added an <ice:portlet> component that you should use to wrap your content.

In addition, I modified your existing navigation rules in the faces-config so that they get routed through ICEfaces like so:

<navigation-rule>
<from-view-id>/view.iface</from-view-id>
<navigation-case>
<from-outcome>Nonfunctional</from-outcome>
<to-view-id>/result.iface</to-view-id>
</navigation-case>
</navigation-rule>

Hope these tips help.


Deryk Sinotte
Team Lead
ICEsoft Technologies, Inc.
dwainwr

Joined: 01/Nov/2007 00:00:00
Messages: 16
Offline


Hi Deryk,

Thanks for the help. Great service!!

David
maxi_ng

Joined: 11/Jan/2008 00:00:00
Messages: 92
Offline


I still didn't resolve this problem yet.
I use these jar in my project.


Hibernate

hibernate3.jar

antlr-2.7.6.jar

asm.jar

c3p0-0.9.0.jar

cglib-2.1.3.jar

jta.jar

ehcache-1.2.3.jar

Spring

spring.jar

asm-2.2.3.jar

asm-commons-2.2.3.jar

asm-util-2.2.3.jar

commons-dbcp.jar

commons-pool.jar

EMS

EMS_libs.jar

Icefaces

icefaces.jar

icefaces-comps.jar

backport-util-concurrent.jar

commons-beanutils.jar

commons-digester.jar

commons-discovery.jar

commons-fileupload.jar

Mysql

mysql-connector-java-5.1.5-bin.jar
 


and I attached my .war
please help me.
 Filename ProcessRegistration.war [Disk] Download
 Description please help
 Filesize 2025 Kbytes
 Downloaded:  341 time(s)

maxi_ng

Joined: 11/Jan/2008 00:00:00
Messages: 92
Offline


This one is resolved.
just need some setting for 1.7.1beta to refresh the whole page when deploy.
agaluzzi

Joined: 06/Jun/2007 00:00:00
Messages: 4
Offline


I've found that setting <ajaxable>false</ajaxable> in liferay-portlet.xml seems to fix the 'File not found' problem. Unfortunately, the whole page refreshes whenever you drop a new portlet on the page.
maxi_ng

Joined: 11/Jan/2008 00:00:00
Messages: 92
Offline


agaluzzi you are right, this is how I deal with this problem right now.
deryk.sinotte


Joined: 26/Oct/2004 00:00:00
Messages: 1008
Offline


It's currently a necessity to refresh the page as the ICEfaces JavaScript bridge needs to execute code during window.onload. Without a page refresh, the ICEfaces portlets do not function correctly. This configuration setting is outlined in the Developer Guide when deploying to Liferay.

Deryk Sinotte
Team Lead
ICEsoft Technologies, Inc.
 
Forum Index -> Portals & Portlets Go to Page: 1, 2 Next 
Go to:   
Powered by JForum 2.1.7ice © JForum Team