I had an issue with Liferay 4.0 (with jboss and tomcat) and My Faces too, but a different one.
My war package, which works fine in Liferay 3.6.2 (with jboss and tomcat), throws the following exception when I deploy it on Liferay 4.0: Caused by: java.lang.ClassNotFoundException: org.apache.myfaces.context.MyFacesContextFactoryImpl at java.net.URLClassLoader$1.run(URLClassLoader.java:199) I've included the following jar files in my war package: Commons-beansutils Commons-codec Commons-collections Commons-digester Commons-el Commons-fileupload Commons-logging Commons-validator Jakarta-oro >>Myfaces-api >>Myfaces-impl Sandbox Struts Tomahawk Commons-lang Jstl Portlet-api I've looked into myfaces-impl.jar and in fact there is no MyFacesContextFactoryImpl, but a FacesContextFactoryImpl. I don't know if this is a My Faces issue, since the same WAR package works fine on Liferay 3.6.2. Maybe you can help me figure out this problem. Am I missing any jar file? Marcio. -----Original Message----- From: Stan Silvert [mailto:[EMAIL PROTECTED] Sent: quinta-feira, 13 de abril de 2006 16:14 To: MyFaces Discussion Subject: RE: MyFaces Portlet does not work. please help I don't see any attachment with your email, so I can't tell what your problem is. However, do note that JBoss ships with MyFaces already installed so you don't need to include most of those jars in your war. See http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossFaces Stan Silvert JBoss, Inc. [EMAIL PROTECTED] callto://stansilvert > -----Original Message----- > From: Amgad Mosleh [mailto:[EMAIL PROTECTED] > Sent: Thursday, April 13, 2006 6:42 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

