[jboss-user] [JBoss Seam] - Re: Using Seam for porlet communication

jarkko@jab.fi do-not-reply at jboss.com
Fri Sep 22 09:04:43 EDT 2006


Yes, it can be dangerous but as i said this is the very naive approach ;) 

However, i'm currently (once again) trying to get Facelets work in Seam+Portlet and i'm getting these nice exceptions:

This could help me with the exception i'm currently facing:
anonymous wrote : 
  | 
  | java.lang.ClassCastException: com.liferay.portlet.RenderResponseImpl
  | 	at com.sun.facelets.FaceletViewHandler.createResponseWriter(FaceletViewHandler.java:371)
  | 	at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:557)
  | 	at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:384)
  | 	at org.apache.myfaces.portlet.MyFacesGenericPortlet.nonFacesRequest(MyFacesGenericPortlet.java:322)
  | 	at org.apache.myfaces.portlet.MyFacesGenericPortlet.nonFacesRequest(MyFacesGenericPortlet.java:297)
  | 	at org.apache.myfaces.portlet.MyFacesGenericPortlet.facesRender(MyFacesGenericPortlet.java:379)
  | 	at org.apache.myfaces.portlet.MyFacesGenericPortlet.doView(MyFacesGenericPortlet.java:265)
  | 	at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:235)
  | 	at javax.portlet.GenericPortlet.render(GenericPortlet.java:163)
  | 	at com.liferay.portal.kernel.servlet.PortletServlet.service(PortletServlet.java:89)
  | 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
  | 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
  | 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | 	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
  | 	at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
  | 	at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
  | 	at com.liferay.portlet.CachePortlet._invoke(CachePortlet.java:295)
  | 	at com.liferay.portlet.CachePortlet.render(CachePortlet.java:155)
  | 	at org.apache.jsp.html.portal.render_005fportlet_jsp._jspService(render_005fportlet_jsp.java:708)
  | 	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
  | 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
  | 	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
  | 	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
  | 	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
  | 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
  | 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
  | 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | 	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
  | 	at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
  | 	at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
  | 	at com.liferay.portal.util.PortalUtil.renderPortlet(PortalUtil.java:948)
  | 	at com.liferay.portlet.layoutconfiguration.util.RuntimePortletUtil.processPortlet(RuntimePortletUtil.java:123)
  | 	at com.liferay.portlet.layoutconfiguration.util.velocity.PortletColumnLogic.processContent(PortletColumnLogic.java:76)
  | 	at com.liferay.portlet.layoutconfiguration.util.velocity.TemplateProcessor.processColumn(TemplateProcessor.java:58)
  | 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | 	at java.lang.reflect.Method.invoke(Method.java:585)
  | 	at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:267)
  | 	at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:197)
  | 	at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:175)
  | 	at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:220)
  | 	at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230)
  | 	at org.apache.velocity.app.Velocity.evaluate(Velocity.java:316)
  | 	at org.apache.velocity.app.Velocity.evaluate(Velocity.java:210)
  | 	at com.liferay.portlet.layoutconfiguration.util.RuntimePortletUtil.processTemplate(RuntimePortletUtil.java:165)
  | 	at com.liferay.portlet.layoutconfiguration.util.RuntimePortletUtil.processTemplate(RuntimePortletUtil.java:146)
  | 	at org.apache.jsp.html.portal.layout.view.portlet_jsp._jspService(portlet_jsp.java:414)
  | 	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
  | 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
  | 	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
  | 	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
  | 	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
  | 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
  | 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
  | 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | 	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
  | 	at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
  | 	at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
  | 	at com.liferay.taglib.util.IncludeTag.doEndTag(IncludeTag.java:63)
  | 	at org.apache.jsp.html.portal.layout_jsp._jspService(layout_jsp.java:417)
  | 	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
  | 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
  | 	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
  | 	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
  | 	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
  | 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
  | 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
  | 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | 	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
  | 	at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
  | 	at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
  | 	at com.liferay.taglib.util.IncludeTag.doEndTag(IncludeTag.java:63)
  | 	at org.apache.jsp.html.themes.classic.templates.portal_005fnormal_jsp._jspService(portal_005fnormal_jsp.java:1024)
  | 	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
  | 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
  | 	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
  | 	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
  | 	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
  | 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
  | 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
  | 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | 	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
  | 	at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
  | 	at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
  | 	at com.liferay.taglib.util.ThemeUtil.includeJSP(ThemeUtil.java:139)
  | 	at com.liferay.taglib.util.ThemeUtil.include(ThemeUtil.java:93)
  | 	at com.liferay.taglib.util.IncludeTag.doEndTag(IncludeTag.java:58)
  | 	at org.apache.jsp.html.common.themes.portal_jsp._jspx_meth_liferay$1theme_include_1(portal_jsp.java:555)
  | 	at org.apache.jsp.html.common.themes.portal_jsp._jspx_meth_c_otherwise_0(portal_jsp.java:527)
  | 	at org.apache.jsp.html.common.themes.portal_jsp._jspService(portal_jsp.java:433)
  | 	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
  | 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
  | 	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
  | 	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
  | 	at org.apache.jasper.servlet.JspServlet.service(J
  | 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3973553#3973553

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3973553



More information about the jboss-user mailing list