Addition: I changed to portals-bridges-jsf-1.0.1 and now nested
exception is:
Caused by: javax.faces.FacesException: Unsupported context type
com.ibm.ws.webcontainer.webapp.WebApp
at
org.apache.portals.bridges.jsf.FacesContextFactoryImpl.getFacesContext(F
acesContextFactoryImpl.java:52)
________________________________
From: Freya Impens
Sent: woensdag 24 januari 2007 9:21
To: '[email protected]'
Subject: MyFaces app on Websphere Portal 5.1
Hello
We are trying to deploy a MyFaces/JSF app on Websphere Portal Server
5.1. I followed steps on MyFaces wiki to deploy on WPS5.1. So I added to
the portlet.xml file this entry:
<portlet-class>
org.apache.myfaces.portlet.MyFacesGenericPortlet
</portlet-class>
And I added the portal bridges jar files (all 4 of them:
portals-bridges-common-1.0.jar, portals-bridges-frameworks-1.0.jar,
portals-bridges-jsf-1.0.jar, portals-bridges-portletfilter-1.0.jar; is
this the way to go?) to the WEB-INF/lib of the application.
The application deploys but when I load the portlet I get this
exception:
Caused by: javax.faces.FacesException: Unsupported context type
org.apache.pluto.core.impl.PortletContextImpl
at
org.apache.portals.bridges.jsf.FacesContextFactoryImpl.getFacesContext(F
acesContextFactoryImpl.java:58)
at
org.apache.myfaces.portlet.MyFacesGenericPortlet.facesContext(MyFacesGen
ericPortlet.java:343)
at
org.apache.myfaces.portlet.MyFacesGenericPortlet.nonFacesRequest(MyFaces
GenericPortlet.java:318)
at
org.apache.myfaces.portlet.MyFacesGenericPortlet.nonFacesRequest(MyFaces
GenericPortlet.java:297)
at
org.apache.myfaces.portlet.MyFacesGenericPortlet.facesRender(MyFacesGene
ricPortlet.java:379)
at
org.apache.myfaces.portlet.MyFacesGenericPortlet.doView(MyFacesGenericPo
rtlet.java:265)
I have no idea where this pluto-portlet context comes from?
Any ideas?
Thank you!
Freya