Ryan, I tried as per your suggestion, but still I am getting the following exception trace in the log file
Attempt made to start the SampleMyFaces Portlet_PA_1_0_1L8 application. [12/7/05 15:58:15:532 EST] 3266d9c6 ApplicationMg A WSVR0200I: Starting application: SampleMyFaces Portlet_PA_1_0_1L8 [12/7/05 15:58:15:652 EST] 3266d9c6 WebContainer A SRVE0169I: Loading Web Module: SampleMyFaces Portlet. [12/7/05 15:58:16:043 EST] 3266d9c6 WebApp E SRVE0015E: Failure to initialize Web application SampleMyFaces Portlet [12/7/05 15:58:16:073 EST] 3266d9c6 WebGroup E SRVE0054E: An error occurred while loading Web application [12/7/05 15:58:16:083 EST] 3266d9c6 DeployedAppli W WSVR0206E: Module, PA_1_0_1L8.war, of application, SampleMyFaces Portlet_PA_1_0_1L8.ear/deployments/SampleMyFaces Portlet_PA_1_0_1L8, failed to start [12/7/05 15:58:16:083 EST] 3266d9c6 ApplicationMg W WSVR0101W: An error occurred starting, SampleMyFaces Portlet_PA_1_0_1L8 [12/7/05 15:58:16:093 EST] 3266d9c6 ApplicationMg A WSVR0217I: Stopping application: SampleMyFaces Portlet_PA_1_0_1L8 [12/7/05 15:58:16:123 EST] 3266d9c6 ApplicationMg A WSVR0220I: Application stopped: SampleMyFaces Portlet_PA_1_0_1L8 [12/7/05 15:58:16:123 EST] 3266d9c6 TraceNLS u No message text associated with key Unable.to.start:.SampleMyFaces.Portlet_PA_1_0_1L8.using:.WebSphere:platform= common,cell=UKANDASAMY-LT-XP,version=5.0,name=ApplicationManager,mbeanIdenti fier=ApplicationManager,type=ApplicationManager,node=UKANDASAMY-LT-XP,proces s=WebSphere_Portal.exception.is:.javax.management.MBeanException in bundle com.ibm.ws.management.resources.AppDeploymentMessages Something is preventing the app to be started. Is there something else I am missing other than the web.xml and portlet.xml ? Thanks, -----Original Message----- From: Ryan Wynn [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 07, 2005 11:19 AM To: MyFaces Discussion Subject: Re: MyFaces and IBM Portal On 12/7/05, Kandasamy, Uma <[EMAIL PROTECTED]> wrote: > Thanks Ryan. I will try this one. Also, does your web.xml reference any of > the sun's classes (like ConfigureListener). > Do you mind posting your web.xml ? > > -----Original Message----- > From: Ryan Wynn [mailto:[EMAIL PROTECTED] > Sent: Wednesday, December 07, 2005 10:56 AM > To: MyFaces Discussion > Subject: Re: MyFaces and IBM Portal > > > On 12/7/05, Kandasamy, Uma <[EMAIL PROTECTED]> wrote: > > All, > > > > I am having problems when trying to deploy JSR 168 portlets (built using > > MyFaces Impl) on IBM Portal 5.1. > > It could very well be a problem with IBM supporting the MyFaces JSF > > Implementation. As far as I know, the RAD tool used for creating portlets > > supports only SUN RI. The web.xml supplied by the RAD tool explicitly > > depends on the SUN's configureListener. When I tried changing that to the > > MyFaces listener, I had some class cast exception. > > > > Has any one successfully used this combination ? > > > > Thanks in advance, > > > > > > I have had success with this combination. I am using myfaces with portal > 5.1. > I started in RAD by creating an empty JSR-168 portlet (using the > wizard). Then you won't get all the sun/ibm jsf stuff imported. My > WEB-INF/lib directory looks like this > > commons-digester > commons-codec > commons-fileupload > jarkarta-oro > commons-el > commons-beanutils > commons-validator > commons-collections > jsp-api.jar > commons-lang (I don't think you need this but I have it) > myfaces-impl > myfaces-api > tomahawk > > my portlet.xml looks like this > > <?xml version="1.0" encoding="UTF-8"?> > <portlet-app > xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd" > version="1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > > xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd > http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd" > id="FrameworkPortlet.fcd7edcb60"> > > <portlet> > <portlet-name>FrameworkPortlet</portlet-name> > <display-name>FrameworkPortlet</display-name> > > <portlet-class>org.apache.myfaces.portlet.MyFacesGenericPortlet</portlet-cla > ss> > <init-param> > <name>default-view</name> > <value>/people.html</value> > </init-param> > <init-param> > <name>ViewPage</name> > <value>/people.html</value> > </init-param> > > <supports> > <mime-type>text/html</mime-type> > <portlet-mode>view</portlet-mode> > </supports> > <supported-locale>en</supported-locale> > <portlet-info> > <title>Framework Portlet</title> > </portlet-info> > </portlet> > > </portlet-app> > > > web.xml looks like any web application. > > Hope this helps. > Here is my web.xml. Some things may not apply to you as I am using shale-clay, so my views are html. I do not refer to any Sun classes. <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd"> <web-app id="WebApp_ID"> <display-name>FrameworkPortlet</display-name> <!-- Set JSF default suffix to .html for clay, usually .jsp --> <context-param> <param-name>javax.faces.DEFAULT_SUFFIX</param-name> <param-value>.html</param-value> </context-param> <!-- Faces config files --> <context-param> <param-name>javax.faces.CONFIG_FILES</param-name> <param-value>/WEB-INF/faces-config.xml</param-value> </context-param> <!-- State saving method --> <context-param> <param-name>javax.faces.STATE_SAVING_METHOD</param-name> <param-value>server</param-value> </context-param> <!-- Allow javascript --> <context-param> <param-name>org.apache.myfaces.ALLOW_JAVASCRIPT</param-name> <param-value>true</param-value> </context-param> <!-- Pretty HTML --> <context-param> <param-name>org.apache.myfaces.PRETTY_HTML</param-name> <param-value>false</param-value> </context-param> <!-- Auto scroll --> <context-param> <param-name>org.apache.myfaces.AUTO_SCROLL</param-name> <param-value>false</param-value> </context-param> <!-- MyFaces Extensions Filter --> <filter> <filter-name>extensions</filter-name> <filter-class> org.apache.myfaces.component.html.util.ExtensionsFilter </filter-class> </filter> <!-- Shale Application Controller Filter --> <filter> <filter-name>shale</filter-name> <filter-class> org.apache.shale.faces.ShaleApplicationFilter </filter-class> </filter> <!-- MyFaces Extensions Filter Mapping --> <filter-mapping> <filter-name>extensions</filter-name> <url-pattern>/*</url-pattern> </filter-mapping> <!-- Shale Application Controller Filter Mapping --> <filter-mapping> <filter-name>shale</filter-name> <url-pattern>/*</url-pattern> </filter-mapping> <!-- Startup MyFaces, not needed past MyFaces 1.1.0 --> <!-- <listener> <listener-class> org.apache.myfaces.webapp.StartupServletContextListener </listener-class> </listener> --> <!-- Faces Servlet --> <servlet> <servlet-name>Faces Servlet</servlet-name> <servlet-class>javax.faces.webapp.FacesServlet</servlet-class> <load-on-startup>1</load-on-startup> </servlet> <!-- Faces Servlet Mapping --> <servlet-mapping> <servlet-name>Faces Servlet</servlet-name> <url-pattern>/faces</url-pattern> </servlet-mapping> <!-- Faces Servlet Mapping --> <servlet-mapping> <servlet-name>Faces Servlet</servlet-name> <url-pattern>*.jsf</url-pattern> </servlet-mapping> <!-- JavaServer Faces Servlet Mapping for Clay HTML Full View --> <servlet-mapping> <servlet-name>Faces Servlet</servlet-name> <url-pattern>*.html</url-pattern> </servlet-mapping> <!-- JavaServer Faces Servlet Mapping for Clay XML Full View --> <servlet-mapping> <servlet-name>Faces Servlet</servlet-name> <url-pattern>*.xml</url-pattern> </servlet-mapping> </web-app>