I'd like to start this post apologizing if my problem is a too simple one, but I've read many posts and tutorials til I get here and stuck in a point from where I can't get out.
My problem started when I tried to deploy a modularized JSF app, as described here: Modular Web Apps with JSF2
As you can see in the comments (the last ones) of the refered post, I had some problems, but those one were solved. I could make a simple example of a modularized app based on the concept exposed on the refered post, but it only works on JBoss 7.1.2, not in JBoss 6.1.0. So I'm discarding a problem in the application and assuming the problem is in JBoss 6.1.0.
As long as JBoss 6 already supports JSF 2 (it uses by default 2.0.3) the example should work, am I wrong?.
I read about a bug that was noticed in Mojarra 2.0.3, and updated the JBoss implementation of Mojarra, as detailed here (Jboss 6 upgrading JSF): http://entjavastuff.blogspot.com.br/2010/07/migrating-to-jboss-51-from-jboss-42x.html. I used Mojarra 2.1.9. Even with this update it doesn't work properly.
I attached the exemple projects. Here you can see the projects:
When the main application is executed on JBoss 6.1.0 I get this exception when trying to access the modules pages:
com.sun.faces.context.FacesFileNotFoundException: /modulo1.xhtml Not Found in ExternalContext as a Resource
I'd really like to continue using JBoss 6.1.0, 'cause moving to JBoss 7 now would require a time I don't have at the moment.
Any ideas of what's going wrong? Any help is appreciated.
ModularJSF.zip 48.4 KB