We are facing an issue where my Facelet template is kept inside Ear/Lib and the UI pages under Ear/War/ are referring to it. It is failing with InvalidPath error. This was working with JBoss 6.1.
If i keep the jar containing the template page inside Ear/War/WEB-INF/lib, it works but because of of other dependencies, the jar has to be kept at Ear/lib level only.
Any help or pointers?
What i know the jars inside Ear/lib directory are always available to all the War modules inside it.
When you say template, do you mean some .xhtml file? Can you paste the complete exception stacktace and also the output of the following command against the jar file which contains that template:
java -jar <that-jar-file>.jar