I'm currently trying to get JSF2 working on a Netweaver 7.3 AS Java. I want to integrate Apache myfaces and another jsf library called primefaces.
I add the two myfaces libraries myfaces-impl.jar and myfaces-api.jar (and also the primefaces.jar) to the JEE Module dependencies of my EAR project (name: TestEAR) and checked the "In Lib Dir" option.
In my "Dynamic Web Project" (name: Test) I added a file called test.xhtml (containing simple jsf script) to the web-inf folder and also adjusted the web.xml for JSF usage.
The builded EAR file looks good, it contains the selected libraries as well as the dynamic web project. The deployment to the SAP AS Java also finishes with status OK. When I open the application using the context root I get an error message that goes like "File [test.jsp] is not found in application root of alias [Test] of Java EE application [.../TestEAR]."
The message suggests, that JSF 1.2 is used instead of the bundled JSF2 libraries (I cross-checked this assumption deleting the included jsf libraries => that leads to the same error message, so the application server doesn't care about my libs).
What am I missing here? Is there a possiblity to have the server use the bundled libraries instead of the default ones? (I have in mind the jboss web.xml parameter org.jboss.jbossfaces.WAR_BUNDLES_JSF_IMPL). How can I achieve the usage of JSF2?
Thanks in advance!