It's not a problem with Tomcat.  For some reason, LifeRay is choking on this 
call in processAction of MyFacesGenericPortlet:

response.setRenderParameter(VIEW_ID, facesContext.getViewRoot().getViewId());

You might try building MyFaces with some extra debug in 
MyFacesGenericPortlet.processAction().

Stan Silvert
JBoss, Inc.
[EMAIL PROTECTED]
callto://stansilvert

> -----Original Message-----
> From: Amgad Mosleh [mailto:[EMAIL PROTECTED]
> Sent: Thursday, April 20, 2006 4:16 AM
> To: [email protected]
> Subject: MyFaces Portlet does not work. please help
> 
> Dear all
> 
> I am trying to run myfaces portlet in liferay portal using the following
> :
> 
> - Jboss-Tomcat  4.0.3SP1
> - Liferay 4.0.0
> - MyFaces portlet examlpe which has the following lib:
> 
>    commons-codec.jar --> 1.2
>    myfaces.jar -->  1.0.9rc3 (April 12 2005)
>    myfaces-extensions.jar  -->  1.0.9rc3 (April 12 2005)
>    myfaces-impl.jar  -->  1.0.9rc3 (April 12 2005)
>    myfaces-jsf-api.jar -->  1.0.9rc3 (April 12 2005)
>    myfaces-wap.jar  -->   1.0.9rc3 (April 12 2005)
>    myfaces-xdoclet.jar  -->  1.0.9rc3 (April 12 2005)
>    util-java.jar  -->  Created-By: 1.4.2_08-b03 (Sun Microsystems Inc.)
>    util-jsf.jar  -->   Created-By: 1.4.2_08-b03 (Sun Microsystems Inc.)
>    util-taglib.jar  -->  Created-By: 1.4.2_08-b03 (Sun Microsystems
> Inc.)
>    commons-el.jar -->  1.0
>    jsp-2.0.jar  -->  2.0.public_draft
> 
> The portlet is a form that has one text field (name). When the user add
> his name a welcom page must appear and the  added name will be shown.
> 
> The portlet was successfully added be liferay with no exceptions . But
> when I add a name and click on submit I got the following Exception: see
> the attached file
> 
> The portlet files are attached also with this email
> 
> I red that there is a problem when using MyFaces with Tomcat5.5.x so I
> followed the steps in (http://myfaces.apache.org/tomcat.html) :
> - Removed the     commons-el.jar and  jsp-2.0.jar from lib and started
> the portal again but no change
> 
> Please any help will be appreciated
> 
> 
> Best Regards;
> Amgad Mosleh

Reply via email to