Hi, I am trying to execute a JSF portlet using Oracle ADF faces. The portlet definition is as follows.
<portlet> | <portlet-name>MyJsfPortlet</portlet-name> | <portlet-class>org.apache.myfaces.portlet.MyFacesGenericPortlet</portlet-class> | <init-param> | <name>default-view</name> | <value>/home.jsp</value> | </init-param> | <portlet-info> | <title>Jsf Portlet</title> | </portlet-info> | <supports> | <mime-type>text/html</mime-type> | <portlet-mode>VIEW</portlet-mode> | </supports> | </portlet> I am getting an exception like this. java.lang.ClassCastException: org.jboss.portlet.JBossRenderRequest | at oracle.adfinternal.view.faces.agent.AgentFactoryImpl.createAgent(AgentFactoryImpl.java:48) | at oracle.adfinternal.view.faces.context.AdfFacesContextImpl.getAgent(AdfFacesContextImpl.java:445) | at oracle.adfinternal.view.faces.agent.AgentUtil.getAgent(AgentUtil.java:73) | at oracle.adfinternal.view.faces.renderkit.core.CoreAdfRenderingContext.<init>(CoreAdfRenderingContext.java:58) | at oracle.adfinternal.view.faces.renderkit.CoreRenderKit.encodeBegin(CoreRenderKit.java:271) | at oracle.adfinternal.view.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:149) | at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:352) | at org.apache.myfaces.portlet.MyFacesGenericPortlet.nonFacesRequest(MyFacesGenericPortlet.java:323) | at org.apache.myfaces.portlet.MyFacesGenericPortlet.nonFacesRequest(MyFacesGenericPortlet.java:298) | at org.apache.myfaces.portlet.MyFacesGenericPortlet.facesRender(MyFacesGenericPortlet.java:380) | at org.apache.myfaces.portlet.MyFacesGenericPortlet.doView(MyFacesGenericPortlet.java:266) | at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:167) | at javax.portlet.GenericPortlet.render(GenericPortlet.java:407) | at org.jboss.portal.portlet.container.PortletContainer.invokeRender(PortletContainer.java:519) | at org.jboss.portal.portlet.container.PortletContainer.dispatch(PortletContainer.java:440) | at org.jboss.portal.portlet.container.PortletContainerInvoker$1.dispatch(PortletContainerInvoker.java:143) | at org.jboss.portal.portlet.invocation.PortletInvocation.dispatch(PortletInvocation.java:242) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:140) | ...... Can anyone help me in resolving this exception... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977167#3977167 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977167 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user