Hi guys, I am trying to deploy RichFaces portlet on Jboss Portal for about 2 days I've read everything I could find on the Internet with no success. I hope You will be able to help me.
I am using JBoss Portal 2.6.2.GA with bundled JBoss AS RichFaces 3.1.2.GA portlet-3.1.2.GA web.xml | .... | <context-param> | <param-name>org.ajax4jsf.VIEW_HANDLERS</param-name> | <param-value>org.ajax4jsf.portlet.application.PortletViewHandler</param-value> | </context-param> | .... | portlet.xml | .... | <portlet-name>Portlet</portlet-name> | <portlet-class>org.ajax4jsf.portlet.AjaxFacesPortlet</portlet-class> | <init-param> | <name>default-view</name> | <value>/pages/menu.jsp</value> | </init-param> | <init-param> | <name>ViewPage</name> | <value>/pages/menu.jsp</value> | </init-param> | | <!-- disable portlet caching --> | <expiration-cache>-1</expiration-cache> | .... | faces-config.xml | .... | <render-kit> | <renderer> | <description>override the viewroot</description> | <component-family>javax.faces.ViewRoot</component-family> | <renderer-type>javax.faces.ViewRoot</renderer-type> | <renderer-class> | org.ajax4jsf.portlet.renderkit.portlet.PortletAjaxViewRootRenderer | </renderer-class> | </renderer> | </render-kit> | | <application> | <view-handler> | org.ajax4jsf.portlet.application.PortletViewHandler | </view-handler> | | <state-manager> | org.ajax4jsf.portlet.application.PortalStateManager | </state-manager> | </application> | | <managed-bean> | <managed-bean-name>ajaxContext</managed-bean-name> | <managed-bean-class>org.ajax4jsf.portlet.PortletAjaxContext</managed-bean-class> | <managed-bean-scope>request</managed-bean-scope> | </managed-bean> | .... | Portlet successfully deploys, but when viewed the Portal throws an exception: | javax.portlet.PortletException: Error processing execute lifecycle | at org.ajax4jsf.portlet.AjaxFacesPortlet.doView(AjaxFacesPortlet.java:191) | at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:133) | at javax.portlet.GenericPortlet.render(GenericPortlet.java:306) | | ...... | | javax.faces.FacesException: java.lang.NullPointerException | at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:306) | at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144) | at org.ajax4jsf.portlet.AjaxFacesPortlet.render(AjaxFacesPortlet.java:256) | at org.ajax4jsf.portlet.AjaxFacesPortlet.doView(AjaxFacesPortlet.java:175) | at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:133) | at javax.portlet.GenericPortlet.render(GenericPortlet.java:306) | | .... | Thanks in advance! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4103258#4103258 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4103258 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user