Hi,
Thanks for your reply.
my application uses Jboss Seam that requires JSF RI (which JBOSS already holds) and not MyFaces.
I don't hold in my ".ear" file any JSF implementation because I want my application to use those of JBOSS.
When I run my app without any other app every thing goes well.
The problem starts when the other application that run on the same JBOSS (without ear file, just a folder) uses MyFaces
and then there is a conflict in the class loaders that causes my exception.
I need a way to force JBOSS to use it's JSF RI jars for my application instead of using the MyFaces jars of the other application for my application.
In the meanwhile I found some clues that might solve this:
1. The other application should be packed in ".ear" file and that the MyFaces jars will be part of the ".ear" file.
2. consider using "hierarchical classloader" (or Isolation) with JBoss (jboss-app.xml, jboss-web.xml). see also:
http://community.jboss.org/wiki/ClassLoadingConfiguration
3. add the following to my application web.xml (but this wasn't enough):