Tiwari, Sunil Kumar <c_stiwar <at> qualcomm.com> writes: > > I tried it again with a simpler web application. I converted "blank.war" > (it is part of myfaces-examples downloaded from apache site) into a > portlet but still getting the same error while adding it to a page. > > The stack trace in jetspeed.log file is as follow: > > 2006-01-17 12:53:57,226 [http-8080-Processor23] DEBUG > org.apache.jetspeed.aggregator.impl.PageAggregatorImpl - Rendering > portlet fragment: [[name, blank::blank], [id, P-108da253283-10000]] > 2006-01-17 12:53:57,226 [http-8080-Processor23] DEBUG > org.apache.jetspeed.aggregator.impl.RenderingJobImpl - Rendering OID > P-108da253283-10000 > org.apache.jetspeed.engine.servlet.ServletRequestImpl <at> 1eec0c5 > org.apache.jetspeed.aggregator.impl.HttpBufferedResponse <at> 1b1dd12 > 2006-01-17 12:53:57,246 [http-8080-Processor23] ERROR > org.apache.jetspeed.factory.JetspeedPortletFactory - Cannot create > Portlet instance org.apache.myfaces.portlet.MyFacesGenericPortlet for > Portlet Application blank > java.lang.ClassCastException > at > org.apache.jetspeed.factory.JetspeedPortletFactory.getPortletInstance(Je > tspeedPortletFactory.java:204) > > The MyFacesGenericPortlet.class is in /WEB_INF/lib/myfaces-impl.jar. I > put it in common/lib also. >
Sunil, I played around with JSF, myfaces and jetspeed 2 way back in September. I *think* I recall running into some classpath issues with different JSF implementations. Make sure that you haven't mixed the Sun JSF and MyFaces implementations somehow... --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
