All of these examples are bundled as a WAR archives. But i need the EAR application with some WAR'a and JAR's inside.
I was trying to do it by myself but i had some difficulties to deploy application like that. For example:
1. JAR archives (in EAR) was not deployed by container.
2. WAR and JAR dependencies was not set correctly.
That is why i ask You for example.
There isn't anything different when it comes to .ear deployments. The .ear can contain libraries in .ear/lib and also EJB/WAR deployments at the root of the .ear. If you are running into any issues deploying your .ear please post the entire details including any exception stacktraces.
The first problem is:
Caused by: com.sun.faces.config.ConfigurationException: java.lang.IllegalArgumentException: No SchemaFactory that implements the schema language specified by: http://www.w3.org/2001/XMLSchema could be loaded
for all WAR from examples and my sample aplications.
Jboss as 7 CR1
JAVA_HOME environment variable was set to wrong folder.