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>
 
(is this correct?)
 
 
 
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.1.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
com.ibm.ws.webcontainer.webapp.WebApp
 
            at
org.apache.portals.bridges.jsf.FacesContextFactoryImpl.getFacesContext(F
acesContextFactoryImpl.java:52)
 
Is there anyone who has done this succesfully and can give us tips?
 
Freya
 

 

Reply via email to