- 
        1. Re: SEVERE: Cannot read portlet.xml jndi:/localhost/JSF2RIPortlet/WEB-INF/portlet.xmlhoang_to Jan 10, 2013 5:26 AM (in response to maran_su)Code from PortletApplicationMetadataBuilder in pc (Portlet Container) project {code:java} int version; if (PORTLET_1_0.equals(rootNS)) { md.setVersion("1.0"); version = 1; } else if (PORTLET_2_0.equals(rootNS)) { md.setVersion("2.0"); version = 2; } else { throw new StaxNavException("Illegal portlet xml namespace " + rootNS); } {code} So your xmlns must equal to: http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd OR http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd 
- 
        2. Re: SEVERE: Cannot read portlet.xml jndi:/localhost/JSF2RIPortlet/WEB-INF/portlet.xmlmaran_su Jan 10, 2013 8:46 PM (in response to hoang_to)Thanks MinnHoang , after i replaced the Xmlns to http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd in portlet.xml SEVERE: Cannot start object 
 org.gatein.pc.portlet.container.PortletInitializationException: The portlet riPortlet threw a runtime exception during init
- 
        3. Re: SEVERE: Cannot read portlet.xml jndi:/localhost/JSF2RIPortlet/WEB-INF/portlet.xmlhoang_to Jan 10, 2013 10:55 PM (in response to maran_su)Let's check the init method of your portlet class to see what cause the exception 
- 
        5. Re: SEVERE: Cannot read portlet.xml jndi:/localhost/JSF2RIPortlet/WEB-INF/portlet.xmlhoang_to Jan 11, 2013 5:15 AM (in response to maran_su)In your case, it is the call to init GenericFacesPortlet (which delegates to your own JSF stuff) that threw exception. 
 
    

 
    
